You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apt-clone is part of my normal daily backup routine. Recently my system broke and I restored it using apt-clone. Worked great.
The problem is, now the backup routine (on the restored system) does not work well anymore. During repack it packs dozens of packages and fails during that process, which it did not do before.
The system is Debian 10.6 stable and I restored from-to identical distro versions.
Running backup now, I get lots of errors like this:
dpkg-deb: building package 'firefox-esr' in './firefox-esr_68.2.0esr-1~deb10u1_amd64.deb'.
dpkg-repack: Problems were encountered in processing.
dpkg-repack: The package may be broken.
dpkg-repack: File not found: /usr/lib/x86_64-linux-gnu/libavcodec.so.57.64.101
dpkg-repack: File not found: /usr/share/doc/libavcodec57
dpkg-repack: File not found: /usr/share/doc/libavcodec57/changelog.Debian.gz
At least some of these packages are old. gcc-6 was in Debian oldstable, but not in stable anymore. Therefore, I believe that I had it on my old system and it was part of the package list, but during restore it could not be installed (because it is not in the Debian stable repo). Still, apt-clone is looking for it now, and it is not there.
apt install gcc-6 does not work, the package does not exist, but I can remove it.
Any idea how I can solve this? Maybe I should just remove all of these packages? (which do not seem to be installed anyway)
apt-clone is part of my normal daily backup routine. Recently my system broke and I restored it using apt-clone. Worked great.
The problem is, now the backup routine (on the restored system) does not work well anymore. During repack it packs dozens of packages and fails during that process, which it did not do before.
The system is Debian 10.6 stable and I restored from-to identical distro versions.
Running backup now, I get lots of errors like this:
and this is the end of the log:
At least some of these packages are old. gcc-6 was in Debian oldstable, but not in stable anymore. Therefore, I believe that I had it on my old system and it was part of the package list, but during restore it could not be installed (because it is not in the Debian stable repo). Still, apt-clone is looking for it now, and it is not there.
apt install gcc-6
does not work, the package does not exist, but I can remove it.Any idea how I can solve this? Maybe I should just remove all of these packages? (which do not seem to be installed anyway)
This is the command I use to backup:
sudo apt-clone clone --with-dpkg-repack /somewhere
This is the command I used to restore:
apt-clone restore apt-clone-state-[HOSTNAME].tar.gz
The text was updated successfully, but these errors were encountered: