package linux-firmware 20220329.git681281e4-0ubuntu3.9 failed to install/upgrade: unable to open '/lib/firmware/iwlwifi-3945-2.ucode.dpkg-new': Operation not permitted

Bug #2007832 reported by Geoffroy de Guillebon
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
linux-firmware (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

on system update

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-firmware 20220329.git681281e4-0ubuntu3.9
ProcVersionSignature: Ubuntu 5.15.0-57.63-generic 5.15.74
Uname: Linux 5.15.0-57-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gdeguillebon 3253 F.... pulseaudio
CasperMD5CheckResult: unknown
Date: Mon Feb 20 11:03:39 2023
Dependencies: firmware-sof-signed 2.0-1ubuntu4
DuplicateSignature:
 package:linux-firmware:20220329.git681281e4-0ubuntu3.9
 Unpacking language-pack-gnome-en-base (1:22.04+20230209) over (1:22.04+20220721) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-mrVOLl/06-language-pack-gnome-en-base_1%3a22.04+20230209_all.deb (--unpack):
  unable to open '/usr/share/locale-langpack/en_US/LC_MESSAGES/evolution.mo.dpkg-new': Operation not permitted
ErrorMessage: unable to open '/lib/firmware/iwlwifi-3945-2.ucode.dpkg-new': Operation not permitted
InstallationDate: Installed on 2020-07-01 (963 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
MachineType: LENOVO 81N4
PackageArchitecture: all
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
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: /usr/bin/python3.10, Python 3.10.6, unpackaged
RelatedPackageVersions: grub-pc 2.06-2ubuntu7.1
SourcePackage: linux-firmware
Title: package linux-firmware 20220329.git681281e4-0ubuntu3.9 failed to install/upgrade: unable to open '/lib/firmware/iwlwifi-3945-2.ucode.dpkg-new': Operation not permitted
UpgradeStatus: Upgraded to jammy on 2022-09-05 (167 days ago)
dmi.bios.date: 12/16/2019
dmi.bios.release: 1.30
dmi.bios.vendor: LENOVO
dmi.bios.version: AHCN30WW(V2.07)
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo IdeaPad C340-14IWL
dmi.ec.firmware.release: 2.30
dmi.modalias: dmi:bvnLENOVO:bvrAHCN30WW(V2.07):bd12/16/2019:br1.30:efr2.30:svnLENOVO:pn81N4:pvrLenovoIdeaPadC340-14IWL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoIdeaPadC340-14IWL:skuLENOVO_MT_81N4_BU_idea_FM_IdeaPadC340-14IWL:
dmi.product.family: IdeaPad C340-14IWL
dmi.product.name: 81N4
dmi.product.sku: LENOVO_MT_81N4_BU_idea_FM_IdeaPad C340-14IWL
dmi.product.version: Lenovo IdeaPad C340-14IWL
dmi.sys.vendor: LENOVO

Revision history for this message
Geoffroy de Guillebon (gdeguillebon) wrote :
tags: removed: need-duplicate-check
Juerg Haefliger (juergh)
tags: added: kern-5770
Revision history for this message
Juerg Haefliger (juergh) wrote :

There's also this in the dpkg log:
dpkg: error processing archive /tmp/apt-dpkg-install-mrVOLl/06-language-pack-gnome-en-base_1%3a22.04+20230209_all.deb (--unpack):
 unable to open '/usr/share/locale-langpack/en_US/LC_MESSAGES/evolution.mo.dpkg-new': Operation not permitted

This typically points to a HW (disk) problem. Can you check the health of your disk?

Revision history for this message
Juerg Haefliger (juergh) wrote :

Oh this:

[ 93.037087] PM: suspend entry (deep)
[ 93.113049] Filesystems sync: 0.075 seconds
[ 93.234415] Freezing user space processes ...
[ 113.240857] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
[ 113.240928] task:PK-Backend state:D stack: 0 pid: 6301 ppid: 1 flags:0x00000006
[ 113.240940] Call Trace:
[ 113.240946] <TASK>
[ 113.240955] __schedule+0x24e/0x590
[ 113.240970] ? __wake_up_common_lock+0x8a/0xc0
[ 113.240984] schedule+0x69/0x110
[ 113.240993] fanotify_get_response.constprop.0+0xed/0x1e0
[ 113.241006] ? wait_woken+0x70/0x70
[ 113.241016] fanotify_handle_event+0x207/0x270
[ 113.241028] send_to_group+0x105/0x2f0
[ 113.241038] fsnotify+0x26b/0x410
[ 113.241050] __fsnotify_parent+0xff/0x2f0
[ 113.241058] ? ext4_lookup.part.0+0x120/0x230
[ 113.241073] fsnotify_perm.part.0+0x6e/0x160
[ 113.241084] ? fsnotify_perm.part.0+0x6e/0x160
[ 113.241093] security_file_open+0x40/0x50
[ 113.241105] do_dentry_open+0xf5/0x390
[ 113.241118] vfs_open+0x2d/0x40
[ 113.241128] do_open+0x20d/0x470
[ 113.241137] ? path_init+0x2c0/0x3f0
[ 113.241147] path_openat+0x112/0x2b0
[ 113.241155] ? path_openat+0xc4/0x2b0
[ 113.241166] do_filp_open+0xb2/0x160
[ 113.241179] ? __check_object_size+0x1d/0x30
[ 113.241188] ? alloc_fd+0x53/0x180
[ 113.241201] do_sys_openat2+0x9f/0x160
[ 113.241214] __x64_sys_openat+0x55/0x90
[ 113.241225] do_syscall_64+0x59/0xc0
[ 113.241235] ? __rseq_handle_notify_resume+0x2d/0xc0
[ 113.241243] ? exit_to_user_mode_loop+0x10d/0x160
[ 113.241256] ? exit_to_user_mode_prepare+0x37/0xb0
[ 113.241265] ? syscall_exit_to_user_mode+0x27/0x50
[ 113.241275] ? __x64_sys_close+0x11/0x50
[ 113.241284] ? do_syscall_64+0x69/0xc0
[ 113.241291] ? exit_to_user_mode_prepare+0x37/0xb0
[ 113.241300] ? syscall_exit_to_user_mode+0x27/0x50
[ 113.241310] ? __x64_sys_close+0x11/0x50
[ 113.241318] ? do_syscall_64+0x69/0xc0
[ 113.241325] ? do_syscall_64+0x69/0xc0
[ 113.241333] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 113.241346] RIP: 0033:0x7f494fbb0764
[ 113.241354] RSP: 002b:00007f493dde0700 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
[ 113.241363] RAX: ffffffffffffffda RBX: 00007f4938039820 RCX: 00007f494fbb0764
[ 113.241369] RDX: 0000000000000000 RSI: 00007f4938b81fc0 RDI: 00000000ffffff9c
[ 113.241374] RBP: 00007f4938b81fc0 R08: 0000000000000000 R09: 0000000000000001
[ 113.241379] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
[ 113.241384] R13: 00007f494ce90713 R14: 00007f4938b81fc0 R15: 00007f493dde0b30
[ 113.241395] </TASK>

Changed in linux-firmware (Ubuntu):
status: New → Invalid
Revision history for this message
Juerg Haefliger (juergh) wrote :

Also:

[ 3.415104] usb 1-6: new high-speed USB device number 4 using xhci_hcd
[ 4.315148] usb usb1-port6: Cannot enable. Maybe the USB cable is bad?
[ 4.315424] usb usb1-port6: attempt power cycle
[ 5.531116] usb usb1-port6: Cannot enable. Maybe the USB cable is bad?

What is plugged into that port?

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.