Package: dash
Version: 0.5.5.1-2
Severity: critical

I just tested a d-i installation of unstable, and debootstrap failed
because dash was unable to install as it should.  dash is now a
dependency of bash, and this was thus a fatal error.  The problem seem
to be that the /etc/shells file is missing when dash is being
configured.  I'm making this a RC bug, as it would make it impossible
to install debian if it stay this way until Squeeze is released.

The dash package calls add-shells, which is part of the debianutils
package, and this script seem unable to handle a missing /etc/shells.
I suspect the correct fix is to list debianutils as a dependency of
dash, to make sure it create /etc/shells before add-shells is called
by dash.

Here are the relevant messages from d-i syslog:

Jul 22 09:06:41 debootstrap: Selecting previously deselected package dash.
Jul 22 09:06:41 debootstrap: Unpacking dash (from .../dash_0.5.5.1-2_i386.deb) 
...
[...]
Jul 22 09:06:41 debootstrap: Selecting previously deselected package 
debianutils.
Jul 22 09:06:41 debootstrap: Unpacking debianutils (from 
.../debianutils_3.2_i386.deb) ...
[...]
Jul 22 09:06:48 debootstrap: Setting up dash (0.5.5.1-2) ...
Jul 22 09:06:49 debootstrap: cat: 
Jul 22 09:06:49 debootstrap: /etc/shells
Jul 22 09:06:49 debootstrap: : No such file or directory
Jul 22 09:06:49 debootstrap: 
Jul 22 09:06:49 debootstrap: Either another instance of /usr/sbin/add-shell is 
running, or it was previously interrupted.
Jul 22 09:06:49 debootstrap: Please examine /etc/shells.tmp to see if it should 
be moved onto /etc/shells.
Jul 22 09:06:49 debootstrap: dpkg: error processing dash (--configure):
Jul 22 09:06:49 debootstrap:  subprocess installed post-installation script 
returned error exit status 1
Jul 22 09:06:49 debootstrap: Setting up debianutils (3.2) ...
[...]
Jul 22 09:06:56 debootstrap: Setting up bash (3.2-6) ...
Jul 22 09:06:56 debootstrap: dpkg: bash: dependency problems, but configuring 
anyway as you requested:
Jul 22 09:06:56 debootstrap:  bash depends on dash; however:
Jul 22 09:06:56 debootstrap:   Package dash is not configured yet.
Jul 22 09:06:56 debootstrap: update-alternatives: using 
/usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
Jul 22 09:06:57 debootstrap: Errors were encountered while processing:
Jul 22 09:06:57 debootstrap:  dash
Jul 22 09:08:33 base-installer: error: exiting on error 
base-installer/debootstrap-failed

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to