You are not logged in.

#1 2020-05-06 01:14:03

leventkaya
Member
Registered: 2019-12-28
Posts: 8

Pacman Partition too full error

Hello when I want to upgrade my system I got

error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

error. my df -h output is:

dev             1,9G     0  1,9G   0% /dev
run             1,9G  1,4M  1,9G   1% /run
/dev/sda3        15G   14G   55M 100% /
tmpfs           1,9G   24M  1,9G   2% /dev/shm
tmpfs           1,9G     0  1,9G   0% /sys/fs/cgroup
tmpfs           1,9G  228K  1,9G   1% /tmp
/dev/sda1       197M  134K  197M   1% /boot/efi
/dev/sda4       438G   34G  382G   9% /home
tmpfs           386M   20K  386M   1% /run/user/1000

as you see, my /dev/sda3 is full totaly and I think pacman downloads thinks /dev/sda3. How can I solve this should I change my download direction to /dev/sda4 ? I delete the unused packages with

 sudo pacman -Sc

but as you know this is just a temporary fix.

Offline

#2 2020-05-06 01:31:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: Pacman Partition too full error

What's taking up the space?  Are you aware of having several extremely large packages installed (e.g., all the major DEs, or multiple large media-heavy games)?

Or are your logs growing out of control?

What's the output of the following:

# du -hd1 /

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-05-06 01:34:56

leventkaya
Member
Registered: 2019-12-28
Posts: 8

Re: Pacman Partition too full error

I don't have any large games but I have several DE's. my

du -hd1 /

output is:

54M	/boot
36K	/tmp
3,6G	/var
16K	/lost+found
0	/dev

Offline

#4 2020-05-06 01:46:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: Pacman Partition too full error

That's not the full output.  In any case, dig into the biggest directories and figure out what's taking up space.  Even with several DEs, you'd not use up that much space with a clear cache.  /var isn't the primary culprit, but 3.6G is rather large, so that could likely be trimmed a bit.  But the main space-eaters are not in the output you provided.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2020-05-06 21:28:01

MikeD
Member
Registered: 2020-05-06
Posts: 3

Re: Pacman Partition too full error

I have several DE's

For that, 15GB root partition seems to be a bit too small, in my opinion.

Offline

#6 2020-05-06 22:45:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: Pacman Partition too full error

Even if you install *every package* from gnome, plasma, and xfce4, that ammounts to about 2.5G.

With the cache emptied, there's no way that's accounting for a major portion of the space which is why I'm suggesting identifying the problem before just buying a little bit more time.

Last edited by Trilby (2020-05-06 22:47:28)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB