[Pkg-shadow-devel] Bug#319138: passwd: install fails: shadowconfig not found

Marc Haber mh+debian-bugs at zugschlus.de
Wed Jul 20 05:57:42 UTC 2005


Package: passwd
Version: 1:4.0.3-38
Severity: normal

Hi,

passwd purged. apt-get install passwd:
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  passwd
0 upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
Need to get 0B/511kB of archives.
After unpacking 1544kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 17809 files and directories currently installed.)
Unpacking passwd (from .../passwd_1%3a4.0.3-38_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: line 33: shadowconfig: command not found
dpkg: error processing
/var/cache/apt/archives/passwd_1%3a4.0.3-38_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/passwd_1%3a4.0.3-38_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Judging from the dpkg manpage, preinst is executed before unpack. So
you cannot use programs from your package in preinst. Or at least, you
cannot fail if programs from your package ar not yet there.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages passwd depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpam-modules              0.76-23      Pluggable Authentication Modules f
ii  libpam0g                    0.76-23      Pluggable Authentication Modules l
ii  login                       1:4.0.3-38   system login tools

passwd recommends no packages.

-- debconf information excluded




More information about the Pkg-shadow-devel mailing list