package firefox 1:1snap1-0ubuntu2 failed to install/upgrade: new firefox package pre-installation script subprocess returned error exit status 1

Bug #1992678 reported by Sleepy John
10
This bug affects 2 people
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
ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
Uname: Linux 5.15.0-50-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Oct 11 21:03:22 2022
ErrorMessage: new firefox package pre-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 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-12T11:31:22+07:00 2022-10-12T11:33:55+07:00 Install "firefox" snap
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)

Revision history for this message
Sleepy John (john-eyre) wrote :
Paul White (paulw2u)
affects: ubuntu → firefox (Ubuntu)
Revision history for this message
Olivier Tilloy (osomon) wrote :

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.

Changed in firefox (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in firefox (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package firefox - 1:1snap1-0ubuntu3

---------------
firefox (1:1snap1-0ubuntu3) lunar; urgency=medium

  * Update the Vcs-Bzr URL for Ubuntu 23.04 (the Lunar Lobster)
    - debian/control

 -- Olivier Tilloy <email address hidden> Sun, 06 Nov 2022 12:26:12 +0100

Changed in firefox (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.