I am trying to recover according to
but when I issue the pacman command it says no space left on device. All the mounts went well without errors I was able to chroot.
I am trying to recover according to
but when I issue the pacman command it says no space left on device. All the mounts went well without errors I was able to chroot.
What you may need to do is clear the leftover Pacman cache files to clear up some space.
du -h /var/cache/pacman/pkg/
ā¦ a quick way of clearing this (probably not the recommended way, but itās what I typically use):
rm -rf /var/cache/pacman/pkg/*
ā¦ from within chroot
. (Iāve just cleared ~23G out of mine!
)
A bit more system info may be helpful though, e.g. the output of
`inxi -zv8`.
Hope this helps.
Thank you, it helped! I had 14 G in the cache.
After rebooting, my system was fine except it still said there was no space left on device. Plasma was slow. I was able to run filelight from Konsole and had to remove Cyberpunk steam folders . Very weird, because
df -h
did not say any space was missing. Is there something wrong with btrfs?
Psstā¦ I also leave this here in case it is useful.
This is the sledgehammer approach. It could be started milder and also using the foreseen commands for pacman cache cleaning:
https://wiki.archlinux.org/title/Pacman#Cleaning_the_package_cache
It is why I said itās not the recommended approach.
That link is indeed useful as Iāve always had a habit of doing things manually.
Inodes perhaps? Try df -hi
If you are using btrfs it requires special maintenance.
See for example;
My ācleanā abbreviation/alias for a quick cleanup based on my system:
sudo pacman -Sc && pamac clean --build-files && paccache -rvuk0 && flatpak uninstall --unused
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.