Hello list,I've looked at a recent output of cruft-ng, as generated by openQA [1] during the installation process.
There are 2 files that are generated by 'apt-cdrom add': /etc/apt/sources.list~ /var/lib/apt/cdroms.list~These are backup files, and do not need to be present on a fresh installation.
To remove these files, they can be removed after each invocation of 'apt-cdrom add', which are (AFAICS) 3:
base-installer: library.sh apt-setup: generators/40cdrom and generators/41cdsetAlternatively, 'apt-cdrom add' could be extended with an additional command line option, e.g. '--no-backup' to avoid generating them at all [2] and [3]. (Or can they always be deleted after a successful rename?)
Which method would be preferred? With kind regards, Roland Clobus [1] https://openqa.debian.net/tests/444211/logfile?filename=cruft-cruft.txt [2] https://sources.debian.org/src/apt/3.1.5/apt-pkg/cdrom.cc#L444 [3] https://sources.debian.org/src/apt/3.1.5/apt-pkg/cdrom.cc#L551
OpenPGP_signature.asc
Description: OpenPGP digital signature