Comment 5 for bug 1966589

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

I found this in /var/log/dist-upgrade/main.log:

2022-03-27 12:49:11,381 ERROR got an error from dpkg for pkg: '/tmp/apt-dpkg-install-FzL4nS/14-firefox_1%3a1snap1-0ubuntu1_amd64.deb': 'new firefox package pre-installation script subprocess returned error exit status 1'
2022-03-27 12:49:11,382 DEBUG running apport_pkgfailure() firefox: new firefox package pre-installation script subprocess returned error exit status 1
2022-03-27 12:49:11,386 ERROR got an error from dpkg for pkg: '/tmp/apt-dpkg-install-FzL4nS/14-firefox_1%3a1snap1-0ubuntu1_amd64.deb': 'new firefox package pre-installation script subprocess returned error exit status 1'

And looking Aptermlog.txt we see:

Preparing to unpack .../14-firefox_1%3a1snap1-0ubuntu1_amd64.deb ...^M
=> Installing the firefox snap^M
==> Checking connectivity with the snap store^M
==> Installing the firefox snap^M
2022-03-27T12:33:55Z INFO Waiting for automatic snapd restart...^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-FzL4nS/14-firefox_1%3a1snap1-0ubuntu1_amd64.deb (--unpack):^M
 new firefox package pre-installation script subprocess returned error exit status 1^M
Please restart all running instances of firefox, or you will experience problems.^M