[Bug 1926266] [NEW] do-release-upgrade failed silently after failed to connect to snap service

Patrick Wu 1926266 at bugs.launchpad.net
Tue Apr 27 08:02:17 UTC 2021


Public bug reported:

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

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  do-release-upgrade failed silently after failed to connect to snap
  service

Status in ubuntu-release-upgrader package in Ubuntu:
  New

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/1926266/+subscriptions



More information about the foundations-bugs mailing list