You are not logged in.
Hello, I'm getting the following errors when trying to update my system using pacman, I can't seem to install anything since it's listing my partition as full. I have a 500gb drive in and haven't filled much of anything. Here's what happens when I try to run pacman -Syu:
Total Download Size: 1875.93 MiB
Total Installed Size: 5766.68 MiB
Net Upgrade Size: 84.37 MiB
:: Proceed with installation? [Y/n]
error: Partition / too full: 485522 blocks needed, 0 blocks free
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.Here are the results of lsblk, and I'm running luks encryption on the drive. So, I'm not sure if things are being problematic from volgroup0 where it's 475GB in size, but I haven't installed
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 4K 1 loop /var/lib/snapd/snap/bare/5
loop1 7:1 0 74.1M 1 loop /var/lib/snapd/snap/core22/1033
loop2 7:2 0 74.2M 1 loop /var/lib/snapd/snap/core22/1122
loop3 7:3 0 497M 1 loop /var/lib/snapd/snap/gnome-42-2204/141
loop4 7:4 0 91.7M 1 loop /var/lib/snapd/snap/gtk-common-themes/1535
loop5 7:5 0 70.9M 1 loop /var/lib/snapd/snap/runelite/26
loop6 7:6 0 70.9M 1 loop /var/lib/snapd/snap/runelite/27
loop7 7:7 0 40.4M 1 loop /var/lib/snapd/snap/snapd/20671
loop8 7:8 0 39.1M 1 loop /var/lib/snapd/snap/snapd/21184
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part
├─nvme0n1p2 259:2 0 512M 0 part /boot
└─nvme0n1p3 259:3 0 475.9G 0 part
└─volgroup0 254:0 0 475.9G 0 crypt
├─volgroup0-lv_root 254:1 0 30G 0 lvm /
└─volgroup0-lv_home 254:2 0 445.9G 0 lvm /homeHere's the results of df:
Filesystem 1K-blocks Used Available Use% Mounted on
dev 16367028 0 16367028 0% /dev
run 16382940 1688 16381252 1% /run
efivarfs 192 48 140 26% /sys/firmware/efi/efivars
/dev/mapper/volgroup0-lv_root 30787492 30251044 0 100% /
tmpfs 16382940 8196 16374744 1% /dev/shm
tmpfs 16382940 8 16382932 1% /tmp
/dev/loop0 128 128 0 100% /var/lib/snapd/snap/bare/5
/dev/loop1 75904 75904 0 100% /var/lib/snapd/snap/core22/1033
/dev/loop2 76032 76032 0 100% /var/lib/snapd/snap/core22/1122
/dev/loop3 508928 508928 0 100% /var/lib/snapd/snap/gnome-42-2204/141
/dev/loop4 93952 93952 0 100% /var/lib/snapd/snap/gtk-common-themes/1535
/dev/loop5 72704 72704 0 100% /var/lib/snapd/snap/runelite/26
/dev/loop6 72704 72704 0 100% /var/lib/snapd/snap/runelite/27
/dev/loop7 41472 41472 0 100% /var/lib/snapd/snap/snapd/20671
/dev/loop8 40064 40064 0 100% /var/lib/snapd/snap/snapd/21184
/dev/nvme0n1p2 498900 331836 130368 72% /boot
/dev/mapper/volgroup0-lv_home 459120760 11755596 423969632 3% /home
tmpfs 3276588 52 3276536 1% /run/user/1000Last edited by heytbone (2024-04-17 16:38:28)
Offline
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
Your root partition is "only" 30GB (parrot protests in 3…2…) but that might actually be enough (unless you're trying to install 3 desktop environments and a bunch of games - the snap things there could be consumer)
du -hs /var/cacheand then just try to
sudo pacman -Scc # which will clear the pacamn cacheRe-check
df -hand if your root partition has plenty of space gained, enjoy our update.
Offline
Yeah, that worked. Thank you.
With snap being a resource hog, would recommend to get rid of that then?
Offline
sPlease always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Wrt. well do you *need* it?
If not, why is it there?
If yes, how would you go about removing it?
Offline
I'd always recommend getting rid of snap - completely independent of it being a resource hog.
But if you have use for it and want to use it - by all means keep it, but you'd then probably want to expand your root partition which you should be able to do readily given it's a LVM.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline