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
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: dpkg-install- pYF5m8/ 17-firefox_ 1%3a1snap1- 0ubuntu1_ amd64.deb
/tmp/apt-
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 p.DBus. Error.TimedOut" : [Failed to activate service 'org.freedeskto p.systemd1' : timed out (service_ start_timeout= 25000ms) ])^M dpkg-install- pYF5m8/ 17-firefox_ 1%3a1snap1- 0ubuntu1_ amd64.deb (--unpack):^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.freedeskto
dpkg: error processing archive /tmp/apt-
new firefox package pre-installation script subprocess returned error exit status 1^M