tasksel: forcefully removes packages when tasks overlap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned | ||
tasksel (Debian) |
Fix Released
|
Unknown
|
|||
tasksel (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
TEST CASE
1. Boot Lucid LiveCD
2. run "sudo tasksel" and select "virtual machine host"
3. run "sudo tasksel" and deselect "virtual machine host"
4. watch how tasksel uninstalls your system
OBSERVATIONS
What seems to happen is that apt vengefully removes ALL of the items associated with one task, including several base dependencies of other tasks (e.g. ubuntu-desktop)
One illustrative example is the openssh-server task:
This one includes the packages openssh-server, tcpd and libwrap0.
From a normal ubuntu-desktop (e.g. ~liveCD) both tcpd and libwrap0 are already installed, and the task-install pulls in only openssh-server.
However when the task is removed, all these three packages (openssh-server, tcpd and libwrap0) are forcefully removed.
Since libwrap0 is a core dependency of gnome, a large part of gnome will be removed alongside the removal of the task.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in tasksel (Debian): | |
status: | Unknown → New |
summary: |
- tasksel uninstalled my system! + tasksel: forcefully removes packages when tasks overlap |
Changed in tasksel (Ubuntu): | |
assignee: | nobody → young-sin (d-yd-tls) |
Changed in tasksel (Ubuntu): | |
assignee: | young-sin (d-yd-tls) → nobody |
tags: | added: testcase |
Changed in tasksel (Ubuntu): | |
assignee: | nobody → benjamin (varghese-benjamin09) |
Changed in tasksel (Ubuntu): | |
assignee: | nobody → jeevithan (jeevithan1990) |
status: | Confirmed → In Progress |
Changed in tasksel (Debian): | |
status: | New → Fix Released |
Changed in apt (Ubuntu): | |
status: | Invalid → Confirmed |
assignee: | nobody → ola aljundi (ola-jundi) |
Changed in tasksel (Ubuntu): | |
assignee: | nobody → ola aljundi (ola-jundi) |
Changed in apt (Ubuntu): | |
assignee: | ola aljundi (ola-jundi) → nobody |
Changed in tasksel (Ubuntu): | |
assignee: | ola aljundi (ola-jundi) → nobody |
Changed in apt (Ubuntu): | |
status: | Confirmed → Invalid |
tags: | added: bionic focal hirsute impish jammy rls-jj-incoming xenial |
tags: | removed: rls-jj-incoming |
tags: | added: rls-jj-incoming |
tags: |
added: rls-kk-incoming removed: rls-jj-incoming |
tags: | added: fr-1988 |
tags: | removed: rls-kk-incoming |
Changed in apt (Ubuntu): | |
status: | Invalid → Incomplete |
status: | Incomplete → Invalid |
Can confirm same problem on a Lucid virtualbox install.
Does not happen on one virtualbox Karmic install.
Likely dependent on state of packages on system.