The chroot tmpfs mount should only be /var/lib/apt/lists, not /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states. LP: #2036195.

(cherry picked from commit 1deccc2edd)

# Conflicts:
#	debian/changelog
ubuntu/xenial
Steve Langasek 1 year ago committed by Philip Roche
parent f09ffc57a3
commit 6e9e7754b6

9
debian/changelog vendored

@ -1,3 +1,12 @@
livecd-rootfs (2.408.69) xenial; urgency=medium
[Steve Langasek]
* The chroot tmpfs mount should only be /var/lib/apt/lists, not
/var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states.
LP: #2036195.
-- Phil Roche <phil.roche@canonical.com> Thu, 19 Oct 2023 18:26:20 +0100
livecd-rootfs (2.408.68) xenial; urgency=medium
[ Gauthier Jolly ]

@ -106,7 +106,7 @@ setup_mountpoint() {
mount proc-live -t proc "$mountpoint/proc"
mount sysfs-live -t sysfs "$mountpoint/sys"
mount -t tmpfs none "$mountpoint/tmp"
mount -t tmpfs none "$mountpoint/var/lib/apt"
mount -t tmpfs none "$mountpoint/var/lib/apt/lists"
mount -t tmpfs none "$mountpoint/var/cache/apt"
setup_resolvconf "${mountpoint}"
chroot "$mountpoint" apt-get update

Loading…
Cancel
Save