[Bug 2039268] Re: When upgrading to Mantic, it fails to install snap firmware-updater
Samuele Pedroni
2039268 at bugs.launchpad.net
Thu Oct 26 11:43:37 UTC 2023
I built a deb locally with https://github.com/snapcore/snapd/pull/13335
which contains a cherry-pick of the fix on top of 2.60.4, and I could
*not* reproduce the issue!
even with a snapd snap installed with a generator with the bug (which
afaik should not matter)
$ lxc launch ubuntu:lunar lp-2039268
$ lxc file push snapd_2.60.4fix1_amd64.deb lp-2039268/root/
$ lxc exec lp-2039268 bash
root at lp-2039268:~# snap version
snap 2.60.3
snapd 2.60.3
series 16
ubuntu 23.04
kernel 6.2.0-35-generic
root at lp-2039268:~# dpkg -i snapd_2.60.4fix1_amd64.deb
...
root at lp-2039268:~# ls -l /run/systemd/generator/snap.mount
ls: cannot access '/run/systemd/generator/snap.mount': No such file or directory
root at lp-2039268:~# sed -i -e's/lunar/mantic/' /etc/apt/sources.list && apt update && apt install systemd
...
root at lp-2039268:~# ls -l /run/systemd/generator/snap.mount
ls: cannot access '/run/systemd/generator/snap.mount': No such file or directory
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2039268
Title:
When upgrading to Mantic, it fails to install snap firmware-updater
Status in snapd package in Ubuntu:
Fix Committed
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Bug description:
While upgrading to Mantic the following message is reported:
installing snap firmware-updater
error: cannot perform the following tasks:
- Automatically connect eligible plugs and slots of snap "firmware-updater" (internal error: auto-connect of &{"firmware-updater:desktop-legacy" "snapd:desktop-legacy"} failed: snap "snapd" has no slot named "desktop-legacy")
Steps to reproduce the culprit snap.mount:
$ lxc launch ubuntu:lunar lp-2039268
Creating lp-2039268
Starting lp-2039268
$ lxc exec lp-2039268 bash
# sed -i -e's/lunar/mantic/' /etc/apt/sources.list && apt update && apt install -y systemd
# ls -l /run/systemd/generator/snap.mount
-rw-r--r-- 1 root root 274 Oct 18 05:49 /run/systemd/generator/snap.mount
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2039268/+subscriptions
More information about the foundations-bugs
mailing list