This shell fragment should do the same job:
DEPS=""; for pkg in ubuntu-desktop kubuntu-desktop edubuntu-desktop
xubuntu-desktop edubuntu-server ubuntu-minimal ubuntu-standard; do if
dpkg -s $pkg >/dev/null 2>&1 ; then for dep in $(apt-cache depends $pkg
--installed | awk '{print $2}'); do if [ ! -z $dep ]; then DEPS="$DEPS
$dep"; fi; done; fi; done; apt-get install $DEPS
(also less elegant)
--
apt wants to autoremove packages i explicitly installed
https://launchpad.net/bugs/86921
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs