Package: base-files
Version: 7.5
Severity: normal
User: [email protected]
Usertags: origin-kali

In the context of a derivative distribution (Kali), I had failures with
cdebootstrap. They look like this:

P: Configuring package base-files
D: Updating base-files to status 3
O: chown: invalid user: 'root:root'
O: dpkg: error processing package base-files (--configure):
O:  subprocess installed post-installation script returned error exit status 1
[...]
O: Setting up base-passwd (3.5.33) ...
P: Configuring package base-passwd
D: Updating base-passwd to status 3
O: Use of uninitialized value in concatenation (.) or string at 
/usr/share/perl5/Debconf/Config.pm line 22.
[...]
O: dpkg: dependency problems prevent configuration of bash:
O:  bash depends on base-files (>= 2.1.12); however:
O:   Package base-files is not configured yet.
O: 
O: dpkg: error processing package bash (--configure):
O:  dependency problems - leaving unconfigured

When googling for this problem I came upon this bugreport explaining that
the order of the configuration between base-files and base-passwd is not
set in stone and might vary depending on which order packages are listed
in the Packages file:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601670

So debootstrap is immune to this problem just because it manually configures
base-passwd before base-files. We could probably also fix cdeboostrap in a
similar way but cdebootstrap is actually relying on apt/dpkg to let them
configure the packages in the right order and maybe the better fix is thus
to add a "Depends: base-passwd" on base-files so that the two packages are
configured in the correct order. I just deployed such a fix in Kali and it
works well.

I'm ccing the cdebootstrap and base-passwd maintainers in case they want to
voice an opinion too.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages base-files depends on:
ii  gawk [awk]  1:4.1.1+dfsg-1
ii  mawk [awk]  1.3.3-17

base-files recommends no packages.

base-files suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to