clone 413339 -1
reassign -1 fvwm1
retitle -1 fvwm1: installs alternative in /usr/bin/X11, breaks sarge->etch
upgrades
kthxbye
On Sun, Mar 4, 2007 at 13:06:47 +0100, Bill Allombert wrote:
> Package: x11-common
> Version: 1:7.1.0-13
> Severity: serious
>
> Hello X Strike Force,
>
> here is hopefully the last issues with the sarge to etch upgrade:
> dpkg: error processing
> /var/cache/apt/archives/x11-common_1%3a7.1.0-13_i386.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/x11-common_1%3a7.1.0-13_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> # ls -l /usr/X11R6/bin/
> total 36
> lrwxrwxrwx 1 root root22 Mar 4 08:38 fvwm -> /etc/alternatives/fvwm
> -rwxr-xr-x 1 root root 6001 Apr 21 2003 hamsoft
> lrwxrwxrwx 1 root root25 Mar 4 08:38 hanterm ->
> /etc/alternatives/hanterm
> -rwxr-xr-x 1 root root 27080 Aug 18 2003 phototk
> lrwxrwxrwx 1 root root31 Mar 4 08:37 tkworld ->
> ../../share/tkworld/tkWorld.tcl
>
Thanks, I'll add a conflict on phototk and tkworld.
> # ls -l /etc/alternatives/fvwm /etc/alternatives/hanterm
> /usr/share/tkworld/tkWorld.tcl
> lrwxrwxrwx 1 root root 18 Mar 4 08:38 /etc/alternatives/fvwm ->
> /usr/bin/X11/fvwm1
> lrwxrwxrwx 1 root root 23 Mar 4 09:46 /etc/alternatives/hanterm ->
> /usr/bin/X11/hanterm-xf
> -rwxr-xr-x 1 root root 4244 Dec 13 1999 /usr/share/tkworld/tkWorld.tcl
>
> It seems alternatives pointing to /usr/bin/X11/ breaks. Maybe
> the link /usr/bin/X11/ is removed before the alternatives ?
>
Either that, or fvwm1 is configured before x11-common is unpacked.
[..looks..]
Actually, fvwm1's prerm doesn't seem to run update-alternatives --remove
on upgrades, which means that the link is never removed from
/usr/X11R6/bin/.
Also, the manpage link for x-window-manager seems to be broken (the
postinst refers to /usr/X11R6/man/man1/fvwm1.1x.gz, while the manpage
seems to be installed as /usr/share/man/man1/fvwm1.1).
Cheers,
Julien
signature.asc
Description: Digital signature