Package: dwm
Version: 4.0-1-1
Severity: normal

A postinst script seems to be broken.  I get this error:

(4.0-1.1 ist stock dwm with my own config.h applied.)

,----
| Preparing to replace dwm 4.0-1.1 (using ../dwm_4.0-1.1_i386.deb) ...
| Unpacking replacement dwm ...
| Setting up dwm (4.0-1.1) ...
| update-alternatives: name x-window-manager is both primary and slave
| 
| Usage: update-alternatives [<option> ...] <command>
| 
| Commands:
|   --install <link> <name> <path> <priority>
|     [--slave <link> <name> <path>] ...
|                            add a group of alternatives to the system.
|   --remove <name> <path>   remove <path> from the <name> group alternative.
|   --remove-all <name>      remove <name> group from the alternatives system.
|   --auto <name>            switch the master link <name> to automatic mode.
|   --display <name>         display information about the <name> group.
|   --list <name>            display all targets of the <name> group.
|   --config <name>          show alternatives for the <name> group and ask the
|                            user to select which one to use.
|   --set <name> <path>      set <path> as alternative for <name>.
|   --all                    call --config on all alternatives.
| 
| <link> is the symlink pointing to /etc/alternatives/<name>.
|   (e.g. /usr/bin/pager)
| <name> is the master name for this link group.
|   (e.g. pager)
| <path> is the location of one of the alternative target files.
|   (e.g. /usr/bin/less)
| <priority> is an integer; options with higher numbers have higher priority in
|   automatic mode.
| 
| Options:
|   --altdir <directory>     change the alternatives directory.
|   --admindir <directory>   change the administrative directory.
|   --test                   don't do anything, just demonstrate.
|   --verbose                verbose operation, more output.
|   --quiet                  quiet operation, minimal output.
|   --help                   show this help message.
|   --version                show the version.
| dpkg: error processing dwm (--install):
|  subprocess post-installation script returned error exit status 2
| Errors were encountered while processing:
|  dwm
`----

Same with wmii.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.2
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dwm depends on:
ii  libc6                         2.5-1      GNU C Library: Shared libraries
ii  libx11-6                      2:1.0.3-7  X11 client-side library

Versions of packages dwm recommends:
ii  dwm-tools                     20-1       dynamic window manager (tools)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to