]> git.saurik.com Git - apt.git/commitdiff
* cmdline/apt-get.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 14 Sep 2007 14:50:07 +0000 (16:50 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 14 Sep 2007 14:50:07 +0000 (16:50 +0200)
  - do not change the auto-installed information if a package
    is reinstalled (LP: #139448)

* cmdline/apt-get.cc:
  - do not change the auto-installed information if a package
    is reinstalled

README.arch
cmdline/apt-get.cc
debian/changelog

index 92870d614a244dd4d5c9c4d13ee147444550e4b4..364e940a4bbc789b26b0afb0fe01cbfcc1375825 100644 (file)
@@ -1,7 +1,7 @@
 
 You can build apt from arch, but this needs the following additional
 packages (in addtion to the usual build-depends):
-xmlto perlsgml sgml2x sgmlspl docbook
+autoconf automake xmlto perlsgml sgml2x sgmlspl docbook
 
 then run:
 
index 9389e7010a13d8eb38e2f36eb7972fab993c4310..2cd2516bdb6d3f046a983617833dca78b65d0c6c 100644 (file)
@@ -1708,7 +1708,8 @@ bool DoInstall(CommandLine &CmdL)
            // where foo is marked automatic
            if(!Remove && 
               Cache[Pkg].Install() == false && 
-              (Cache[Pkg].Flags & pkgCache::Flag::Auto))
+              (Cache[Pkg].Flags & pkgCache::Flag::Auto) &&
+              _config->FindB("APT::Get::ReInstall",false) == false)
            {
               ioprintf(c1out,_("%s set to manual installed.\n"),
                        Pkg.Name());
@@ -2498,6 +2499,7 @@ bool DoBuildDep(CommandLine &CmdL)
                            break;
                  }
                  if (CV.end() == true)
+                {
                   if (hasAlternatives)
                   {
                      continue;
@@ -2510,6 +2512,7 @@ bool DoBuildDep(CommandLine &CmdL)
                                            Last->BuildDepType((*D).Type),Src.c_str(),
                                            (*D).Package.c_str());
                   }
+                }
             }
             else
             {
index c1b1f567605a70153ad1ce0e964a26da2a4b22ca..a53b68501141e2f4356802c9edc6ac1fda833582 100644 (file)
@@ -9,7 +9,10 @@ apt (0.7.6ubuntu9) gutsy; urgency=low
     - move unattended-upgrade before apt-get autoclean
   * fix "purge" commandline argument, closes LP: #125733
     (thanks to Julien Danjou for the patch)
-
+  * cmdline/apt-get.cc:
+    - do not change the auto-installed information if a package
+      is reinstalled (LP: #139448)
+  
  -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 11 Sep 2007 20:55:00 +0200
 
 apt (0.7.6ubuntu8) gutsy; urgency=low
@@ -104,6 +107,9 @@ apt (0.7.6ubuntu1) gutsy; urgency=low
     - move unattended-upgrade before apt-get autoclean
   * fix "purge" commandline argument, closes: #133421
     (thanks to Julien Danjou for the patch)
+  * cmdline/apt-get.cc:
+    - do not change the auto-installed information if a package
+      is reinstalled
 
   [ Ian Jackson ]
   * dpkg-triggers: Deal properly with new package states.