[Gutsy] wmii installs dwm and bad symlink /etc/alternatives/x-window-manager

Bug #153898 reported by Pawel Tecza
4
Affects Status Importance Assigned to Milestone
wmii (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: wmii

wmii installs dwm because of dwm-tools dependency:

ptecza@anahaim:~$ sudo aptitude install wmii
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  dwm dwm-tools wmii-doc
The following NEW packages will be installed:
  dwm dwm-tools wmii wmii-doc
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/302kB of archives. After unpacking 868kB will be used.
Do you want to continue? [Y/n/?]

Could you please fix that? I know that dwm also is fine dynamic window
manager, but I want to use only my favourite wmii :)

I've also noticed bad symlink /etc/alternatives/x-window-manager:

ptecza@anahaim:~$ ls -l /etc/alternatives/x-window-manager
lrwxrwxrwx 1 root root 12 Oct 18 15:03 /etc/alternatives/x-window-manager -> /usr/bin/dwm

I guess that problem is related to installation of dwm.

Revision history for this message
Noah Medling (noah-medling) wrote :

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

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.

Daniel T Chen (crimsun)
Changed in wmii:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.