Comment 2 for bug 153898

Revision history for this message
Pawel Tecza (ptecza) wrote : Re: [Bug 153898] Re: [Gutsy] wmii installs dwm and bad symlink /etc/alternatives/x-window-manager

Noah Medling <email address hidden> writes:

> I don't think the first is really a bug; aptitude automatically fetches
> recommended packages, which dwm happens to be. Try the following command
> instead:
>
> sudo aptitude --without-recommends install wmii

Thanks a lot for the hint! I didn't think about it.

But in my opinion a problem still exists, because some wmii users
will have incorrect x-window-manager symlink, if --with-recommends
is a default option for aptitude in Ubuntu.

Do we always know what package (dwm or wmii) will be installed
as first package? If not, then debconf should display warning
about the bad x-window-manager symlink and how to fix it. If so
and the second package is wmii, then postinstall script should
fix the improper symlink automagically.