You are not logged in.
Hi,
Trying to install any package from AUR using yaourt -S <pkgname> I get an error "Unable to read PKGBUILD for <pkgname>"
I have no clue how to troubleshoot this. I can edit the PKGBUILD OK. This has happened on every AUR package I have tried and only started yesterday. Here is the problem
$ yaourt -S powernowd
==> Downloading powernowd PKGBUILD from AUR...
bsdtar: Removing leading '/' from member name
x .
x PKGBUILD
x powernowd.rc.d
x powernowd.conf.d
First Submitted: Wed, 12 Dec 2007 04:39:19 +0000
powernowd 1.00-1 : Program for powering down CPUs dynamicly
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
Unable to read PKGBUILD for powernowd
==> WARNING: Following packages have not been installed:
powernowd
and here is yaourtrc
# yaourtrc - Configuration for yaourt
#
# See yaourtrc(5) for more information
#
#
ABS_REPO=(testing core extra community-testing community gnome-unstable kde-unstable)
#NOCONFIRM=0
#FORCE=0
#AUTOSAVEBACKUPFILE=0
#FORCEENGLISH=0
#EDITFILES=1
#AURCOMMENT=1
#DEVELBUILDDIR="/var/abs/local/yaourtbuild/"
#DEVEL=0
#NOENTER=1
#AURUPGRADE=0
#AURVOTE=1
#AURSEARCH=1
#TERMINALTITLE=1
#EXPORTDIR=""
#TMPDIR="/tmp"
#MAXCOMMENTS=5
#EDITOR="$EDITOR"
#PACMANBIN="/usr/bin/pacman"
#COLORMODE="normal"
#SHOWORPHANS=1
#DIFFEDITCMD="vimdiff"
#DETAILUPGRADE=1
thanks for any pointers
Offline
Had the exact same problem. I suggest you reinstall your pacman, or if you have pacman-git, then replace it with regular pacman. That did it for me. I will try building git once more to see if it that as well would solve the problem.
Hope it helps.
Offline
Had the exact same problem. I suggest you reinstall your pacman, or if you have pacman-git, then replace it with regular pacman. That did it for me. I will try building git once more to see if it that as well would solve the problem.
Hope it helps.
This makes no sense. It's not makepkg that's failing -- It's yaourt. Use makepkg on its own. Submit a bug report to the yaourt maintainer.
Offline
Yep it was not a pacman problem at all, just yaourt. Trying today and the problem just went away. All I can recall doing is installing various packages including gcc, automake and patch. I tried it today and it is working again so I guess it's case closed for now.
Offline
use other aur wrapper (eg. packer or clyde)
yaourt is poorly writen
Offline
thanks for the heads up, packer looks like it could do the job
Offline
You need to have fakeroot installed. It's also a good idea to install base-devel (it includes fakeroot).
Offline