❦  3 octobre 2015 23:39 +0200, Vincent Bernat <[email protected]> :

> Starting with 0.7.0, the two-stage bootstrap doesn't work anymore with
> sid (didn't test another suite):
>
> cdebootstrap --foreign --flavour=build sid /var/tmp/sid
> chroot /var/tmp/sid /sbin/cdebootstrap-foreign
>
> [...]
> Unpacking mawk (1.3.3-17) over (1.3.3-17) ...
> dpkg: regarding .../base-files_9.4_amd64.deb containing base-files, 
> pre-dependency problem:
>  base-files pre-depends on awk
>   mawk provides awk but is unpacked but not configured.
>
> dpkg: error processing archive /var/cache/bootstrap/base-files_9.4_amd64.deb 
> (--install):
>  pre-dependency problem - not installing base-files
> [...]
> Errors were encountered while processing:
>  /var/cache/bootstrap/base-files_9.4_amd64.deb
> Failed to run dpkg!
>
> It works fine with cdebootstrap 0.6.5. I didn't investigate more since
> I am not familiar with those pre-dependencies stuff.

Without --foreign, the list of packages used for dpkg --unpack and the
list of packages for dpkg --install is different (no mawk or basefiles
in the second set). With --foreign, the two lists are identical.

I suppose that the paths taken with and without --foreign in
action_install_essential() are different, but I am unable to follow the
logic.

Any hint?
-- 
Don't stop at one bug.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Reply via email to