[Bug 2039268] Re: When upgrading to Mantic, it fails to install snap firmware-updater

Benjamin Drung 2039268 at bugs.launchpad.net
Thu Oct 26 11:43:24 UTC 2023


Excluded any snap as culprit by removing all snaps before the upgrade:

$ lxc launch ubuntu:lunar lp-2039268
$ lxc exec lp-2039268 bash
root at lp-2039268:~# snap remove lxd && snap remove core22 && snap remove snapd
root at lp-2039268:~# sed -i -e's/lunar/mantic/' /etc/apt/sources.list && apt update && apt install -y systemd
root at lp-2039268:~# ls -l /run/systemd/generator/snap.mount
-rw-r--r-- 1 root root 274 Oct 26 11:29 /run/systemd/generator/snap.mount
root at lp-2039268:~# snap list
No snaps are installed yet. Try 'snap install hello-world'.

Replacing the snapd-generator as mentioned in comment #17 and adding `ls
-l /run/systemd/generator/snap.mount` to the ends of the replacement
script shows that /run/systemd/generator/snap.mount is not present at
that point of time. Something later creates this file.

-- 
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