Comment 17 for bug 1966589

Revision history for this message
Brian Murray (brian-murray) wrote : Re: Upgrader unable to contact snap store

I was able to recreate this on an Ubuntu 20.04 LTS system by editing /etc/apt/sources.list so that focal was replaced with jammy and then running `sudo apt-get update` and `sudo apt-get dist-upgrade`. I then found the following in the terminal:

Errors were encountered while processing:
 /tmp/apt-dpkg-install-pYF5m8/17-firefox_1%3a1snap1-0ubuntu1_amd64.deb
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)

And the same error as posted earlier in /var/log/apt/term.log:

==> Installing the firefox snap^M
error: cannot perform the following tasks:^M
- Run configure hook of "firefox" snap if present (run hook "configure": error: cannot create transient scope: DBus error "org.freedesktop.DBus.Error.TimedOut": [Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)])^M
dpkg: error processing archive /tmp/apt-dpkg-install-pYF5m8/17-firefox_1%3a1snap1-0ubuntu1_amd64.deb (--unpack):^M
 new firefox package pre-installation script subprocess returned error exit status 1^M