I have the same issue. This is a brand new system and installation of 23.10 and the first thing i am doing is upgrading the headers so i can install VMware. I am also using TPM-backed hardware encryption.
$ sudo apt-get install linux-headers-6.5.0-10-generic -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
linux-headers-6.5.0-10-generic
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/3,737 kB of archives.
After this operation, 28.8 MB of additional disk space will be used.
(Reading database ... 122496 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.5.0-10-generic_6.5.0-10.10_amd64.deb ...
Unpacking linux-headers-6.5.0-10-generic (6.5.0-10.10) over (6.5.0-10.10) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-6.5.0-10-generic_6.5.0-10.10_amd64.deb (--unpack):
error creating directory './lib/modules/6.5.0-10-generic': Read-only file system
dpkg: error while cleaning up:
unable to remove newly-extracted version of '/lib/modules/6.5.0-10-generic': Read-only file system
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-6.5.0-10-generic_6.5.0-10.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have the same issue. This is a brand new system and installation of 23.10 and the first thing i am doing is upgrading the headers so i can install VMware. I am also using TPM-backed hardware encryption.
$ sudo apt-get install linux-headers- 6.5.0-10- generic -y headers- 6.5.0-10- generic headers- 6.5.0-10- generic_ 6.5.0-10. 10_amd64. deb ... 6.5.0-10- generic (6.5.0-10.10) over (6.5.0-10.10) ... apt/archives/ linux-headers- 6.5.0-10- generic_ 6.5.0-10. 10_amd64. deb (--unpack): modules/ 6.5.0-10- generic' : Read-only file system 6.5.0-10- generic' : Read-only file system apt/archives/ linux-headers- 6.5.0-10- generic_ 6.5.0-10. 10_amd64. deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
linux-
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/3,737 kB of archives.
After this operation, 28.8 MB of additional disk space will be used.
(Reading database ... 122496 files and directories currently installed.)
Preparing to unpack .../linux-
Unpacking linux-headers-
dpkg: error processing archive /var/cache/
error creating directory './lib/
dpkg: error while cleaning up:
unable to remove newly-extracted version of '/lib/modules/
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)