apt-clone does not save or restore deb822 sources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-clone (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This can be observed with the following on noble:
root@n2:~# apt policy apt-clone
apt-clone:
Installed: 0.4.3+nmu2
Candidate: 0.4.3+nmu2
Version table:
*** 0.4.3+nmu2 500
500 http://
100 /var/lib/
root@n2:~# ls /etc/apt/
/etc/apt/
/etc/apt/
ubuntu.sources
root@n2:~# ls /etc/apt/
ubuntu.sources
root@n2:~# apt-clone clone test.tar.gz
not installable:
version mismatch: dosfstools, console-
Note that you can use --with-dpkg-repack to include those packages in the clone file.
root@n2:~# tar xvf test.tar.gz
./var/lib/
./var/lib/
./var/lib/
./var/lib/
./etc/apt/
./etc/apt/
./etc/apt/
./etc/apt/
./etc/apt/
./etc/apt/
./etc/apt/
./etc/apt/
Since we are going to deb822 by default, it would be nice to fix this since apt-clone is often used for debugging, especially for bug reports about upgrades.
Related branches
- Julian Andres Klode (community): Approve
-
Diff: 139 lines (+48/-26)2 files modifiedapt_clone.py (+42/-26)
debian/changelog (+6/-0)
This bug was fixed in the package apt-clone - 0.4.3+nmu2ubuntu1
---------------
apt-clone (0.4.3+nmu2ubuntu1) noble; urgency=medium
* apt-clone: support deb822 sources on clone/restore (LP: #2057963)
-- Nick Rosbrook <email address hidden> Thu, 14 Mar 2024 15:18:31 -0400