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

Bug#877855: debootstrap does not carry --components across --foreign/--second-stage



Package: debootstrap
Version: 1.0.91
Severity: normal

This debootstrap invocation generates the expected sources.list:

% sudo debootstrap --components main,contrib,non-free \
  --variant - testing /tmp/bootstr http://deb.debian.org/debian
% cat /tmp/bootstr/etc/apt/sources.list
deb http://deb.debian.org/debian testing main contrib non-free

This debootstrap invocation’s sources.list lacks the extra components:

% sudo debootstrap --foreign --components main,contrib,non-free \
  --variant - testing bootstr http://deb.debian.org/debian
% sudo chroot /tmp/bootstr /debootstrap/debootstrap --second-stage
% sudo cat /tmp/bootstr/etc/apt/sources.list
deb http://deb.debian.org/debian testing main

Looking at /tmp/bootstr/debootstrap/debootstrap before the chroot command shows
“USE_COMPONENTS=main”, which I believe should include contrib and non-free.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel, arm64

Kernel: Linux 4.12.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debootstrap depends on:
ii  wget  1.19.1-4

Versions of packages debootstrap recommends:
ii  debian-archive-keyring  2017.6
ii  gnupg                   2.1.23-2

debootstrap suggests no packages.

-- no debconf information

Reply to: