You are not logged in.
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
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.
Offline
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
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
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
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
explains everything! thanks a lot!
Offline