Public bug reported:

Here's the apt upgrade output:

me@host:~$ sudo apt install firefox
[sudo] password for me: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 xul-ext-ubufox
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  firefox
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/72.3 kB of archives.
After this operation, 210 MB disk space will be freed.
Preconfiguring packages ...
(Reading database ... 221702 files and directories currently installed.)
Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_arm64.deb ...
=> Installing the firefox snap
==> Checking connectivity with the snap store
==> Installing the firefox snap
error: cannot perform the following tasks:
- Run hook connect-plug-host-hunspell of snap "firefox" (run hook 
"connect-plug-host-hunspell": cannot perform operation: mount --bind 
/snap/core20/current/etc/nsswitch.conf /tmp/s
nap.rootfs_yMyxE3/etc/nsswitch.conf: Permission denied)
dpkg: error processing archive 
/var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_arm64.deb (--unpack):
 new firefox package pre-installation script subprocess returned error exit 
status 1
Please restart all running instances of firefox, or you will experience 
problems.
Errors were encountered while processing:
 /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: firefox 107.0+build2-0ubuntu0.20.04.1
Uname: Linux 4.9.333-86 aarch64
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: arm64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  lightdm    3473 F.... pulseaudio
                      chombier   3649 F.... pulseaudio
BuildID: 20221110173214
CasperMD5CheckResult: skip
Channel: Unavailable
Date: Sun Nov 27 13:34:58 2022
ErrorMessage: new firefox package pre-installation script subprocess returned 
error exit status 1
ForcedLayersAccel: False
IfupdownConfig:
 # ifupdown has been replaced by netplan(5) on this system.  See
 # /etc/netplan for current configuration.
 # To re-enable ifupdown on this system, you can run:
 #    sudo apt install ifupdown
IpRoute:
 default via 192.168.1.1 dev eth0 proto dhcp metric 100 
 169.254.0.0/16 dev eth0 scope link metric 1000 
 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.49 metric 100
Lspci:
 
NoProfiles: True
PciNetwork:
 
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
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
RunningIncompatibleAddons: False
SourcePackage: firefox
Title: package firefox 107.0+build2-0ubuntu0.20.04.1 failed to install/upgrade: 
new firefox package pre-installation script subprocess returned error exit 
status 1
UpgradeStatus: Upgraded to jammy on 2022-11-27 (0 days ago)

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package arm64 jammy need-duplicate-check

-- 
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/1998050

Title:
  package firefox 107.0+build2-0ubuntu0.20.04.1 failed to
  install/upgrade: new firefox package pre-installation script
  subprocess returned error exit status 1

Status in firefox package in Ubuntu:
  New

Bug description:
  Here's the apt upgrade output:

  me@host:~$ sudo apt install firefox
  [sudo] password for me: 
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following packages were automatically installed and are no longer 
required:
    libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 xul-ext-ubufox
  Use 'sudo apt autoremove' to remove them.
  The following packages will be upgraded:
    firefox
  1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/72.3 kB of archives.
  After this operation, 210 MB disk space will be freed.
  Preconfiguring packages ...
  (Reading database ... 221702 files and directories currently installed.)
  Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_arm64.deb ...
  => Installing the firefox snap
  ==> Checking connectivity with the snap store
  ==> Installing the firefox snap
  error: cannot perform the following tasks:
  - Run hook connect-plug-host-hunspell of snap "firefox" (run hook 
"connect-plug-host-hunspell": cannot perform operation: mount --bind 
/snap/core20/current/etc/nsswitch.conf /tmp/s
  nap.rootfs_yMyxE3/etc/nsswitch.conf: Permission denied)
  dpkg: error processing archive 
/var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_arm64.deb (--unpack):
   new firefox package pre-installation script subprocess returned error exit 
status 1
  Please restart all running instances of firefox, or you will experience 
problems.
  Errors were encountered while processing:
   /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_arm64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: firefox 107.0+build2-0ubuntu0.20.04.1
  Uname: Linux 4.9.333-86 aarch64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.25
  Architecture: arm64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  lightdm    3473 F.... pulseaudio
                        chombier   3649 F.... pulseaudio
  BuildID: 20221110173214
  CasperMD5CheckResult: skip
  Channel: Unavailable
  Date: Sun Nov 27 13:34:58 2022
  ErrorMessage: new firefox package pre-installation script subprocess returned 
error exit status 1
  ForcedLayersAccel: False
  IfupdownConfig:
   # ifupdown has been replaced by netplan(5) on this system.  See
   # /etc/netplan for current configuration.
   # To re-enable ifupdown on this system, you can run:
   #    sudo apt install ifupdown
  IpRoute:
   default via 192.168.1.1 dev eth0 proto dhcp metric 100 
   169.254.0.0/16 dev eth0 scope link metric 1000 
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.49 metric 100
  Lspci:
   
  NoProfiles: True
  PciNetwork:
   
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  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
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Title: package firefox 107.0+build2-0ubuntu0.20.04.1 failed to 
install/upgrade: new firefox package pre-installation script subprocess 
returned error exit status 1
  UpgradeStatus: Upgraded to jammy on 2022-11-27 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1998050/+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