You are not logged in.

#1 2015-01-06 23:25:32

caravanlizzy
Member
Registered: 2013-10-07
Posts: 91

[solved] cannot update because of full /var partition

hello,

i have problems updating my packages, because my /var partition is full.

Total Download Size:     253.57 MiB
Total Installed Size:   1009.80 MiB
Net Upgrade Size:      -1949.50 MiB

:: Proceed with installation? [Y/n] y
error: Partition /var too full: 70069 blocks needed, 52290 blocks free
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

to solve this i tried to delete some *.tar.xz files in /var/cache/pacman/pkg, thinking they wouldnt be needed anymore as they are installed already. i could update then, but after a reboot, i had to fix it with

 pacman-db-upgrade 

. should i try to resize my partitions, or is there any easy solution?

thanks lizzy

Last edited by caravanlizzy (2015-01-07 00:08:24)

Offline

#2 2015-01-06 23:31:36

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [solved] cannot update because of full /var partition

I don't see your problem.

You didn't have enough free space to update so you cleared some space and the update then worked. All good.

You only had to run pacman-db-upgrade because pacman was updated to version 4.2. Everyone had to do this, it has nothing to do with your free space issue.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-01-06 23:46:32

caravanlizzy
Member
Registered: 2013-10-07
Posts: 91

Re: [solved] cannot update because of full /var partition

but now i have the same problem again! my conclusion was, that the files i deleted were downloaded with the upgrade, so that my problem will occur every time again. (i didnt really figure out what pacman-db does, maybe that would help me...) sorry for being stupid once again!

Last edited by caravanlizzy (2015-01-06 23:50:41)

Offline

#4 2015-01-06 23:57:03

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

Re: [solved] cannot update because of full /var partition

What the heck were you doing in that pacman transation?  1 GB was added, and nearly 2 GB removed?

I can't help but suspect that was part of it.  But in either case, you should check what is filling up /var/ as the package cache should not be a major issue.  Are logs filling up?  In other words, are you ignoring your computer screaming at you about some other problem?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-01-07 00:05:27

caravanlizzy
Member
Registered: 2013-10-07
Posts: 91

Re: [solved] cannot update because of full /var partition

well, the cache takes 12GB of my 13GB /var partition. dont know what could have gone wrong there. should i regularily delete my cache?

Offline

#6 2015-01-07 00:06:39

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

Re: [solved] cannot update because of full /var partition

https://wiki.archlinux.org/index.php/Pa … kage_cache

mod note: moving to newbie corner.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2015-01-07 00:07:53

caravanlizzy
Member
Registered: 2013-10-07
Posts: 91

Re: [solved] cannot update because of full /var partition

explains everything! thanks a lot!

Offline

Board footer

Powered by FluxBB