Package: libuuid1
Version: 1.40.11-1
Severity: important
Tags: patch
[..]
Setting up libuuid1 (1.40.11-1) ...
/etc/adduser.conf: 15: GROUPHOMES: not found
dpkg: error processing libuuid1 (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
libuuid1
E: Sub-process /usr/bin/dpkg returned an error code (1)
[..]
When the post-install script runs, it fails to run /etc/adduser.conf, if found
something like
[..]
GROUPHOMES = no
[..]
this is because the line is not valid shell syntax, but it is valid according
to the adduser.conf(5)
"Each line holds a single value pair in the form option = value. Double or
single quotes are allowed around the value, as is whitespace around the equals
sign."
Adjunt a pathc to read the needed values from /etc/adduser.conf
Sorry for my English :)
Cheers // Saludos
nueces...
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (900, 'unstable'), (300, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.25-2-powerpc
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libuuid1 depends on:
ii libc6 2.7-12 GNU C Library: Shared libraries
ii passwd 1:4.1.1-2 change and administer password and
Versions of packages libuuid1 recommends:
pn uuid-runtime <none> (no description available)
-- no debconf information
--- libuuid1.postinst.orig 2008-06-21 17:42:12.000000000 -0300
+++ libuuid1.postinst 2008-06-21 17:56:13.000000000 -0300
@@ -2,13 +2,18 @@
set -e
+ADDUSERCONF='/etc/adduser.conf'
+
FIRST_SYSTEM_UID=100
LAST_SYSTEM_UID=999
FIRST_SYSTEM_GID=100
LAST_SYSTEM_GID=999
-if test -f /etc/adduser.conf; then
- . /etc/adduser.conf
+if test -f $ADDUSERCONF; then
+ FIRST_SYSTEM_UID=$(sed -n
"s/^[[:space:]]*FIRST_SYSTEM_UID[[:space:]]*=[[:space:]]*[\"']\?\([^\"']*\)[\"']\?/\1/p"
$ADDUSERCONF)
+ LAST_SYSTEM_UID=$(sed -n
"s/^[[:space:]]*LAST_SYSTEM_UID[[:space:]]*=[[:space:]]*[\"']\?\([^\"']*\)[\"']\?/\1/p"
$ADDUSERCONF)
+ FIRST_SYSTEM_GID=$(sed -n
"s/^[[:space:]]*FIRST_SYSTEM_GID[[:space:]]*=[[:space:]]*[\"']\?\([^\"']*\)[\"']\?/\1/p"
$ADDUSERCONF)
+ LAST_SYSTEM_GID=$(sed -n
"s/^[[:space:]]*LAST_SYSTEM_GID[[:space:]]*=[[:space:]]*[\"']\?\([^\"']*\)[\"']\?/\1/p"
$ADDUSERCONF)
fi
groupadd -f -K GID_MIN=$FIRST_SYSTEM_GID -K GID_MAX=$LAST_SYSTEM_GID libuuid