[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#352267: apt-get --purge remove dbus-1 purges far too much



tags 352267 moreinfo unreproducible
severity 352267 normal
thanks

On Fri, Feb 10, 2006 at 08:46:26PM +0000, Greg Kochanski wrote:
> I intended to purge dbus-1 so I could make sure that the config
> files were the Debian defaults.   I intended to re-install
> dbus-1 immediately afterwards.  So, I did
> apt-get --purge dbus-1

> I expected this to purge dbus-1.    I expected that other packages
> would be removed (because they depend on dbus-1), but not purged.

Well, that's an incorrect assumption; for a package to be purged, packages
depending on it must also be purged.

> Lo and Behold, a dozen packages were purged.    The darn thing
> didn't even stop to ask me!

Well, I *definitely* can't reproduce this.  If I try to purge a package that
has reverse-dependencies installed on the system, I get this:

# apt-get --purge remove samba-common
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  libpam-smbpass* linpopup* samba* samba-common* smbclient* smbfs* swat* winbind*
0 upgraded, 0 newly installed, 8 to remove and 36 not upgraded.
Need to get 0B of archives.
After unpacking 29.7MB disk space will be freed.
Do you want to continue [Y/n]?
#

Which explicitly lists all the packages to be removed.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: