Package: cdebootstrap
Version: 0.7.5
Severity: normal

  Hi,

  The gitlab-ci-multi-runner package is using cdeboostrap at
install time in order to create a docker image that will be
latter required for its use (see #842380 for the gitlab-ci-multi-runner
part of this problem)

cdebootstrap is invocked like that:
cdebootstrap \
    --flavour=minimal \
    --exclude="dmsetup,e2fsprogs,init,systemd-sysv,systemd,udev" \
    --include="bash,ca-certificates,git,netcat-traditional" \
    stable ./debian-minbase

Trying this command manually on my system, or in a plain sid chroot
or with testing instead of stable as targeted distribution leads to
the same error:
# cdebootstrap [..]
P: Retrieving Release
P: Retrieving Release.gpg
[...]
P: Configuring package apt
P: Configuring helper cdebootstrap-helper-apt
E: Internal error: install
# 

And the chroot is not fully built (for example, the git package is not
installed)...

  As cdebootstrap reports an 'Internal error', I'm reporting
the problem here.

Note that the problem seems to come from the exclude list but I do not know
what happens. I tried several configuration that all failed:
* --exclude="dmsetup"
* --exclude="e2fsprogs"
* --exclude="init,systemd-sysv,systemd,udev"

Perhaps it is not possible to remove any of these packages, but
cdebootstrap should then report a more meaningful message.

  Regards,
    Vincent

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), 
(200, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

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

Versions of packages cdebootstrap depends on:
ii  debian-archive-keyring      2014.3
ii  gpgv                        2.1.15-8
ii  libbz2-1.0                  1.0.6-8
ii  libc6                       2.24-5
ii  libcurl3-gnutls             7.50.1-1
ii  libdebian-installer-extra4  0.108
ii  libdebian-installer4        0.108
ii  liblzma5                    5.2.2-1.2
ii  zlib1g                      1:1.2.8.dfsg-2+b1

cdebootstrap recommends no packages.

cdebootstrap suggests no packages.

-- no debconf information

Reply via email to