Am Mittwoch, den 13.11.2019, 19:25 +0100 schrieb Johannes Schauer: > Hi, > > Quoting Benjamin Drung (2019-11-13 19:22:14) > > mmdebstrap fails to remove all APT list files at the cleanup stage. > > APT > > list files for /etc/apt/sources.list.d/*.list remain in image. You > > can > > reproduce it by running: > > > > mmdebstrap --keyring=/usr/share/keyrings/debian-archive-keyring.gpg > > \ > > -v --component=main \ > > --setup-hook="echo \"deb http://deb.debian.org/debian $suite > > contrib\" > \"\$1/etc/apt/sources.list.d/example.list\"" > > buster /tmp/buster.tar.xz > > > > why do you think this is a bug?
Since mmdebstrap echos "cleaning package lists and apt cache..." and runs apt-get --option Dir::Etc::SourceList=/dev/null update Running 'rm -rf "$0/var/lib/apt/lists/"*' in a customize hook has no effect. -- Benjamin Drung Debian & Ubuntu Developer Platform Engineering Compute (Enterprise Cloud) 1&1 IONOS SE | Greifswalder Str. 207 | 10405 Berlin | Germany E-mail: [email protected] | Web: www.ionos.de Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498 Vorstand: Dr. Christian Böing, Hüseyin Dogan, Hans-Henning Kettler, Matthias Steinberg, Achim Weiß Aufsichtsratsvorsitzender: Markus Kadelke Member of United Internet
signature.asc
Description: This is a digitally signed message part

