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

Bug#366018: pre-installation script returned error exit status 10



Package: xserver-xorg
Version: 1:7.0.15
Severity: grave

Hi,

installing xserver-xorg always fails in the DEBIAN/config script:

Unpacking xserver-xorg (from .../xserver-xorg_1%3a7.0.15_all.deb) ...
dpkg: error processing /var/cache/apt/archives/xserver-xorg_1%3a7.0.15_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 10
Errors were encountered while processing:
 /var/cache/apt/archives/xserver-xorg_1%3a7.0.15_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The reason for this is that "set -e" is set and a lot of db_get calls
are missing a "|| true" behind them and abort the script if the value
is unset. Adding "|| true" to all db_get, db_fget and db_getmeta calls
makes the script work.

MfG
	Goswin


-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.16-rc4-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



Reply to: