Bug#574570: libc6: Checking for services that need to be restarted fails
Package: libc6
Version: 2.10.2-6
Severity: important
Upgrading from libc6-2.7-18lenny2 to libc6-2.10.2-6 fails to restart the
services that require a restart on upgrade. A number of errors are output
to the console:
Setting up libc6 (2.10.2-6) ...
Checking for services that may need to be restarted...
Checking init scripts...
Usage: /etc/init.d/cron {start|stop|restart|reload|force-reload}.
/var/lib/dpkg/info/libc6.postinst: line 165: [: missing `]'
postfix is running.
/var/lib/dpkg/info/libc6.postinst: line 165: [: missing `]'
Usage: /etc/init.d/rsync {start|stop|reload|force-reload|restart}
/var/lib/dpkg/info/libc6.postinst: line 165: [: missing `]'
Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}
/var/lib/dpkg/info/libc6.postinst: line 165: [: missing `]'
sshd is running.
/var/lib/dpkg/info/libc6.postinst: line 165: [: missing `]'
Nothing to restart.
I'm not sure whether this is an error caused by the postinst for 2.7-18lenny2,
or by the new 2.10.2-6.
Cheers,
Peter Dey
-- System Information:
Debian Release: 5.0.4
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6 depends on:
ii libc-bin 2.10.2-6 Embedded GNU C Library: Binaries
ii libgcc1 1:4.3.2-1.1 GCC support library
libc6 recommends no packages.
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
pn glibc-doc <none> (no description available)
ii locales 2.10.2-6 Embedded GNU C Library: National L
-- debconf information:
glibc/upgrade: true
glibc/disable-screensaver:
glibc/restart-failed:
glibc/restart-services:
Reply to: