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

Bug#362859: marked as done (/var/lib/dpkg/info/x11-common.postinst: line 918: [: too many arguments)

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: 1:7.0.12
Severity: normal
Tags: patch

I think this is what you were looking for.

--- debian/x11-common.postinst.in.old   2006-04-16 01:25:57.000000000 +0100
+++ debian/x11-common.postinst.in       2006-04-16 01:29:01.000000000 +0100
@@ -50,7 +50,7 @@

-if [ ! -L -e -d "/usr/X11R6/bin" ]; then
+if [ ! -L "/usr/X11R6/bin" ] && [ -e "/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."
 if ! [ -e "/usr/X11R6/bin" ]; then

Take care,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF8)

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0]         1.4.72     Debian configuration management sy
ii  debianutils                   2.15.5     Miscellaneous utilities specific t
ii  laptop-detect                 0.12.1     attempt to detect a laptop
ii  lsb-base                      3.1-3      Linux Standard Base 3.1 init scrip

x11-common recommends no packages.

-- debconf information:
* x11-common/xwrapper/nice_value: -10
* x11-common/xwrapper/allowed_users: Console Users Only
  x11-common/xwrapper/actual_allowed_users: console

--- 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.



--- End Message ---

Reply to: