[Bug 2057963] Re: apt-clone does not save or restore deb822 sources
Launchpad Bug Tracker
2057963 at bugs.launchpad.net
Thu Apr 4 17:50:46 UTC 2024
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 <enr0n at ubuntu.com> Thu, 14 Mar 2024 15:18:31 -0400
** Changed in: apt-clone (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-clone in Ubuntu.
https://bugs.launchpad.net/bugs/2057963
Title:
apt-clone does not save or restore deb822 sources
Status in apt-clone package in Ubuntu:
Fix Released
Bug description:
This can be observed with the following on noble:
root at 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://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
100 /var/lib/dpkg/status
root at n2:~# ls /etc/apt/sources.list /etc/apt/sources.list.d/
/etc/apt/sources.list
/etc/apt/sources.list.d/:
ubuntu.sources
root at n2:~# ls /etc/apt/sources.list.d/
ubuntu.sources
root at n2:~# apt-clone clone test.tar.gz
not installable:
version mismatch: dosfstools, console-setup-linux, gdisk, cloud-init, keyboard-configuration, console-setup
Note that you can use --with-dpkg-repack to include those packages in the clone file.
root at n2:~# tar xvf test.tar.gz
./var/lib/apt-clone/uname
./var/lib/apt-clone/installed.pkgs
./var/lib/apt-clone/foreign.pkgs
./var/lib/apt-clone/extended_states
./etc/apt/sources.list
./etc/apt/sources.list.d/
./etc/apt/preferences.d/
./etc/apt/preferences.d/ubuntu-pro-esm-apps
./etc/apt/preferences.d/ubuntu-pro-esm-infra
./etc/apt/trusted.gpg.d/
./etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
./etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/2057963/+subscriptions
More information about the foundations-bugs
mailing list