tags 352267 -moreinfo unreproducible thanks On Fri, Feb 10, 2006 at 11:33:00PM +0000, Greg Kochanski wrote:
> >On Fri, Feb 10, 2006 at 08:46:26PM +0000, Greg Kochanski wrote:
> >>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.
> Not so. They must be either removed OR purged; there is no special
> need for them to be purged.
I'll leave this for the apt maintainers to respond to, as I can't actually
think of a technical reason why having one's dependencies purged vs. removed
makes a difference for purging of one's own package.
> >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.
> Yes, it says REMOVED, not PURGED. It did not remove them, it purged
> them. It did not inform the user what it was going to do.
> A user who actually reads the man page and knows the difference between
> remove and purge would be rather upset after he agrees to the removal
> (in the expectation that the packages can be easily restored),
> and finds that they are actually purged.
Um, no, a user who actually reads the manpage should have read *this*:
--purge
Use purge instead of remove for anything that would be
removed. An asterisk ("*") will be displayed next to packages
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
which are scheduled to be purged. Configuration Item:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
APT::Get::Purge.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature

