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

Bug#57318: libc6 upgrade fails



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

package: libc6

version: 2.1.3-1

When i try to upgrade libc6 through dselect the package fails.

Here is the transcript:

Configuring packages ...
Setting up libc6 (2.1.3-1) ...
Current default timezone: 'Australia/Perth'.
   Local time is now:      Tue Feb  8 14:10:12 WST 2000.
   Universal Time is now:  Tue Feb  8 06:10:12 UTC 2000.
Run 'tzconfig' if you wish to change it.
/etc/init.d/devpts.sh: line 66: syntax error: unexpected end of file
dpkg: error processing libc6 (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am running a frozen potato system. Output from uname -a shows
Linux <host> 2.2.13 #4 SMP <compile time>
libc version is libc-2.1.3.so

The contents of devpts.sh is as follows.

#! /bin/sh
set -e

. /etc/default/devpts

[ `uname -s` = "Linux" ] || exit 0

make_devptmx()
{
    [ -c /dev/ptmx ] || mknod --mode=666 /dev/ptmx c 5 2
}

make_devpts()
{
    [ -d /dev/pts ] || mkdir --mode=755 /dev/pts
{

mount_devpts_fs()
{
    mount -t devpts devpts /dev/pts -ogid=${TTYGRP},mode=${TTYMODE}
}

devfs=$(grep -c devfs /proc/filesystems || true)
devpts=$(grep -c devpts /proc/filesystems || true)
devpts_mounted=$(mount | grep -c devpts || true)

release=$(uname -r)
tail=${release#*.*.}
major_release=${release%.${tail}}
minor_release=${tail%%[-.]*}

if [ $devfs -eq 1 ]; then
    solution=devfs
elif [ $devpts -eq 1 ]; then
    solution=devpts
else
    solution=none
fi
case ${major_release} in
    2.[23456789] | 3.*)
	# Have 
	case $solution in
	    devfs)
		:
	    ;;
	    devpts)
		# devpts
		# create /dev/ptmx and /dev/pts dir.
		make_devptmx
		make_devpts
		# mount devpts fs on /dev/pts
		# maybe mountall.sh mounted it already, so check.
		if [ $devpts_mounted -lt 1 ]
		then
		    mount_devpts_fs
		fi
	    ;;
	    none)
		:
	    ;;
	esac
    ;;
    *)
    ;;
esac

I hope this is enough information.

regards,

Steve Kelly


- ---------------------------------------------------
*** Stephen Kelly      | Ph(08) 9360 6638
*** Webmaster, TLC     | Fx(08) 9310 4929
*** Murdoch University | Mb 041 986 9804
*** Perth, WA 6150     | steve@cleo.murdoch.edu.au
- ---------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1i for non-commercial use <http://www.pgpi.com/>

iQA/AwUBOJ9DYwVmzRD46DmXEQIj/QCgvs085fLbdslLyKZmbVaJiwvHNfUAni6f
jpN7jdXrIhduqY25lGVNhZeI
=xb6R
-----END PGP SIGNATURE-----


Reply to: