Installation for linux-firmware fails with "Read-only system" error

Bug #2036419 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-desktop-installer
Fix Released
Critical
Unassigned
boot-managed-by-snapd (Ubuntu)
Fix Released
Critical
Łukasz Zemczak

Bug Description

Mantic up to date.

During a package update, linux-firmware fails with:

Unpacking linux-firmware (20230915.gitdfa11466-0ubuntu1) over (20230815.git0e048b06-0ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-HAuVtE/00-linux-firmware_20230915.gitdfa11466-0ubuntu1_amd64.deb (--unpack):
 unable to create '/lib/firmware/1a98-INTEL-EDK2-2-tplg.bin.zst.dpkg-new' (while processing './lib/firmware/1a98-INTEL-EDK2-2-tplg.bin.zst'): Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/lib/firmware/1a98-INTEL-EDK2-2-tplg.bin.zst': Read-only file system
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

Tags: fde
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in ubuntu-desktop-installer:
importance: Undecided → Critical
tags: added: fde
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I believe it is a bug in boot-managed-by-snapd, because it should conflict on linux-firmware too.

On FDE installs /lib/firmware is mounted from the kernel snap, and must not be updated by any .deb packages.

Ditto any other packages that ship firmware. i.e. firmware-sof-signed

Changed in boot-managed-by-snapd (Ubuntu):
importance: Undecided → Critical
Changed in ubuntu-desktop-installer:
status: New → Triaged
Changed in boot-managed-by-snapd (Ubuntu):
status: New → Triaged
Changed in boot-managed-by-snapd (Ubuntu):
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in boot-managed-by-snapd (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Pushed to mantic, let's see if I didn't mess anything up.

Changed in boot-managed-by-snapd (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-desktop-installer:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package boot-managed-by-snapd - 3

---------------
boot-managed-by-snapd (3) mantic; urgency=medium

  * Conflict on the linux-firmware package as well (LP: #2036419).

 -- Łukasz 'sil2100' Zemczak <email address hidden> Wed, 20 Sep 2023 15:33:06 +0200

Changed in boot-managed-by-snapd (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-desktop-installer:
status: Fix Committed → Fix Released
Revision history for this message
Marcos Alano (mhalano) wrote :

Got this same problem today, after sometime without updating my VM that uses FDE. I just updated the boot-managed-by-snapd package and now it's asking to remove the linux-firmware package, what is the correct approach I guess, but the removal always fail. How can I remove the package in the "hard way"?

Revision history for this message
Marcos Alano (mhalano) wrote :

Nevermind. For reference I used the solution from this page: https://stackoverflow.com/questions/48431372/removing-broken-packages-in-ubuntu

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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