use _alpm_access in a few more places for increased debugging info
commit20a16f55b32da071d362c2fa3faf1f55285d13a9
authorFlorian Pritz <bluewind@xinu.at>
Tue, 7 Feb 2012 17:43:59 +0000 (7 18:43 +0100)
committerDan McGee <dan@archlinux.org>
Mon, 13 Feb 2012 16:02:02 +0000 (13 10:02 -0600)
tree00bb4cf9fcf0846d2a77a79d1317c66fecee19d1
parentf55be4897799c5a6dcb454455ad9edcfc36f8495
use _alpm_access in a few more places for increased debugging info

pacman -U <pkg> returns a bogus "could not find or read package" if the
file is on a fuse file system that doesn't allow root access. Debug
output isn't very helpful here either so we should log why the access
check failed.

The other 2 checks already log something when failing so logging a more
specific error won't hurt either.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_package.c
lib/libalpm/be_sync.c
lib/libalpm/util.c