diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-08 14:28:09 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-08 14:28:09 +0000 |
commit | be1a53d6b4c54d18f97188ba0db7b258a60ba9ac (patch) | |
tree | 21b3798c60c278688c6f4fe1d7b716056bbb485f /gurpmi2 | |
parent | c49b7811881db1afc6c69e1056bc06bc58213f0f (diff) | |
download | urpmi-be1a53d6b4c54d18f97188ba0db7b258a60ba9ac.tar urpmi-be1a53d6b4c54d18f97188ba0db7b258a60ba9ac.tar.gz urpmi-be1a53d6b4c54d18f97188ba0db7b258a60ba9ac.tar.bz2 urpmi-be1a53d6b4c54d18f97188ba0db7b258a60ba9ac.tar.xz urpmi-be1a53d6b4c54d18f97188ba0db7b258a60ba9ac.zip |
Fix a regression (introduced in urpm.pm revision 1.579) : the packages that
obsoleted older packages were installed as 'install', not as 'upgrade', thus
rpm wasn't attempting to deinstall the old package.
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -240,7 +240,7 @@ sub do_install_3 () { sync(); }, ); - my %transaction_sources_install = %{$urpm->extract_packages_to_install(\%transaction_sources) || {}}; + my %transaction_sources_install = %{$urpm->extract_packages_to_install(\%transaction_sources, $state) || {}}; if (!$urpm->{options}{'verify-rpm'} || grep { $_->{'verify-rpm'} } @{$urpm->{media}}) { my @bad_signatures = $urpm->check_sources_signatures(\%transaction_sources_install, \%transaction_sources, translate => 1); if (@bad_signatures) { |