A fix has been committed to the debian-sid repository

------------------------------------------------------------
revno: 2120
revision-id: [email protected]
parent: [email protected]
fixes bug(s): http://bugs.debian.org/150831 https://launchpad.net/bugs/244598
committer: Julian Andres Klode <[email protected]>
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:


** Bug watch added: Debian Bug tracker #150831
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150831

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

Title:
  "apt-get purge" should not select another package (when the requested
  one is not installed but provided by another one)

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to