[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#813232: debootstrap: Two-staged bootstrapping with --second-stage broken



Adding Marco in copy:

John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> (2016-01-30):
> Package: debootstrap
> Version: 1.0.78
> Severity: important
> 
> Hi!
> 
> Since the upgrade to version 1.0.76 it's no longer possible to create chroots
> with --foreign and a consequential --second-stage which is particularly useful
> when creating a base system for a foreign architecture. Downgrading to 1.0.75
> fixes the issue.
> 
> To reproduce:
> 
> root@z6:/srv/chroots> debootstrap --no-check-gpg --foreign --variant=buildd unstable /srv/chroots/sid-amd64-sbuild/ ftp://ftp.debian.org/debian
> I: Retrieving Release 
> I: Retrieving Packages 
> I: Validating Packages
> (...)
> I: Extracting bsdutils...
> I: Extracting libblkid1...
> I: Extracting libfdisk1...
> I: Extracting libmount1...
> I: Extracting libsmartcols1...
> I: Extracting libuuid1...
> I: Extracting mount...
> I: Extracting util-linux...
> I: Extracting liblzma5...
> I: Extracting zlib1g...
> root@z6:/srv/chroots> chroot sid-amd64-sbuild/
> bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
> I have no name!@z6:/# ./debootstrap/debootstrap --second-stage
> I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian
> I have no name!@z6:/#
> 
> A simple hotfix is to disable setup_devices in "functions" by letting the
> function exit without actually doing anything by just adding "return 0" as
> the first statement. I assume that setup_devices is deprecated with the recent
> changes and is therefore broken. But this should be fixed properly in any
> case.
> 
> Cheers,
> Adrian
> 
> -- 
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz@debian.org
> `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Attachment: signature.asc
Description: Digital signature


Reply to: