What happens when you run sudo apt autoremove?
In my case while the directories /lib/modules are still present (e.g. /lib/modules/6.1.0-rpi4-rpi-v8) they don'tcontain a kernels sub directory nor do they contain symlinks for build and source.
Code:
pi@devpi:~/dev/initramfs $ ls -l /lib/modules/6.1.0-rpi4-rpi-v8total 2476-rw-r--r-- 1 root root 627360 Oct 10 2023 modules.alias-rw-r--r-- 1 root root 654619 Oct 10 2023 modules.alias.bin-rw-r--r-- 1 root root 7658 Oct 10 2023 modules.builtin.alias.bin-rw-r--r-- 1 root root 18916 Oct 10 2023 modules.builtin.bin-rw-r--r-- 1 root root 237825 Oct 10 2023 modules.dep-rw-r--r-- 1 root root 318973 Oct 10 2023 modules.dep.bin-rw-r--r-- 1 root root 384 Oct 10 2023 modules.devname-rw-r--r-- 1 root root 985 Oct 10 2023 modules.softdep-rw-r--r-- 1 root root 292974 Oct 10 2023 modules.symbols-rw-r--r-- 1 root root 355856 Oct 10 2023 modules.symbols.bin
Sorry, didin't think to take a before ls.
[edit]
In hindsight that's probably not much use without a before...
[/edit]
Statistics: Posted by thagrol — Sun Sep 08, 2024 10:44 pm