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

Bug#235855: xfree86 suite pre-init scripts bug



Package: xfree86-common
Version: 4.3.0-3

Most of the recent packages from xfree86 suite (version 4.3.0-3) have broken pre-init scripts. They crash badly if /bin/sh shell is linked to dash. Since dash is a POSIX compliant shell, that means, that these scripts do not strictly conform to a POSIX Bourne shell standard. After linking /bin/sh to /bin/bash, the packages installed successfully. As far as I can remember, there was no such problem in 4.3.0-2 version or earlier, so the bug must have been introduced in the latest version of the packages. Note that I've had /bin/sh linked to dash for some time and successfully installed 4.3.0-2 before. My suggestion is to either explicitely use /bin/bash as an interpreter for pre-init scripts (does the Debian policy allow it?) or make the scripts POSIX Bourne shell compliant. Below come the errors that occur during the installation. Sorry for some Polish messages - the ones of your most intrest are fortunately in English. It seems that there's a bracket missing or something.

 Preconfiguring packages ...
/tmp/xfree86-common.config.22201: 610: Syntax error: end of file unexpected (expecting ")")
nie udało się skonfigurować xfree86-common, kod wyjścia: 2
/tmp/xserver-common.config.22203: 765: Syntax error: end of file unexpected (expecting ")")
nie udało się skonfigurować xserver-common, kod wyjścia: 2
/tmp/xserver-xfree86.config.22205: 1703: Syntax error: end of file unexpected (expecting ")")
nie udało się skonfigurować xserver-xfree86, kod wyjścia: 2
(Odczytywanie bazy danych ... 58484 plików i katalogów obecnie zainstalowanych.) Przygotowanie do zastąpienia xfree86-common 4.3.0-2 (wykorzystując .../xfree86-common_4.3.0-3_all.deb) ... /var/lib/dpkg/tmp.ci/preinst: 631: Syntax error: end of file unexpected (expecting ")") dpkg: błąd przetwarzania /var/cache/apt/archives/xfree86-common_4.3.0-3_all.deb (--unpack):
podproces pre-installation script zwrócił kod błędu 2
/var/lib/dpkg/tmp.ci/postrm: 618: Syntax error: end of file unexpected (expecting ")")
dpkg: błąd podczas czyszczenia środowiska:
podproces post-removal script zwrócił kod błędu 2
Przygotowanie do zastąpienia xlibs-data 4.3.0-2 (wykorzystując .../xlibs-data_4.3.0-3_all.deb) ... /var/lib/dpkg/tmp.ci/preinst: 610: Syntax error: end of file unexpected (expecting ")") dpkg: błąd przetwarzania /var/cache/apt/archives/xlibs-data_4.3.0-3_all.deb (--unpack):
podproces pre-installation script zwrócił kod błędu 2
/var/lib/dpkg/tmp.ci/postrm: 610: Syntax error: end of file unexpected (expecting ")")
dpkg: błąd podczas czyszczenia środowiska:
podproces post-removal script zwrócił kod błędu 2
Przygotowanie do zastąpienia libx11-6 4.3.0-2 (wykorzystując .../libx11-6_4.3.0-3_i386.deb) ... /var/lib/dpkg/tmp.ci/preinst: 611: Syntax error: end of file unexpected (expecting ")") dpkg: błąd przetwarzania /var/cache/apt/archives/libx11-6_4.3.0-3_i386.deb (--unpack):
podproces pre-installation script zwrócił kod błędu 2
/var/lib/dpkg/tmp.ci/postrm: 615: Syntax error: end of file unexpected (expecting ")")
dpkg: błąd podczas czyszczenia środowiska:
podproces post-removal script zwrócił kod błędu 2
Przygotowanie do zastąpienia libxt6 4.3.0-2 (wykorzystując .../libxt6_4.3.0-3_i386.deb) ... /var/lib/dpkg/tmp.ci/preinst: 611: Syntax error: end of file unexpected (expecting ")") dpkg: błąd przetwarzania /var/cache/apt/archives/libxt6_4.3.0-3_i386.deb (--unpack):
podproces pre-installation script zwrócił kod błędu 2
/var/lib/dpkg/tmp.ci/postrm: 615: Syntax error: end of file unexpected (expecting ")")
dpkg: błąd podczas czyszczenia środowiska:
podproces post-removal script zwrócił kod błędu 2
Przygotowanie do zastąpienia xbase-clients 4.3.0-2 (wykorzystując .../xbase-clients_4.3.0-3_i386.deb) ... /var/lib/dpkg/tmp.ci/preinst: 639: Syntax error: end of file unexpected (expecting ")") dpkg: błąd przetwarzania /var/cache/apt/archives/xbase-clients_4.3.0-3_i386.deb (--unpack):
podproces pre-installation script zwrócił kod błędu 2
/var/lib/dpkg/tmp.ci/postrm: 623: Syntax error: end of file unexpected (expecting ")")
dpkg: błąd podczas czyszczenia środowiska:
podproces post-removal script zwrócił kod błędu 2
Przygotowanie do zastąpienia xserver-common 4.3.0-2 (wykorzystując .../xserver-common_4.3.0-3_i386.deb) ... /var/lib/dpkg/tmp.ci/config: 765: Syntax error: end of file unexpected (expecting ")") dpkg: błąd przetwarzania /var/cache/apt/archives/xserver-common_4.3.0-3_i386.deb (--unpack):

--
With kind regards,
Szymon Juraszczyk
szymon@juraszczyk.com





Reply to: