[Bug 541438] Re: "apt-get purge" Selects another package when the requested package is not installed, but is provided by another package.

Daniel Hahler launchpad at thequod.de
Tue Jan 17 16:28:37 UTC 2012


Evan, in comment #7 comment #6 was stated to be meant for another bug.

Current state in Precise (apt 0.8.16~exp5ubuntu14.2) is that "remove" also selects another package.
I cannot say if previously only "purge" was misbehaving, but here we go:

% sudo apt-get install php5-mhash                         Ubuntu precise (i686)
[...]
Note, selecting 'php5-common' instead of 'php5-mhash'

% sudo apt-get remove php5-mhash                          Ubuntu precise (i686)
[...]
Note, selecting 'php5-common' instead of 'php5-mhash'

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

Title:
  "apt-get purge" Selects another package when the requested package is
  not installed, but is provided by another package.

Status in “apt” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: apt

  I have tried purging "php5-mhash", which has been removed in Lucid
  (via Conflicts).

  "apt-get purge" selected php5-common instead (which now provides
  php5-mhash) and wanted to purge this package!

  Apt-get should handle this the same way as any non-installed package, i.e. currently it would say the package is uninstalled and cannot get purged therefore (which is bug 244598).
  But in the end, it should just purge the given package, just like "dpkg -P" would do.

  ProblemType: Bug
  Architecture: i386
  Date: Thu Mar 18 19:57:25 2010
  DistroRelease: Ubuntu 10.04
  NonfreeKernelModules: nvidia
  Package: apt 0.7.25.3ubuntu3
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
  SourcePackage: apt
  Uname: Linux 2.6.32-16-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/541438/+subscriptions




More information about the foundations-bugs mailing list