this post was submitted on 16 Aug 2025
20 points (95.5% liked)

Linux

58824 readers
235 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

per my previous post I completed the upgrade to 13.0, including the 900 files I didn't get to download and install after using sudo apt update && sudo apt upgrade -y

I now have a working internet connection using a lan cable.

More important than this wlan/lan issue is this new one: each time I try to update/upgrade with either sudo apt --fix-broken install , sudo apt full-upgrade , sudo apt update && sudo apt upgrade -y I get:

`Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 3 not fully installed or removed. Space needed: 0 B / 58.6 GB available

Setting up initramfs-tools (0.148.3) ... update-initramfs: deferring update (trigger activated) Setting up plymouth (24.004.60-5) ... update-initramfs: Generating /boot/initrd.img-6.12.41+deb13-amd64 zstd: error 70 : Write error : cannot write block : No space left on device E: mkinitramfs failure cpio 141 E: mkinitramfs failure zstd -q -9 -T0 70 update-initramfs: failed for /boot/initrd.img-6.12.41+deb13-amd64 with 1. dpkg: error processing package plymouth (--configure): installed plymouth package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of plymouth-label: plymouth-label depends on plymouth (= 24.004.60-5); however: Package plymouth is not configured yet.

dpkg: error processing package plymouth-label (--configure): dependency problems - leaving unconfigured Processing triggers for initramfs-tools (0.148.3) ... update-initramfs: Generating /boot/initrd.img-6.12.41+deb13-amd64 zstd: error 70 : Write error : cannot write block : No space left on device E: mkinitramfs failure cpio 141 E: mkinitramfs failure zstd -q -9 -T0 70 update-initramfs: failed for /boot/initrd.img-6.12.41+deb13-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: plymouth plymouth-label initramfs-tools Error: Sub-process /usr/bin/dpkg returned an error code (1) `

help appreciated

all 11 comments
sorted by: hot top controversial new old
[–] JASN_DE@feddit.org 11 points 1 month ago (1 children)

Write error : cannot write block : No space left on device

Seems like your boot partition is full.

[–] Tanoh@lemmy.world 6 points 1 month ago (1 children)

For some reason the Debian installer likes to make a tiny /boot so you can only fit 2-3 kernels at most. Try removing some old ones first.

[–] arsus5478@lemmy.ml 4 points 1 month ago (4 children)

would you help the noob here and explain how to do that?

[–] stuner@lemmy.world 2 points 1 month ago

I've created a small helper script to help me with this:

#!/bin/bash
USED_VER=$(uname -r)
echo "Kernel version in use: $USED_VER"

echo "Other installed versions:"
dpkg --list 'linux-image*' | grep ^ii | grep -v $USED_VER

echo "Remove unneeded packages above using the following command:"
echo "sudo apt remove linux-image-VERSION"

It prints a list of the installed kernels (excl. the running one) and prints the command to uninstall the packages (it doesn't remove anything by itself).

[–] Tanoh@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

Something like dpkg -l '*linux-image*' and then see which are installed (ii), and then do a dpkg remove <package name from above> on some, but don't remove the one you are running now, check uname -a to see.

Keep in mind this is all from memory, so might be wrong

Edit: now I see others replied as well with better ways

[–] krolden@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

apt autoremove should do it

[–] Goingdown@sopuli.xyz 3 points 1 month ago

Note. Before rebooting, regenerate initramfs for all kernel versions. I am not in debian, but dpkg-reconfigure initramfs-tools might do it.