Comment 20 for bug 150252

Revision history for this message
Anon Sricharoenchai (anon-hui) wrote : Re: [Bug 150252] Re: [master] tasksel removes all Ubuntu-desktop dependencies without confirmation dialog

On 3/24/09, Colin Watson <email address hidden> wrote:
> On Tue, Mar 24, 2009 at 02:32:14PM -0000, Anon Sricharoenchai wrote:
> > I mean, it is resolved by,
> > 1. changing the program logic in tasksel?, or by
> > 2. remove the common and/or library packages from the tasks (such as,
> > lamp task)?
>
>
> (1). I fixed the logic in tasksel to avoid removing packages when
> they're still required by other installed tasks. Option (2) would have
> been rather more difficult to maintain and isn't necessary.
>

Why is it difficult to maintain?
Just put the final (leaf) packages in the task, for example,
lamp task could only consist of,

   apache, mysql-server, php,

rather than,

   apache, apache-common, mysql-server, mysql-common, libmysql, ...

Is there any problem with this approach?