installation of kernel headers fail with "Read-only file system" error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-desktop-installer |
Won't Fix
|
High
|
Unassigned | ||
linux (Ubuntu) |
In Progress
|
High
|
Dimitri John Ledkov |
Bug Description
Mantic 20230907
Installation of packages that ship files in /lib/modules or /lib/firmware are expected to fail, so their installation must be prevented.
For instance:
$ apt install linux-headers-
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-
The following packages will be upgraded:
linux-
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
51 not fully installed or removed.
Need to get 0 B/3,667 kB of archives.
After this operation, 27.9 MB of additional disk space will be used.
(Reading database ... 132615 files and directories currently installed.)
Preparing to unpack .../linux-
Unpacking linux-headers-
dpkg: error processing archive /var/cache/
error creating symbolic link './lib/
dpkg: error while cleaning up:
unable to remove newly-extracted version of '/lib/modules/
Errors were encountered while processing:
/var/cache/
Changed in ubuntu-desktop-installer: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: fde |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu): | |
milestone: | none → ubuntu-25.04-beta |
in general, it is useful to be able to install kernel headers even on the confined system.
Potentially need to change something on either the deb, snap, or both side to make all of that work.