[Bug 1926267] Re: do-release-upgrade failed silently after failed to connect to snap service

Logan Rosen 1926267 at bugs.launchpad.net
Sun Jul 11 03:00:57 UTC 2021


This also impacts upgrading from 20.10 to 21.04. I was able to reproduce
the issue in my local WSL2 install of Groovy.

-- 
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:
  Confirmed
Status in ubuntu-release-upgrader source package in Hirsute:
  Confirmed
Status in ubuntu-release-upgrader source package in Impish:
  Confirmed

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