package linux-headers-6.8.0-35-generic 6.8.0-35.35 failed to install/upgrade: cannot remove '/lib/modules/6.8.0-35-generic/build': Read-only file system

Bug #2068038 reported by My Account
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

There was a kernel update from 6.8.0-31 to 6.8.0-35 and now I cannot remove the linux-headers-6.8.0-31-generic anymore ("Read-only file system"). I have TPM-based FDE enabled which apparently causes issues with old linux-headers.

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: linux-headers-6.8.0-35-generic 6.8.0-35.35
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
AptOrdering:
 linux-headers-6.8.0-35-generic:amd64: Remove
 NULL: ConfigurePending
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
Date: Tue Jun 4 17:21:46 2024
DpkgTerminalLog:
 Removing linux-headers-6.8.0-35-generic (6.8.0-35.35) ...
 dpkg: error processing package linux-headers-6.8.0-35-generic (--remove):
  cannot remove '/lib/modules/6.8.0-35-generic/build': Read-only file system
 dpkg: too many errors, stopping
ErrorMessage: cannot remove '/lib/modules/6.8.0-35-generic/build': Read-only file system
MachineType: Default string Default string
ProcFB: 0 i915drmfb
ProcKernelCmdLine: snapd_recovery_mode=run console=ttyS0,115200n8 console=tty1 panic=-1 quiet splash
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions: grub-pc N/A
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Title: package linux-headers-6.8.0-35-generic 6.8.0-35.35 failed to install/upgrade: cannot remove '/lib/modules/6.8.0-35-generic/build': Read-only file system
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/24/2023
dmi.bios.release: 5.27
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 5.27
dmi.board.asset.tag: Default string
dmi.board.name: Default string
dmi.board.vendor: Default string
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvr5.27:bd08/24/2023:br5.27:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: Default string
dmi.product.name: Default string
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Default string

Revision history for this message
My Account (ubuntok) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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