Bug#182320: libc6 postinst breaks file-rc
Package: libc6
Version: 2.3.1-13
Severity: normal
Tags: sid
/var/lib/dpkg/info/libc6.postinst: line 53: cd: /etc/rcS.d: No such file or directory
dpkg: error processing libc6 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)
I use file-rc.
/var/lib/dpkg/info/libc6.postinst:=
25 # Borrowed from sysvinit's postinst.
26 # Function like update-rc.d but simpler & faster.
27 # Usage: updatercd basename start|stop NN runlevel .
28 #
29 # Uses the real update-rc.d if file-rc is detected.
30 #
31 updatercd() {
32
33 if [ -d /usr/share/file-rc/. ]
34 then ^^^^^^^^^^^^^^^^^^^^
....
maybe that should be [ -d /usr/lib/file-rc/. ] ? or even better, just use update-rc.d
in either case...
(za@martian:za)$ dpkg -L file-rc
/.
/usr
/usr/lib
/usr/lib/file-rc
/usr/lib/file-rc/rc
/usr/lib/file-rc/rcS
/usr/lib/file-rc/update-rc.d
/usr/lib/file-rc/invoke-rc.d
/usr/lib/file-rc/rclink2file.sh
/usr/lib/file-rc/rcfile2link.sh
/usr/share
/usr/share/doc
/usr/share/doc/file-rc
/usr/share/doc/file-rc/README
/usr/share/doc/file-rc/README.Debian
/usr/share/doc/file-rc/copyright
/usr/share/doc/file-rc/changelog.gz
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/runlevel.conf.5.gz
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux martian 2.4.20-pre11-ben0 #4 Sun Nov 3 04:39:05 GMT 2002 ppc
Locale: LANG=en_GB.ISO8859-1, LC_CTYPE=en_GB.ISO8859-1
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Reply to: