* Peter Eisentraut <peter_e@gmx.net> [20090602 08:34]:
> $ sudo debootstrap sid foo http://ftp.de.debian.org/debian
> I: Retrieving Release
> I: Retrieving Packages
> I: Validating Packages
> I: Resolving dependencies of required packages...
> I: Resolving dependencies of base packages...
> I: Found additional base dependencies: libept0 libldap-2.4-2 libxapian15
> I: Checking component main on http://ftp.de.debian.org/debian...
> I: Retrieving adduser
> I: Validating adduser
> ....
> ....
> ....
> I: Configuring apt-utils...
> I: Configuring sysklogd...
> I: Configuring klogd...
> W: Failure while configuring base packages.
> W: Failure while configuring base packages.
> W: Failure while configuring base packages.
> W: Failure while configuring base packages.
> W: Failure while configuring base packages.
> [ $? = 1 ]
> I have tried this a few times, with --verbose and --resolve-deps, but I
> couldn't get any more information. debootstrap should at least tell me which
> package or which step failed.
> Are the failures really warning messages ("W")? Why does the exit code
> indicate an error then?
Same here:
# debootstrap --verbose --resolve-deps --arch i386 sid fooooo http://ftp.de.debian.org/debian
[...]
I: Configuring libept0...
I: Configuring apt-utils...
I: Configuring aptitude...
I: Configuring tasksel-data...
I: Configuring tasksel...
W: Failure while configuring base packages.
I: Configuring ed...
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
[...]
# echo $?
1
Inside fooooo/debootstrap/debootstrap.log I can find:
[...]
update-alternatives: error: alternative path /bin/ed doesn't exist.
dpkg: error processing ed (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
ed
[...]
which is a result of #531461. Would be nice if the output of
debootstrap is more verbose, especially when using --verbose.
regards,
-mika-
Attachment:
signature.asc
Description: Digital signature