- Revert change from r249, pure install instead of upgrade breaks obsolete
authorpmatilai <pmatilai>
Thu, 24 Aug 2006 17:16:56 +0000 (17:16 +0000)
committerpmatilai <pmatilai>
Thu, 24 Aug 2006 17:16:56 +0000 (17:16 +0000)
  processing of rpm. Back to broken progress meters, sigh.

apt-pkg/rpm/rpmpm.cc

index 5136f35..4953be0 100644 (file)
@@ -308,12 +308,7 @@ bool pkgRPMPM::Go()
            else
               upgrade.push_back(I->File.c_str());
         } else {
-           // perform pure installs on non-installed normal packages, not upgrades
-           if (I->Pkg->CurrentVer != 0) {
-              upgrade.push_back(I->File.c_str());
-           } else {
-              install.push_back(I->File.c_str());
-           }
+           upgrade.push_back(I->File.c_str());
         }
         install_or_upgrade.push_back(I->File.c_str());
         pkgs_install.push_back(I->Pkg);