I'm running Debian 12 on a Minifree laptop. Updates are installed via Discover but of late, one update will not install - the following message is dsiplayed:
I presume that the older kernel images can be removed but Aadvice is to use apt-get autoremove rather than delete the files manually. Running that command produces the following:
The cause appears to be that sda1 is full. There are multiple vmlinuz versions up to vmlinuz-6.1.0-25-amd64 on sda1 but initrd files only up to initrd.img-6.1.0-21-amd64, so I assume that up to kernel 6.1.0-21 is installed.Error while installing package: cannot copy extracted data for './boot/vmlinuz-6.1.0-26-amd64' to '/boot/vmlinuz-6.1.0-26-amd64.dpkg-new'
I presume that the older kernel images can be removed but Aadvice is to use apt-get autoremove rather than delete the files manually. Running that command produces the following:
So i run the --fix broken install options:xxxx@debian:~$ sudo apt-get autoremove
[sudo] password for xxxx:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-image-amd64 : Depends: linux-image-6.1.0-26-amd64 (= 6.1.112-1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So I'm in a chicken-and-egg situation where each command recommends the other but neither works. If anyone has a solution, I would be very grateful.xxxx@debian:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
homebank-data libdbus-glib-1-2 libwpe-1.0-1 libwpebackend-fdo-1.0-1 linux-image-6.1.0-15-amd64 linux-image-6.1.0-16-amd64 linux-image-6.1.0-17-amd64
linux-image-6.1.0-18-amd64 linux-image-6.1.0-20-amd64 linux-image-6.1.0-22-amd64 linux-image-6.1.0-23-amd64
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-image-6.1.0-26-amd64
Suggested packages:
linux-doc-6.1 debian-kernel-handbook
The following NEW packages will be installed:
linux-image-6.1.0-26-amd64
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
137 not fully installed or removed.
Need to get 0 B/68.9 MB of archives.
After this operation, 408 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 227985 files and directories currently installed.)
Preparing to unpack .../linux-image-6.1.0-26-amd64_6.1.112-1_amd64.deb ...
Unpacking linux-image-6.1.0-26-amd64 (6.1.112-1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-6.1.0-26-amd64_6.1.112-1_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-6.1.0-26-amd64' to '/boot/vmlinuz-6.1.0-26-amd64.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-6.1.0-26-amd64_6.1.112-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Statistics: Posted by strontium_dog — 2024-11-12 00:28 — Replies 4 — Views 116