Package: debootstrap
Version: 1.0.81

Hello,

The documentation says

       --exclude=alpha,beta
              Comma separated list of packages which will be removed from 
download and extract lists.  WARNING: you can and  proba‐
              bly will exclude essential packages, be careful using this option.

but this doesn't seem to work: I seem to be unable to remove
"Priority: required" packages with this. E. g. after debootstrapping
sid, it is perfectly possible and reasonable to remove things like
initscripts, sysv-rc, or lsb-base. They purge without any problem.
However, I cannot debootstrap without those:

| $ debootstrap --verbose --variant=minbase --exclude=initscripts,lsb-base  
--print-debs sid /tmp/sid
| [...]
| I: Found additional required dependencies: insserv libaudit-common libaudit1 
libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 
libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1 
| I: Found additional base dependencies: adduser debian-archive-keyring gpgv 
libapt-pkg5.0 libcurl3-gnutls libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 
libhogweed4 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 
libldap-2.4-2 liblz4-1 libnettle6 libnghttp2-14 libp11-kit0 librtmp1 libsasl2-2 
libsasl2-modules-db libssh2-1 libssl1.0.2 libstdc++6 libtasn1-6 openssl 
| base-files base-passwd bash bsdutils coreutils dash debconf debianutils 
diffutils dpkg e2fslibs e2fsprogs findutils gcc-4.9-base gcc-5-base gcc-6-base 
grep gzip hostname init-system-helpers initscripts insserv libacl1 libattr1 
libaudit-common libaudit1 libblkid1 libbz2-1.0 libc-bin libc6 libcap-ng0 
libcomerr2 libdb5.3 libdebconfclient0 libfdisk1 libgcc1 libgcrypt20 
libgpg-error0 liblzma5 libmount1 libncurses5 libncursesw5 libpam-modules 
libpam-modules-bin libpam-runtime libpam0g libpcre3 libselinux1 
libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 libsystemd0 
libtinfo5 libudev1 libustr-1.0-1 libuuid1 login lsb-base mawk mount 
multiarch-support ncurses-base ncurses-bin passwd perl-base sed sensible-utils 
startpar sysv-rc sysvinit-utils tar tzdata util-linux zlib1g adduser apt 
apt-transport-https ca-certificates debian-archive-keyring gpgv libapt-pkg5.0 
libcurl3-gnutls libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 
libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 
liblz4-1 libnettle6 libnghttp2-14 libp11-kit0 librtmp1 libsasl2-2 
libsasl2-modules-db libssh2-1 libssl1.0.2 libstdc++6 libtasn1-6 openssl 
| I: Deleting target directory


This is true even with --no-resolve-deps.

I also tried this patch
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557322#24
with and without --no-resolve-deps.

Ultimately these packages shouldn't be "Priority: required" of course
(at least the SysV stuff should soon go away), but if someone knows
what they are doing, or for experiments --exclude should be applied
after dependency and "required" resolution, not before.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: PGP signature

Reply via email to