Package: apt-clone Version: 0.4.1 Severity: normal Dear Maintainer,
* What led up to the situation? I invoked `apt-clone --with-dpkg-repack my-repacked.apt-clone.tar.gz`. I have teamviewer installed, so one of the many packages is teamviewer. Apparently, I deleted /etc/apt/sources.list.d/teamviewer.list at some point in time. This may have confused dpkg-repack. * What was the outcome of this action? The teamviewer package did not get repacked, and was missing from the generated tarball. No exit code indicated that there was an error. (So automation would run into trouble). There was only one warning from apt-clone, buried among many other similar lines: dpkg-deb: Fehler: Conffile »/etc/apt/sources.list.d/teamviewer.list« kommt nicht im Paket vor dpkg -repack: Error running: dpkg-deb --build dpkg-repack.teamviewer.tTztGb . dpkg -repack: Problems were encountered in processing. dpkg -repack: The package may be broken. If this had been an important package (i.e., the printer drivers that brought me here), and if I hadn't caught this, then I would have been in trouble. * What outcome did you expect instead? I expected one of the following: - Ideal: Set a non-zero exit code, include the "maybe broken" package anyway. - Acceptable: Set a non-zero exit code. - Acceptable: Set a non-zero exit code, refuse to generate apt-clone tarball. Cheers, Ben -- System Information: Debian Release: buster/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt-clone depends on: ii lsb-release 9.20170808 ii python3 3.6.5-3 ii python3-apt 1.6.2 Versions of packages apt-clone recommends: ii dpkg-repack 1.44 apt-clone suggests no packages. -- no debconf information