Snap crashes while firefox upgrade.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
What Happened:
Firefox is not installed(I am not using firefox browser. I uninstalled.) so not needed to upgrade. While installing upgrade internet connection is gone for a while(I think it is because of uninstalling network manager while upgrade. Ubuntu cant connect via network manager until network manager reinstalled. ). This also could be a crash reason.
What Expected:
Upgrade can give warning about firefox instead of crashing themself.
ProblemType: Package
DistroRelease: Ubuntu 22.10
Package: firefox (not installed)
ProcVersionSign
Uname: Linux 5.19.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
Date: Sat Dec 17 16:59:21 2022
ErrorMessage: new firefox package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-12-17 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.9ubuntu1
apt 2.5.3
SourcePackage: firefox
Title: package firefox (not installed) failed to install/upgrade: new firefox package pre-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to kinetic on 2022-12-17 (0 days ago)
tags: | removed: need-duplicate-check |
Hello, and sorry for the slow reply here.
Were you trying to upgrade your installed packages, or upgrade your Ubuntu installation as a whole to a newer release of Ubuntu?
Also, in addition to removing the Firefox snap package, had you removed its corresponding deb helper package too? (using e.g. 'sudo apt remove fireofx')
I believe a reason this happened may have been that the 'ubuntu-desktop' and 'ubuntu- desktop- minimal' packages declare 'firefox' in their 'Recommends' section, which I think by default results in apt trying to install/upgrade them when upgrading packages.
As such, if you were trying to upgrade your installed packages, you could try something like 'sudo apt upgrade --no-install- recommends' to tell apt not to pull in 'Recommends' packages.