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

Bug#339482: /etc/init.d/glibc.sh: /etc/rcS.d/S01glibc.sh: line 153: dpkg: command not found



Package: libc6
Version: 2.3.5-12
Followup-For: Bug #339482

Hello,

during startup of my system I get the following error message:

    /etc/rcS.d/S01glibc.sh: line 153: dpkg: command not found

This is caused by the fact that the S01glibc.sh script tries to execute
the command

    if [ "$realarch" = x86_64 ] \
	&& [ "`dpkg --print-architecture`" = amd64 ]
    then
	...
    fi

before /usr is mounted and thus before dpkg is available.
Maybe the corresponding warning message

    WARNING: POSIX threads library NPTL requires 2.6 and
    later kernel on amd64.  If you use 2.4 kernel, please
    upgrade your kernel before installing glibc.

should be moved to the NEWS.Debian files instead?

I hope this helps,
Jochen

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.6
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

-- no debconf information



Reply to: