Hi

On Friday 07 February 2014, Santiago Vila wrote:
> reassign 737939 cdebootstrap
> thanks
> 
> On Fri, 7 Feb 2014, Stefan Lippers-Hollmann wrote:
[...]
> > Trying to cdebootstrap Debian unstable fails starting with the 
> > 2014-01-10 22:01:06[2] dinstall (2014-01-10 16:12:15[1]) is still o.k.)
> > by throwing the following error condition:
> > 
> > # cdebootstrap --arch=amd64 --flavour=minimal --debug --verbose sid /mnt/ 
> > http://ftp.de.debian.org/debian/
> > […]
> > O: Setting up libdebconfclient0:amd64 (0.187) ...
> > P: Configuring package libdebconfclient0:amd64
> > O: Setting up base-files (7.2) ...
> > 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: Processing triggers for libc-bin (2.17-97) ...
> > O: Errors were encountered while processing:
> > O:  base-files
> > O:  bash
> > D: Status: 256
> > E: Internal error: install
[...]

debootstrap explicitly explicitly installs base-passwd and base-files
before unpacking the rest of the base system:

http://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=blob;f=scripts/sid;h=bf3404f9b869b998a73c82834399ea932f8e8edd;hb=HEAD#l102
[...]
x_core_install base-passwd
x_core_install base-files
[...]

Would a similar approach be possible for cdebootstrap as well?


Due to the multi-arch enabled base-passwd package, cdebootstrapping 
Debian unstable is impossible since 2014-01-10 22:01:06, respectively
2014-01-16 for cdebootstrapping testing; not to mention that 
cdeboostrapping testing/ jessie is impossible since wheezy was 
released:

# cdebootstrap --arch=amd64 --flavour=minimal testing /mnt/ 
http://ftp.de.debian.org/debian/
P: Retrieving Release
P: Retrieving Release.gpg
P: Validating Release
I: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) 
<ftpmas...@debian.org>"
P: Parsing Release
E: Unknown suite jessie

# cdebootstrap --arch=amd64 --flavour=minimal jessie /mnt/ 
http://ftp.de.debian.org/debian/
E: Unknown suite jessie

The later should be fixed by

--- a/config/suites
+++ b/config/suites
@@ -18,6 +18,10 @@ Suite: wheezy
 Config: generic
 Keyring: debian-archive-keyring.gpg
 
+Suite: jessie
+Config: generic
+Keyring: debian-archive-keyring.gpg
+
 Suite: sid
 Config: generic
 Keyring: debian-archive-keyring.gpg


Untested, due to the afforementioned problem.

Regards
        Stefan Lippers-Hollmann

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to