A fix has been committed to the debian-sid repository

------------------------------------------------------------
revno: 2120
revision-id: j...@debian.org-20110421101805-k4uvabuj6m2866vf
parent: j...@debian.org-20110421092552-x8xokgukd930evjm
fixes bug(s): http://bugs.debian.org/150831 https://launchpad.net/bugs/244598
committer: Julian Andres Klode <j...@debian.org>
branch nick: debian-sid
timestamp: Thu 2011-04-21 12:18:05 +0200
message:
  Make purge work again for config-files (LP: #244598) (Closes: #150831)
diff:
=== modified file 'apt-pkg/depcache.cc'
--- apt-pkg/depcache.cc 2011-04-18 08:56:37 +0000
+++ apt-pkg/depcache.cc 2011-04-21 10:18:05 +0000
@@ -550,7 +550,7 @@
    if (Pkg->CurrentVer == 0)
    {
       if (State.Mode == ModeDelete &&
-        (State.iFlags | Purge) == Purge && Pkg.Purge() == false)
+        (State.iFlags & Purge) == Purge && Pkg.Purge() == false)
   iDelCount += Add;

       if (State.Mode == ModeInstall)

=== modified file 'debian/changelog'
--- debian/changelog    2011-04-21 09:25:52 +0000
+++ debian/changelog    2011-04-21 10:18:05 +0000
@@ -2,6 +2,7 @@

   * apt-pkg/depcache.cc:
     - Really release action groups only once (Closes: #622744)
+ - Make purge work again for config-files (LP: #244598) (Closes: #150831)
   * debian/apt.cron.daily:
     - Check power after wait, patch by manuel-soto (LP: #705269)
   * doc/apt-key.8.xml:

** Changed in: apt (Ubuntu)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/244598

Title:
  Apt will not purge deinstalled/removed packages (unlike "dpkg -P")

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to