Something went wrong during my recent update process.
I now try:
sudo apt-get dist-upgrade
and get errors.
As such I try:
sudo apt autoremove
and continue to get errors.
In the past sudo apt autoremove would fix my /boot full issues, but today it's not working.
I'm so lost as to what to do.
It says:
"2 not fully installed or removed."
However both commands to either upgrade or remove dont work.
Log below.
Would love some assistance!
Code:
admin@user123:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.173.8) ...
update-initramfs: Generating /boot/initrd.img-5.1.15-050115-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-5.1.15-050115-generic with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-5.1.15-050115-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-5.1.15-050115-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-firmware
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
admin@user123:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.173.8) ...
update-initramfs: Generating /boot/initrd.img-5.1.15-050115-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-5.1.15-050115-generic with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-5.1.15-050115-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-5.1.15-050115-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-firmware
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
admin@user123:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1975276 0 1975276 0% /dev
tmpfs 403696 864 402832 1% /run
/dev/mapper/user123--vg-root 22079356 6237464 14697268 30% /
tmpfs 2018472 0 2018472 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 2018472 0 2018472 0% /sys/fs/cgroup
/dev/sda1 482922 443870 14118 97% /boot
tmpfs 403692 0 403692 0% /run/user/1000
admin@user123:~$