There is a VERY good question and answer here: Should I use tasksel, tasks in APT or install regular metapackages? (which incidentally I got to from here: What's the easiest way to set up a LAMP stack?)
My problem is I just don't quite understand the (accepted and only and GOOD) answer and would like clarification. Specifically with regards to the final three points:
sudo apt-get install kubuntu-desktop
- Will install the metapackage kubuntu-desktop. Dependencies are "auto installed".
sudo apt-get install kubuntu-desktop^
- Will select all packages tagged with task "kubuntu-desktop". That are all dependencies of metapackage kubuntu-desktop. They all are marked as "manually installed".
sudo tasksel install kubuntu-desktop
- Make sure X is installed before installing packages of task. Will install the metapackage kubuntu-desktop. Dependencies are "auto installed".
My question has nothing to do with
kubuntu-desktop in actual fact I'm looking at
lamp-server but don't think it is overly relevant (but clarified just in case).
My initial understanding of the above blockquote is that by having each individual package labelled as "manually installed" would be more desirable since you wouldn't lose "auto installed" dependant packages if you uninstalled/removed something and didn't specifically want to remove the dependencies, but on the other hand could leave "clumps" of packages around if you did manually uninstall after having used option 2.
Question: Am I correct in that assumption? (removing individual components after a
apt-get would leave dependencies behind even after an
And even after reading the answer MANY times, I'm still not clear on what the better solution is.