You are not logged in.
pacman -Sw <package name>
Wants me to be root, is there a simple way to download packages as an ordinary user?
The port of libguestfs to Arch requires it...
Also, I am curious, why would pacman -Sw need to lock the package database?
Last edited by Ryujin (2010-12-06 05:23:54)
Offline
/var/cache/pacman/pkg/ has root only write permissions by default so you need to be root to write there... You could change the permissions, use "pacman -Sp" and then download using an external downloader.
Locking the package database prevents multiple libalpm frontends attempting to download a package file at the same time which would cause issues. Note it locks the package database as that is currently the only lock point... there is a bug report about locking the package cache as well/instead.
Offline
Thanks Allan, thats what I needed, I was looking for something that did pacman -Sp, I must have missed it in the manpage.
And thank you for satisfying my curiosity ![]()
Offline