You are not logged in.

#1 2010-06-26 18:22:33

mjs
Member
From: Tucson, Arizona
Registered: 2010-06-26
Posts: 5

[Solved] Yaourt fails, package-query is installed -- but not found

Hello all,

I did a google search, a forum search, and looked at the wiki trying to find a solution to this. Maybe somebody here can help.

I Installed Yaourt first by adding archlinux.fr to my pacman repository as per the wiki, which also pulled in package-query as a dependency.

Next, I wanted to try installing abiword-light-archbang from the AUR via yaourt, so I did:

sudo yaourt -S abiword-light-archbang

However, the terminal spat back at me:

/usr/lib/yaourt/basicfunctions.sh: line 12: package-query: command not found

So I removed yaourt, package-query, and yajl, downloaded the packages from AUR and installed them that way, and still the error occurs.

I can confirm that package-query is installed, but I don't know why this isn't working.

Here is the relevant line from basicfunctions.sh:

pkgquery () { package-query "${PKGQUERY_C_ARG[@]}" "$@"; }

Any thoughts? Is it a bug or did I do something wrong?

Thanks,

mjs

Last edited by mjs (2010-06-26 23:32:38)


XMMS n'est pas mort!

Offline

#2 2010-06-26 19:01:30

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: [Solved] Yaourt fails, package-query is installed -- but not found

my thoughts?

use clyde


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#3 2010-06-26 19:58:58

V for Vivian
Member
Registered: 2009-04-28
Posts: 52

Re: [Solved] Yaourt fails, package-query is installed -- but not found

Can you invoke package-query from the command line? If not, what is the output of following two commands?

ls -la /usr/bin/ | grep package-query
echo $PATH

By the way, don't run yaourt with sudo. Building the package should not be done as root. It will get root privileges before installing the package.

Last edited by V for Vivian (2010-06-26 20:02:40)


YES WE CAN
(but that doesn't necessarily mean we're going to)

Offline

#4 2010-06-26 21:22:57

mjs
Member
From: Tucson, Arizona
Registered: 2010-06-26
Posts: 5

Re: [Solved] Yaourt fails, package-query is installed -- but not found

V,

I believe that running it under sudo was the issue. Reinstalling yaourt and running (sans sudo) 'yaourt -Ss abiword' returns several packages without error.

Thank you for taking the time to help me figure out my problem.

Last edited by mjs (2010-06-26 21:23:30)


XMMS n'est pas mort!

Offline

Board footer

Powered by FluxBB