package firefox (not installed) failed to install/upgrade: new firefox package pre-installation script subprocess returned error exit status 1

Bug #2037411 reported by Catalin Manea

This bug report will be marked for expiration in 38 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

sudo apt install firefox
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  firefox
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 72,3 kB of archives.
After this operation, 261 kB of additional disk space will be used.
Get:1 http://ro.archive.ubuntu.com/ubuntu jammy/main amd64 firefox amd64 1:1snap1-0ubuntu2 [72,3 kB]
Fetched 72,3 kB in 1s (115 kB/s)
Preconfiguring packages ...
Selecting previously unselected package firefox.
(Reading database ... 273819 files and directories currently installed.)
Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_amd64.deb ...
=> Installing the firefox snap
==> Checking connectivity with the snap store
==> Installing the firefox snap
error: cannot perform the following tasks:
- Copy snap "firefox" data (unlinkat /var/snap/firefox/common/host-hunspell/en_US.aff: read-only file system)
- Run hook connect-plug-host-hunspell of snap "firefox" (run hook "connect-plug-host-hunspell": cannot locate base snap core22: No such file or directory)
dpkg: error processing archive /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb (--unpack):
 new firefox package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: firefox (not installed)
ProcVersionSignature: Ubuntu 6.2.0-33.33~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-33-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
AptOrdering:
 firefox:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Sep 26 15:20:23 2023
ErrorMessage: new firefox package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-08-08 (48 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.10
SourcePackage: firefox
Title: package firefox (not installed) failed to install/upgrade: new firefox package pre-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Catalin Manea (catamc90) wrote :
description: updated
Revision history for this message
Amin Bandali (bandali) wrote :

Hello,

I realize it's pretty late now (apologies for that) but do you happen to have the systemd journal logs from the time of this failure? Could you reproduce this issue today if you were to attempt another upgrade on a similar system with up-to-date packages? Were there any non-typical system configuration aspects? The logs suggest that the core22 snap could not be located, which is very strange and unexpected. Without further details I'm afraid there's not much to go on by to try and debug this.

Thanks.

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
Catalin Manea (catamc90) wrote :

Hello,
Sorry, I delete old Ubuntu system.
I have this error for to many times.

Revision history for this message
Amin Bandali (bandali) wrote :

Hi,

Okay no problem, and thank you anyway for reporting the, and sorry again for the late reply.

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.