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


** Changed in: firefox (Ubuntu)
    Milestone: None => ubuntu-22.04

** Summary changed:

- Upgrader unable to contact snap store 
+ release upgrade fails due to `firefox package pre-installation script 
subprocess returned error exit status 1`

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1966589

Title:
  release upgrade fails due to `firefox package pre-installation script
  subprocess returned error exit status 1`

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

Bug description:
  Upgrading from Lubuntu Focal 20.04.4 to Lubuntu Jammy 22.04 (date
  27.03.2022)

  The upgrader was unable to connect to the snap store in order to
  install the firefox snap

  The upgrade was performed with GUI - do-release-upgrade -d -m desktop
  -f DistUpgradeViewKDE

  The error "could not install the upgrades" was received.
  I closed the error and then received th dialog box message "upgrade complete 
but there were errors during the upgrade process"

  After rebooting I received an upgrade notification and the Firefox
  snap was installed.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.7
  ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
  Uname: Linux 5.15.0-23-generic x86_64
  ApportVersion: 2.20.11-0ubuntu79
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CurrentDesktop: LXQt
  Date: Sun Mar 27 13:08:26 2022
  InstallationDate: Installed on 2022-03-27 (0 days ago)
  InstallationMedia: Lubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 
(20220223)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2022-03-27 (0 days ago)
  VarLogDistupgradeXorgFixuplog:
   INFO:root:/usr/bin/do-release-upgrade running
   INFO:root:No xorg.conf, exiting
  --- 
  ProblemType: Bug
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  kf          950 F.... pulseaudio
  BuildID: 20220322144853
  CasperMD5CheckResult: skip
  Channel: Unavailable
  CurrentDesktop: LXQt
  DefaultProfileExtensions: extensions.sqlite corrupt or missing
  DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  DefaultProfileLocales: extensions.sqlite corrupt or missing
  DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:364
  DefaultProfileThemes: extensions.sqlite corrupt or missing
  DistroRelease: Ubuntu 22.04
  ForcedLayersAccel: False
  InstallationDate: Installed on 2022-03-30 (0 days ago)
  InstallationMedia: Lubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 
(20220223)
  IpRoute:
   default via 192.168.1.1 dev enp0s31f6 proto dhcp metric 100 
   192.168.1.0/24 dev enp0s31f6 proto kernel scope link src 192.168.1.250 
metric 100
  Package: ubuntu-release-upgrader
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 5.13.0-39.44~20.04.1-generic 5.13.19
  Profile0Extensions: extensions.sqlite corrupt or missing
  Profile0IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  Profile0Locales: extensions.sqlite corrupt or missing
  Profile0PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:364
  Profile0PrefSources: prefs.js
  Profile0Themes: extensions.sqlite corrupt or missing
  Profiles:
   Profile1 (Default) - LastVersion=None/None (Out of date)
   Profile0 - LastVersion=98.0.2/20220322144853 (In use)
  RunningIncompatibleAddons: False
  Tags:  jammy
  Uname: Linux 5.13.0-39-generic x86_64
  UpgradeStatus: Upgraded to jammy on 2022-03-30 (0 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sudo
  _MarkForUpload: True
  dmi.bios.date: 07/08/2021
  dmi.bios.release: 1.20
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.20.2
  dmi.board.name: 0Y7WYT
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.20.2:bd07/08/2021:br1.20:svnDellInc.:pnOptiPlex7040:pvr:rvnDellInc.:rn0Y7WYT:rvrA00:cvnDellInc.:ct3:cvr:sku06B9:
  dmi.product.family: OptiPlex
  dmi.product.name: OptiPlex 7040
  dmi.product.sku: 06B9
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1966589/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to