Bug#417689: tried 'tasksel install desktop' in a installed system, it did remove 119 packages
I upgraded a sarge system to etch; I wanted to be sure
I was not missing some important desktop utilities and files; so I issued
# tasksel install desktop
that in turn ran
# debconf-apt-progress -- aptitude -q --without-recommends -y install ~t^desktop$ ~t^gnome-desktop$
that then called
# aptitude -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -q --without-recommends -y install ~t^desktop$ ~t^gnome-desktop$
that proceeded to delete 119 packages to my system, w/o asking.
The problem is that, in aptitude, --without-recommends
triggers the removal of automatically installed packages
that are recommends and not depends: so it should be avoided.
It would be better if 'tasksel' avoided passing -q -y
to aptitude, and/or if it would ask before deleting 119 packages
and/or if it did not use --without-recommends
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Versions of packages tasksel depends on:
ii aptitude 0.4.4-4 terminal-based apt frontend
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii liblocale-gettext-perl 1.05-1 Using libc functions for internati
ii tasksel-data 2.66 Official tasks used for installati
tasksel recommends no packages.
-- debconf information:
"The EULA sounds like it was written by a team of lawyers who want to tell
me what I can't do, and the GPL sounds like it was written by a human
being who wants me to know what I can do."