package firefox 1:1snap1-0ubuntu2 failed to install/upgrade: new firefox package pre-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Fix Released
|
Medium
|
Olivier Tilloy |
Bug Description
Terminal showed me how to install the missing dependencies and I was able to follow that and get Firefox working by myself. I'd have thought sorting missing dependencies ought to have been built in to the upgrade program instead of coming up with a worrying report that the upgrade had failed
ProblemType: Package
DistroRelease: Ubuntu 22.04
ProcVersionSign
Uname: Linux 5.15.0-50-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Tue Oct 11 21:03:22 2022
ErrorMessage: new firefox package pre-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.8
Snap: firefox 105.0.3-1 (stable)
Snap.Changes:
ID Status Spawn Ready Summary
6 Done 2022-10-
Title: package firefox 1:1snap1-0ubuntu2 failed to install/upgrade: new firefox package pre-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2022-10-11 (1 days ago)
Related branches
affects: | ubuntu → firefox (Ubuntu) |
Interesting. Relevant debug output from DpkgTerminalLog .txt:
==> Installing the firefox snap
error: cannot perform the following tasks:
- Mount snap "firefox" (1943) (snap "firefox" assumes unsupported features: snapd2.54 (try to update snapd and refresh the core snap))
This problem is most probably caused when dist-upgrading to Ubuntu 22.04, if the update for firefox is installed before the update for snapd, because the firefox snap requires snapd 2.54.
This can be fixed in the firefox deb by specifying a version for the snapd Pre-Depends.