You are not logged in.
Hello ![]()
I have a 502.03 MiB partition for /var and I keep getting the message below when trying to install some packages that require a large amount of dependencies:
error: error writing to file '/var/cache/pacman/pkg/empathy-3.0.2-2-x86_64.pkg.tar.xz.part': No space left on device
(Above is just an example of when trying to install Empathy before clearing my package cache as stated below)
I have to keep running 'sudo pacman -Scc' to clear the cache, which of course isn't the best practice s I would have no means of downgrading a package if an update broke my system.
Are there any means by which I can solve this issue?
Thanks in advance.
Last edited by Starfall (2011-08-31 18:31:21)
Visit my blog and my DeviatArt page
Offline
You need a bigger /var partition or remove the separate /var altogether.
You can still use http://arm.konnichi.com/search/ for downgrading using e.g. https://aur.archlinux.org/packages.php?ID=31937
Last edited by karol (2011-08-30 19:27:36)
Offline
Thanks for the reply karol.
Let's say i boot into Gparted like and change the sizes of my partitions to make /var bigger, is this going to break my system?
What steps need to be taken?
Thanks for your help, appreciate it.
Visit my blog and my DeviatArt page
Offline
You may also try another cache folder instead. Its location can be set in the CacheDir variable in /etc/pacman.conf.
See "man pacman.conf" for more detail.
To know or not to know ...
... the questions remain forever.
Offline
If you have enough space on your root partition, isn't it easier to just use that instead and remove the seperate /var like karol says?
In any case, backup your system before you resize partitions.
Offline
I think it'd be best practice to just configure pacman to use a different directory. I only set /var on a separate partition as I was advised /var on it's own partition using reiserfs would make pacman perform better.
If I just remove the /var partition in Gparted and extend my /root to use the rest of the disk (they're the only two partitions I have on my primary drive) will Arch create it's own /var in /root? Or are there steps I'll have to take to manually make/specify the /var location?
Visit my blog and my DeviatArt page
Offline
You can look at the CacheDir option in pacman.conf and move your cache somewhere else. That leaves your pacman database on your /var partition and saves you breaking stuff trying to remove the /var partition.
Offline
Excellent ![]()
Thanks very much Allan, I'll try it as soon as I'm home
EDIT:
Great! That's solved it, I just created a hidden directory under my home directory (because I know space will never be an issue there) and set Pacman to store it's cache there. Just did a full system update of all my packages, there was quite a lot to be done and it worked flawlessly!
Thanks very much for all your help everyone ![]()
Last edited by Starfall (2011-08-31 18:31:04)
Visit my blog and my DeviatArt page
Offline