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

Bug#830794: marked as done (--exclude does not apply to required packages, contrary to manpage)

Your message dated Sun, 03 Jun 2018 11:05:46 +0000
with message-id <E1fPQpW-0008a6-Hl@fasolo.debian.org>
and subject line Bug#830794: fixed in debootstrap 1.0.101
has caused the Debian Bug report #830794,
regarding --exclude does not apply to required packages, contrary to manpage
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

830794: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830794
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debootstrap
Version: 1.0.81


The documentation says

              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
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 Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: PGP signature

--- End Message ---
--- Begin Message ---
Source: debootstrap
Source-Version: 1.0.101

We believe that the bug you reported is fixed in the latest version of
debootstrap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 830794@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Hideki Yamane <henrich@debian.org> (supplier of updated debootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)

Hash: SHA512

Format: 1.8
Date: Sun, 03 Jun 2018 19:41:23 +0900
Source: debootstrap
Binary: debootstrap debootstrap-udeb
Architecture: source all
Version: 1.0.101
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Hideki Yamane <henrich@debian.org>
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 557322 742672 783589 830794
 debootstrap (1.0.101) unstable; urgency=medium
   [ Hideki Yamane ]
   * debian/test
     - Don't use unshare on some environment
     - Fix chroot dir location
     - Just ignore tests under docker environment
   * scripts
     - Add "bookworm" (Debian12) to script
     - Update git info to point to salsa repo
   * Fix wrong assumptions for $HOST_OS
   * Move container=lxc-libvirt check to work properly
   * Avoid mknod $TARGET/dev/console failure with systemd-nspawn
   * Fix exclude to work with --no-resolve-deps option
   * Add "--log-extra-deps" option to reduce time
   * Add 2nd exclude package check to really exclude packages even if
     it breaks dependencies (Closes: #830794, #557322, #783589)
   [ Philipp Kern ]
   * Gitlab CI: Disable the broken autopkgtest step.
   [ Tianon Gravi ]
   * Allow "script" argument to be specified as either an absolute path
     as before, or as a raw codename such as "sid", assumed to be
     relative to "/usr/share/debootstrap/scripts" (Closes: #742672)
 88f2182861b3085c0f45266e3153ad9662e5d755 2017 debootstrap_1.0.101.dsc
 b976d3b4635112e70c1bd77900e4501524a8c7c8 73074 debootstrap_1.0.101.tar.gz
 239f1ab94afca982c4448003f888964e612dede7 20996 debootstrap-udeb_1.0.101_all.udeb
 886b1ce70e96d72bac1c83f16587ec6863c170a9 70530 debootstrap_1.0.101_all.deb
 6680e34a8e552e8502944764e774749ad5679067 5857 debootstrap_1.0.101_amd64.buildinfo
 1607bf82c7c90854cb455cfc421563c00ed7dd60730499f6e34c8019b45796b9 2017 debootstrap_1.0.101.dsc
 e37eab59a0abf4ea5e7e591b7eb0e8090d4d9ba4d114719a5fe3608874402adc 73074 debootstrap_1.0.101.tar.gz
 a214ece378c4fac493763a9a9c7c999bbbba0b7f3416818671928d9e9dd7c573 20996 debootstrap-udeb_1.0.101_all.udeb
 660167b27020a94be54b098f8ccd93de4f97dee6679926af9b37cab7297149fb 70530 debootstrap_1.0.101_all.deb
 eb871b88478fcab74cc3e75cec6d3d454dafad8d5f793109c91c4388fdb78ca6 5857 debootstrap_1.0.101_amd64.buildinfo
 8d09e9a552e0fc1a40bb5b47cd5808a3 2017 admin optional debootstrap_1.0.101.dsc
 84cd8c6c77fa631cc2e04b288c2812be 73074 admin optional debootstrap_1.0.101.tar.gz
 351b3ab96734db4daa451281c627c550 20996 debian-installer optional debootstrap-udeb_1.0.101_all.udeb
 f3c3d09d90737168cac5cbcb81653102 70530 admin optional debootstrap_1.0.101_all.deb
 478361e47c450d58b50bb1b8707a29e9 5857 admin optional debootstrap_1.0.101_amd64.buildinfo



--- End Message ---

Reply to: