** Description changed: - Binary package hint: tasksel + When removing tasks, tasksel simply removes all packages listed for that + task. This fails badly in some cases because many tasks have substantial + overlap, so removing one task can inadvertently take out others. This is + compounded because sometimes tasksel believes that a task is to be + removed when it isn't, particularly when tasks share key packages. - I was trying to install a LAMP server on my Ubuntu Gutsy 64bit using tasksel. - I have launched the command tasksel from a root shell and the tasksel menu appears. Two lines where already checked, Ubuntu desktop and Print server. I have checked LAMP server and then press OK. + I fixed this in tasksel 2.73ubuntu17 in Jaunty, with a further + performance optimisation in 2.73ubuntu18. I'm proposing this pair of + changes as stable updates. Here are the changes made in Jaunty: - 541 packages has been removed without prompting any confirmation dialog - after this operation. I think that it have removed all the ubuntu- - desktop and print server dependencies and also other graphical packages, - maybe restoring a default server installation? + http://bazaar.launchpad.net/~ubuntu-core-dev/tasksel/ubuntu/revision/1402 + http://bazaar.launchpad.net/~ubuntu-core-dev/tasksel/ubuntu/revision/1406 - The only error that tasksel have printed during the operation was: - "Use o uninitialized value in concatenation (.) or string at /usr/bin/tasksel line 349" + Here are the changes for hardy-proposed and intrepid-proposed. Note that + I'm fixing bug 236257 at the same time because it contributes to this + problem: the clashing descriptions can make tasksel incorrectly believe + that one or the other task is to be removed. - In order to restore the system I have to set up the network from scratch - manually with the shell and doing an "apt-get install ubuntu-desktop". - This operation restored only 432 packages. In order to restore the other - 109 packages I have to make a diff from the list of packages removed and - after reinstalled from dpkg.log. + http://bazaar.launchpad.net/~ubuntu-core-dev/tasksel/hardy- + proposed/revision/1354?compare_revid=1349 - I hope that at least a confirmation dialog will be implemented in order - to avoid these problems! + http://bazaar.launchpad.net/~ubuntu-core-dev/tasksel/intrepid- + proposed/revision/1388?compare_revid=1383 + + TEST CASE: On Hardy, an easy way to verify this is to install the mail- + server and print-server tasks, and then use 'sudo tasksel -t' to test + removal of just one of those tasks; the openssl package is common to + both, so if this bug is present then it will be removed even if you only + remove one of mail-server or print-server. On Intrepid, you can conduct + the same test by installing the openssh-server and virt-host tasks; the + openssh-server package is common to both. I would recommend also + conducting a test similar to that in the original report, namely on a + system with the ubuntu-desktop task installed; try installing and + removing tasks with 'sudo tasksel -t' and make sure that the commands + produced are reasonable representations of what you asked for. + + I can't think of a great deal in the way of regression potential outside + the scope of things that will be tested as part of verifying this + update. tasksel is not all that widely used outside initial + installation.
-- [master] tasksel removes all Ubuntu-desktop dependencies without confirmation dialog https://bugs.launchpad.net/bugs/150252 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs