Bug#57577: devpts.sh: unexpected end of file (patch included)
Package: libc6
Version: 2.1.3
When upgrading libc6 while doing an 'apt-get update && apt-get
dist-upgrade' there is an error when dpkg configures libc6 (i.e. in the
post-install stage).
The culprit is in /etc/init.d/devpts.sh in line 16 at the end of the
function make_devpts. The curly opening brace should really be a closing
one.
This bug is present in the last three versions of the libc6 package.
Below is a unified diff that fixes the problem.
regards,
Dirk
Libc6 version:
dweigena:/tmp# dpkg --list libc6
Desired=Unknown/Install/Remove/Purge
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libc6 2.1.3-1 GNU C Library: Shared libraries and
Timezone
--- devpts.sh.orig Tue Feb 8 19:30:44 2000
+++ devpts.sh Tue Feb 8 19:30:27 2000
@@ -13,7 +13,7 @@
make_devpts()
{
[ -d /dev/pts ] || mkdir --mode=755 /dev/pts
-{
+}
mount_devpts_fs()
{
PS: It fixes bug report #57195.
Reply to: