I'm running Debian Buster and ran the usual check for updates etc. commands
When I did the system update I hit this error
update-initramfs: Generating /boot/initrd.img-4.19.0-22-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-4.19.0-22-amd64 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:
initramfs-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
so it looks like I'm running out of space and it could be the linux image(s) I have taking up space? Is that correct?
What is the best way to remove some of the old ones safely?
Or am is mis-reading this?
Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz
Well Start with sudo apt auto-remove
This will get rid of unused dependencies.
Then sudo apt clean
this will clear the cache.
Aside from that you will have to find things taking up space you want to remove. If this is on a pi with SD might be time to back it up and reflash to a larger card. you can use DD to back up to am image and again to put it on a larger card, or even better flash it to a HDD/SSD and use that.
If your on PC then you can just add more space to your install.
I'm sure there is some super advanced Linux guy on here that will be more assistance.
I would be happy to let you pick my brain if you like. I have a Teamspeak server @ voice.clawfest.com. No password I typically get on daily around 5:30ish CST and stay on till I go to bed usually around ~10ish.
|23|04Dr|16|12Claw
|16|14Sysop |12Noverdu |14BBS |04(|14Noverdu.com|04)
|10Standard Ports for SSH/Telnet Web/
HTTP://|14Noverdu.com:808
|20|15fsxNet/MRC Chat/Registered Doors!/50Nodes/No Time Use! Stay On!|16|07
--- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
* Origin: Noverdu BBS (21:1/210)