[Aptitude-devel] Bug#661188: aptitude purge <package> recursively REMOVES BUT DOES NOT PURGE the unneeded dependencies of <package>

Georgiy Treyvus georgiytreyvus at gmail.com
Fri Feb 24 21:32:51 UTC 2012


package: aptitude
version: 0.6.3

The problem is exactly what the subject line suggests. There is a simple
workaround of passing --purge to aptitude purge but that looks and feels
ridiculous. Anyway let my terminal do the talking:


georgiy at PANTHER:~$ su
Password:
root at PANTHER:/home/georgiy# aptitude install byobu
The following NEW packages will be installed:
  byobu python-newt{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/150 kB of archives. After unpacking 995 kB will be used.
Do you want to continue? [Y/n/?] y
Preconfiguring packages ...
Selecting previously deselected package python-newt.
(Reading database ... 155478 files and directories currently installed.)
Unpacking python-newt (from .../python-newt_0.52.11-1_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.80-1+squeeze1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-newt (0.52.11-1) ...
Processing triggers for python-central ...
Setting up byobu (2.80-1+squeeze1) ...

root at PANTHER:/home/georgiy# # NOTICE HERE HOW python-newt IS REMOVED BUT
NOT PURGED
root at PANTHER:/home/georgiy# aptitude purge byobuThe following packages will
be REMOVED:
  byobu{p} python-newt{u}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 995 kB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 155600 files and directories currently installed.)
Removing byobu ...
Purging configuration files for byobu ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
(Reading database ... 155490 files and directories currently installed.)
Removing python-newt ...

root at PANTHER:/home/georgiy# aptitude install byobu
The following NEW packages will be installed:
  byobu python-newt{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/150 kB of archives. After unpacking 995 kB will be used.
Do you want to continue? [Y/n/?] y
Preconfiguring packages ...
Selecting previously deselected package python-newt.
(Reading database ... 155478 files and directories currently installed.)
Unpacking python-newt (from .../python-newt_0.52.11-1_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.80-1+squeeze1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-newt (0.52.11-1) ...
Processing triggers for python-central ...
Setting up byobu (2.80-1+squeeze1) ...

root at PANTHER:/home/georgiy# # NOW NOTICE HOW PASSING --purge TO purge HAS
THE CORRECT BEHAVIOR OF PURGING AS WELL AS REMOVING python-newt
root at PANTHER:/home/georgiy# aptitude purge --purge byobuThe following
packages will be REMOVED:
  byobu{p} python-newt{pu}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 995 kB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 155600 files and directories currently installed.)
Removing byobu ...
Purging configuration files for byobu ...
Removing python-newt ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...

root at PANTHER:/home/georgiy#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20120224/314d745e/attachment.html>


More information about the Aptitude-devel mailing list