[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#363079: marked as done (x11-common postinst fails about broken test)



Your message dated Mon, 17 Apr 2006 15:05:57 +0100
with message-id <1145282757.18912.13.camel@kaa.jungle.aubergine.my-net-space.net>
and subject line Bug#363079: x11-common postinst fails about broken test
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: x11-common
Version: 7.0.12
Severity: serious
Tags: patch

The postinst script fails:

# dpkg -i x11-common_1%3a7.0.12_amd64.deb
(Reading database ... 76526 files and directories currently installed.)
Preparing to replace x11-common 1:7.0.10 (using x11-common_1%3a7.0.12_amd64.deb) ...
Unpacking replacement x11-common ...
Setting up x11-common (7.0.12) ...
/var/lib/dpkg/info/x11-common.postinst: line 918: [: too many arguments
Setting up X server socket directory /tmp/.X11-unix....
Setting up ICE socket directory /tmp/.ICE-unix....

Suggested patch:

--- debian/x11-common.postinst.in~      2006-04-15 18:33:45.000000000 +0200
+++ debian/x11-common.postinst.in       2006-04-17 15:16:42.000000000 +0200
@@ -50,7 +50,7 @@
   fi
 fi

-if [ ! -L -e -d "/usr/X11R6/bin" ]; then
+if ! [ -L "/usr/X11R6/bin" ] && [ -d "/usr/X11R6/bin" ]; then
   rmdir "/usr/X11R6/bin" || die "Could not remove /usr/X11R6/bin. Is not yet empty. Please remove any items still in the directory. You can move them back after the install has completed successfully."
 fi
 if ! [ -e "/usr/X11R6/bin" ]; then



Regards

Harri


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 7.0.13

On Mon, 2006-04-17 at 15:28 +0200, Harald Dunkel wrote:
> Package: x11-common
> Version: 7.0.12
> Severity: serious
> Tags: patch
> 
> The postinst script fails:
> 
> # dpkg -i x11-common_1%3a7.0.12_amd64.deb
> (Reading database ... 76526 files and directories currently installed.)
> Preparing to replace x11-common 1:7.0.10 (using x11-common_1%3a7.0.12_amd64.deb) ...
> Unpacking replacement x11-common ...
> Setting up x11-common (7.0.12) ...
> /var/lib/dpkg/info/x11-common.postinst: line 918: [: too many arguments

Thanks for the report. This is fixed in 7.0.13, which was uploaded
earlier on today.

Regards,

Adam

--- End Message ---

Reply to: