You are not logged in.

#1 2010-08-25 08:03:06

alleyoopster
Member
From: Cape Town
Registered: 2006-11-19
Posts: 95

yaourt error - unable to read pkgbuild

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

#2 2010-08-26 10:42:59

syne
Member
From: Estonia
Registered: 2009-06-01
Posts: 22
Website

Re: yaourt error - unable to read pkgbuild

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

#3 2010-08-26 11:24:28

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: yaourt error - unable to read pkgbuild

syne wrote:

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

#4 2010-08-26 13:36:50

alleyoopster
Member
From: Cape Town
Registered: 2006-11-19
Posts: 95

Re: yaourt error - unable to read pkgbuild

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

#5 2010-08-26 15:50:50

madek
Member
From: Santiago, Chile
Registered: 2009-09-08
Posts: 98
Website

Re: yaourt error - unable to read pkgbuild

use other aur wrapper (eg. packer or clyde)
yaourt is poorly writen

Offline

#6 2010-08-26 17:18:36

alleyoopster
Member
From: Cape Town
Registered: 2006-11-19
Posts: 95

Re: yaourt error - unable to read pkgbuild

thanks for the heads up, packer looks like it could do the job

Offline

#7 2010-10-23 13:46:19

mclaud2000
Member
Registered: 2010-10-23
Posts: 4

Re: yaourt error - unable to read pkgbuild

You need to have fakeroot installed. It's also a good idea to install base-devel (it includes fakeroot).

Offline

Board footer

Powered by FluxBB