Jump to content

{SOLVED} Yaourt issue w/ 64 bit Arch


ichase

Recommended Posts

Not sure why but no matter what I try to install from the AUR via Yaourt, I get the same error each time. I wanted to check out the new Enlightenment desktop to went to install entrance-svn but I get this. Same for another package like pacman-color.

root@localhost ichase02]# yaourt -S entrance-svn
/usr/lib/yaourt/util.sh: line 164: /usr/bin/package-query: No such file or directory
/usr/lib/yaourt/util.sh: line 164: /usr/bin/package-query: No such file or directory
error: target not found: entrance-svn

 

I have the following in pacman.conf

 

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

 

Is this because none of these packages are 64 bit compliant? I was able to pull E17 from the extra repos no problem, this is only affected by the AUR.

 

Thanks all,

 

Ian

Link to comment
Share on other sites

securitybreach

I personally do not use the [archlinuxfr] repo myself and yaourt works perfectly. You do have to install yaourt and package-query using makepkg before you can use it though.

Link to comment
Share on other sites

securitybreach

I used makepkg to build yaourt, changed the archlinuxfr to what you mentioned above and same deal?

 

Did you install package-query yet since your error was because it was not installed?

/usr/lib/yaourt/util.sh: line 164: /usr/bin/package-query: No such file or directory

Package-query is a dependency of yaourt so it has to be installed first.

Link to comment
Share on other sites

Well that is what is odd, package-query is installed

[ichase02@localhost ~]$ pacman -Ss package-query
archlinuxfr/package-query 1.1-2 [installed]
Query ALPM and AUR

 

I also removed the package-query package and attempted a re-install but that did not work either because I get the following.

error: failed to prepare transaction (package architecture is not valid)
:: package package-query-1.1-2-i686 does not have a valid architecture

Edited by ichase
Link to comment
Share on other sites

securitybreach

Sorry it was a typo. I meant to say that you are trying to install an x86 (32bit) package whereas you need the x86_64 (64bit) version since your running the 64bit version of Arch. I do not how or why it is installed the 32 bit version. :ermm:

 

package package-query-1.1-2-i686 does not have a valid architecture
Link to comment
Share on other sites

Thanks Josh, the one you made for some reason did not work so I went to the archlinux aur site for package-query from your link, and built it myself. Now everything works like a champ. :)

 

Thanks again Josh.

 

Guess you can mark this thread as {SOLVED} :thumbsup:

  • Like 1
Link to comment
Share on other sites

securitybreach

Thanks Josh, the one you made for some reason did not work so I went to the archlinux aur site for package-query from your link, and built it myself. Now everything works like a champ. :)

 

Thanks again Josh.

 

Guess you can mark this thread as {SOLVED} :thumbsup:

 

Excellent!

Link to comment
Share on other sites

Just one more thing to add? Why if I have 64 bit Arch installed, did Arch not look for the 64 bit package? Possibly something that should be reported? Also, you said you don't use Archlinuxfr, what do you use in place of it.

 

Thanks again

 

Ian

Link to comment
Share on other sites

securitybreach

Just one more thing to add? Why if I have 64 bit Arch installed, did Arch not look for the 64 bit package? Possibly something that should be reported? Also, you said you don't use Archlinuxfr, what do you use in place of it.

 

Thanks again

 

Ian

 

You do not need anything in place of it. That repo is just used to initially install yaourt and has no use after that (at least for me anyway).

Link to comment
Share on other sites

V.T. Eric Layton

You do not need anything in place of it. That repo is just used to initially install yaourt and has no use after that (at least for me anyway).

 

I didn't know that. Is it even needed to upgrade yaourt?

Link to comment
Share on other sites

securitybreach

I didn't know that. Is it even needed to upgrade yaourt?

 

Nope as yaourt is an AUR package so yaourt updates using yaourt. Make sense? ;)

  • Like 1
Link to comment
Share on other sites

securitybreach

So with out the repo in pacman.conf, what repo will be used to pull AUR packages?

 

Just like normal, Yaourt is used to pull the packages from AUR. All yaourt does is fetch the PKGBUILD from AUR and build its dependencies as well. The repo is only used to easily install yaourt. After that, yaourt pulls the PKGBUILDS from AUR.

 

Yaourt (Yet AnOther User Repository Tool; French for 'Yogurt') is a community-contributed wrapper for pacman which adds seamless access to the AUR, allowing and automating package compilation and installation from your choice of the thousands of PKGBUILDs in the AUR, in addition to the many thousands of available Arch Linux binary packages. Yaourt uses the same exact syntax as pacman, which saves you from relearning an entirely new method of system maintenance but also adds new options. Yaourt expands the power and simplicity of pacman by adding even more useful features and provides pleasing, colorized output, interactive search mode, and much more.

 

First you need to install package-query as a dependency, and then the yaourt package itself. Since both those packages are available from the AUR, you will have to install them with the official method for installing unsupported packages, which is exhaustively described in the Arch User Repository article.

 

https://wiki.archlinux.org/index.php/Yaourt

 

Notice that repo is not mentioned anymore on the wiki page for Yaourt.

  • Like 2
Link to comment
Share on other sites

V.T. Eric Layton

Well, you young whipper-snapper... lemme drop a gem of wisdom on ya' here:

 

There's never an end to the learning in this life. When you stop learning, you start dying. Learn something new everyday! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...