Bug#587046: tasksel: forcefully removes packages when tasks overlap
Subject: Tasksel forcefully removes packages when tasks overlap
Steps to reproduce problem:
1. Use tasksel (or aptitude) to install the tasks ~t^desktop,
~t^gnome-desktop and ~t^laptop
2. Use tasksel to uninstall the ~t^laptop task
Result: The packages wpasupplicant, network-manager, and
network-manager-gnome are removed, all of which are also part of the
Blabbering ("more info"):
It seems like tasksel simply removes every package defined in a task
when said task is unmarked, regardless if packages are manually
installed or part of other tasks.
One bad scenario is a user installing something via tasksel and then
removes the same thing again, in which case more than was installed by
the task in the first place may be uninstalled upon its removal.
In Ubuntu this problem is a bit more pronounced, since the overlap of
tasks is much larger and much more common. See
my original report regarding this in ubuntu.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages tasksel depends on:
ii aptitude 0.6.1.5-3 terminal-based package
ii debconf [debconf-2.0] 1.5.32 Debian configuration
ii liblocale-gettext-perl 1.05-6 Using libc functions for
ii tasksel-data 2.81 Official tasks used for
tasksel recommends no packages.
tasksel suggests no packages.
-- debconf information:
tasksel/first: Standard system utilities
tasksel/tasks: Graphical desktop environment, Mail server, Laptop