[Bug 2098630] Re: [RC] Two copies of every snap are shipped
Michael Hudson-Doyle
2098630 at bugs.launchpad.net
Mon Feb 17 03:48:50 UTC 2025
I'm not on a network where downloading a recent desktop ISO makes sense
but I'm pretty sure these are hard links to the same file. I don't know
how to get unsquashfs to show this, but from a random livefs build
artifact I have lying around:
mwhudson at orcrist:~$ sudo mount ~/tmp/seed-in-live-layer/livefs/livecd.ubuntu.minimal.squashfs ~/tmp/mnt/1
mwhudson at orcrist:~$ ls -li ~/tmp/mnt/1/var/lib/snapd/{seed/,}snaps/firefox*.snap
180084 -rw------- 2 root root 288665600 Jan 29 15:33 /home/mwhudson/tmp/mnt/1/var/lib/snapd/seed/snaps/firefox_5647.snap
180084 -rw------- 2 root root 288665600 Jan 29 15:33 /home/mwhudson/tmp/mnt/1/var/lib/snapd/snaps/firefox_5647.snap
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2098630
Title:
[RC] Two copies of every snap are shipped
Status in livecd-rootfs package in Ubuntu:
New
Status in livecd-rootfs source package in Noble:
New
Bug description:
When doing some ISO content checks this cycle for Lubuntu, I noticed
something strange:
$ sudo ls -lahR /var/lib/snapd/ | grep "\.snap"
[...]
-rw------- 2 root root 4.0K Feb 16 19:24 bare_5.snap
-rw------- 2 root root 74M Feb 16 19:24 core22_1748.snap
-rw------- 2 root root 259M Feb 16 19:24 firefox_5751.snap
-rw------- 2 root root 12M Feb 16 19:24 firmware-updater_167.snap
-rw------- 2 root root 517M Feb 16 19:24 gnome-42-2204_202.snap
-rw------- 2 root root 92M Feb 16 19:24 gtk-common-themes_1535.snap
-rw------- 2 root root 45M Feb 16 19:24 snapd_23545.snap
-rw------- 2 root root 4.0K Feb 16 19:24 bare_5.snap
-rw------- 2 root root 74M Feb 16 19:24 core22_1748.snap
-rw------- 2 root root 259M Feb 16 19:24 firefox_5751.snap
-rw------- 2 root root 12M Feb 16 19:24 firmware-updater_167.snap
-rw------- 2 root root 517M Feb 16 19:24 gnome-42-2204_202.snap
-rw------- 2 root root 92M Feb 16 19:24 gtk-common-themes_1535.snap
-rw------- 2 root root 45M Feb 16 19:24 snapd_23545.snap
There are *two* copies of every single snap on the ISO. And they are
not symbolic links.
I thought, perhaps this is a consequence of my ISO bootup, perhaps
snapd likes to put them there for some reason?
Nope:
$ sudo unsquashfs -ls /cdrom/casper/minimal.standard.squashfs | grep "\.snap"
[...]
squashfs-root/var/lib/snapd/seed/snaps/bare_5.snap
squashfs-root/var/lib/snapd/seed/snaps/core22_1748.snap
squashfs-root/var/lib/snapd/seed/snaps/firefox_5751.snap
squashfs-root/var/lib/snapd/seed/snaps/firmware-updater_167.snap
squashfs-root/var/lib/snapd/seed/snaps/gnome-42-2204_202.snap
squashfs-root/var/lib/snapd/seed/snaps/gtk-common-themes_1535.snap
squashfs-root/var/lib/snapd/seed/snaps/snapd_23545.snap
squashfs-root/var/lib/snapd/snaps/bare_5.snap
squashfs-root/var/lib/snapd/snaps/core22_1748.snap
squashfs-root/var/lib/snapd/snaps/firefox_5751.snap
squashfs-root/var/lib/snapd/snaps/firmware-updater_167.snap
squashfs-root/var/lib/snapd/snaps/gnome-42-2204_202.snap
squashfs-root/var/lib/snapd/snaps/gtk-common-themes_1535.snap
squashfs-root/var/lib/snapd/snaps/snapd_23545.snap
This is a release blocker for Lubuntu 25.04 and Lubuntu 24.04.3.
Whether this is a snapd bug or livecd-rootfs bug, there must only be
one copy of each snap installed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2098630/+subscriptions
More information about the foundations-bugs
mailing list