time ago I made a mess with kernels, triyng to remove old installations. I have an encrypted laptop, Linux Mint 18.33 Cinnamon 64-bit. I can't install anything any more, nor make updates. I asked this problem to the Italian forum but they couldn't solve it. Now:
Code: Select all
xhino@1312 ~ $ sudo apt install -f
[sudo] password for xhino:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
linux-image-4.15.0-33-generic linux-modules-4.15.0-33-generic
Suggested packages:
fdutils linux-hwe-tools
The following NEW packages will be installed
linux-image-4.15.0-33-generic linux-modules-4.15.0-33-generic
0 to upgrade, 2 to newly install, 0 to remove and 106 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/20,9 MB of archives.
After this operation, 74,4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 625946 files and directories currently installed.)
Preparing to unpack .../linux-modules-4.15.0-33-generic_4.15.0-33.36~16.04.1_amd64.deb ...
Unpacking linux-modules-4.15.0-33-generic (4.15.0-33.36~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-modules-4.15.0-33-generic_4.15.0-33.36~16.04.1_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.15.0-33-generic' to '/boot/System.map-4.15.0-33-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../linux-image-4.15.0-33-generic_4.15.0-33.36~16.04.1_amd64.deb ...
Unpacking linux-image-4.15.0-33-generic (4.15.0-33.36~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.15.0-33-generic_4.15.0-33.36~16.04.1_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.15.0-33-generic' to '/boot/vmlinuz-4.15.0-33-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-modules-4.15.0-33-generic_4.15.0-33.36~16.04.1_amd64.deb
/var/cache/apt/archives/linux-image-4.15.0-33-generic_4.15.0-33.36~16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
xhino@1312 ~ $ df -h
File system Dim. Usati Dispon. Uso% Montato su
udev 2,9G 0 2,9G 0% /dev
tmpfs 587M 8,7M 578M 2% /run
/dev/mapper/mint--vg-root 452G 276G 153G 65% /
tmpfs 2,9G 58M 2,9G 2% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 2,9G 0 2,9G 0% /sys/fs/cgroup
/dev/sda2 473M 472M 0 100% /boot
/dev/sda1 511M 3,5M 508M 1% /boot/efi
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 587M 28K 587M 1% /run/user/1000
Code: Select all
xhino@1312 ~ $ dpkg -l | grep linux-image
ri linux-image-4.10.0-38-generic 4.10.0-38.42~16.04.1 amd64 Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ri linux-image-4.13.0-43-generic 4.13.0-43.48~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
ii linux-image-4.13.0-45-generic 4.13.0-45.50~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
ii linux-image-4.15.0-24-generic 4.15.0-24.26~16.04.1 amd64 Signed kernel image generic
ii linux-image-4.15.0-29-generic 4.15.0-29.31~16.04.1 amd64 Signed kernel image generic
ii linux-image-4.15.0-30-generic 4.15.0-30.32~16.04.1 amd64 Signed kernel image generic
ii linux-image-4.15.0-32-generic 4.15.0-32.35~16.04.1 amd64 Signed kernel image generic
ri linux-image-extra-4.10.0-38-generic 4.10.0-38.42~16.04.1 amd64 Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii linux-image-extra-4.13.0-43-generic 4.13.0-43.48~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
ii linux-image-extra-4.13.0-45-generic 4.13.0-45.50~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP