[Bug 1926267] Re: do-release-upgrade failed silently after failed to connect to snap service
Launchpad Bug Tracker
1926267 at bugs.launchpad.net
Fri Nov 5 09:42:14 UTC 2021
This bug was fixed in the package ubuntu-release-upgrader - 1:22.04.2
---------------
ubuntu-release-upgrader (1:22.04.2) jammy; urgency=medium
[ Didier Roche ]
* DistUpgrade/DistUpgradeQuirks.py: Only try to connect to snapd if there is
a socket for system activation or if snapd was already running. This
resolves failures to upgrade under WSL. (LP: #1926267)
-- Brian Murray <brian at ubuntu.com> Fri, 29 Oct 2021 09:59:29 -0700
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1926267
Title:
do-release-upgrade failed silently after failed to connect to snap
service
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Hirsute:
Won't Fix
Status in ubuntu-release-upgrader source package in Impish:
Triaged
Bug description:
Multiple reports received for people trying to upgrade from Ubuntu 20.04 to Ubuntu 20.10 using `do-release-upgrade` on WSL failed silently. After digging, it is found that in DistUpgradeQuirks.py, DistUpgradeQuirks._checkStoreConnectivity won't check for the message thrown by `snap debug connectivity` which is complaining about the inability of connecting to `snapd` service:
`
> error: cannot communicate with server: Get "http://localhost/v2/debug?aspect=connectivity": dial unix /run/snapd.socket: connect: no such file or directory
This bug should affect all versions of packages especially 20.04 or
higher (1:20.04.32).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1926267/+subscriptions
More information about the foundations-bugs
mailing list