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

Bug#587046: tasksel: forcefully removes packages when tasks overlap

Subject: Tasksel forcefully removes packages when tasks overlap
Package: tasksel
Version: 2.81
Severity: normal

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
~t^gnome-desktop task.

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
https://bugs.edge.launchpad.net/ubuntu/+source/tasksel/+bug/574287 for
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              terminal-based package
manager (te
ii  debconf [debconf-2.0]         1.5.32     Debian configuration
management sy
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
  tasksel/desktop: gnome

Reply to: