#909443 apt-clone: Silently fails when dpkg-repack fails

#909443#5
Date:
2018-09-23 17:57:14 UTC
From:
To:
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

#909443#10
Date:
2025-08-13 09:13:51 UTC
From:
To:
Dear submitter,

as the package apt-clone has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1108671

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)