You are not logged in.

#1 2014-04-14 14:04:33

marcelo
Member
Registered: 2014-04-14
Posts: 8

[SOLVED] yaourt installation

I used to have Manjaro Linux as my OS but a few weeks ago have successfully installed Arch Linux on my laptop and has been sufficiently satisfied with how the OS (Arch) adequately sufficed my productive needs, except for one tini-tiny issue, and that is to install "yaourt" which really is putting me into a quagmire of disappointments.  I have tried all suggested and recommended means including adding up the Archlinuxfr server on my pacman.conf file to no avail, tried it a numerous times for the past weeks only to end up in failure, it has always ended up in failure to downlod package-query and yaourt itself.  When i was using Manjaro I remember how easy it was to install it following the pkgbuild protocol, I really like using Arch Linux now and the yaourt utility program really could make installing some of the packages i need and want to use from AUR a lot easier than doing it manually, besides updating and upgrading those AUR packages I have installed could be done with a lot of ease and don't know how to do it any other way...could someone please help me with this predicament...

Last edited by marcelo (2014-04-15 11:33:27)

Offline

#2 2014-04-14 14:09:15

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] yaourt installation

I know this isn't what you want to hear, but you need to learn how to build and install AUR packages manually. Once you've accomplished that, use cower or some such for your AUR needs.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2014-04-14 14:25:33

czubek
Banned
Registered: 2012-03-08
Posts: 141

Re: [SOLVED] yaourt installation

The AUR user guidelines provides helpful information on the AUR. I prefer packer myself. Only one makepkg required and packer will do all the remaining AUR installs. A simple

sudo packer -Syyu

not only updates AUR packages but the standard pacman repositories as well.

Offline

#4 2014-04-14 14:32:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] yaourt installation

alphaniner wrote:

I know this isn't what you want to hear

I'd say it is what he wants to hear, but he just doesn't know it yet. smile

marcelo, you haven't provided any actual details of what you tried, what worked, and what didn't - generalisations such as "quagmire of disappointments", "all suggested and recommended means", "ended up in failure", etc, are of no use at all to anyone considering helping you. Also, what exactly is "the pkgbuild protocol"?

While we wait for some real info, IMO the only recommended way to install any AUR utility is by using the AUR as it was orignally intended i.e. build and install yaourt (or whatever) manually as alphaniner said above. Everything you need to know about this is in the wiki.

Offline

#5 2014-04-14 14:33:06

marcelo
Member
Registered: 2014-04-14
Posts: 8

Re: [SOLVED] yaourt installation

...point well taken alphaniner and czubek, have always read something about minimizing access to AUR, it's unofficial and some packages are broken, but before i recede into the abyss perhaps i should try your suggestions, cower and packer it is, hope it'd be easy to install these manually...thanks...

Offline

#6 2014-04-14 14:42:10

marcelo
Member
Registered: 2014-04-14
Posts: 8

Re: [SOLVED] yaourt installation

"pkgbuild protocol" I'm referring to manually downloading the tar.gz files from the AUR and "makepkg -s" then "pacman -U" the tar.xz file...but I'm not kidding, it was easier to install using the Manjaro OS, not that I want to go back to Manjaro but only to point out why is it so difficult to do it with Arch, but as I said I really like Arch now, now if the choice is to do it manually then I'll do it manually - the installation of AUR, I mean...the "quagmire of disappointments" is only on yaourt installation, nothing else...some packages I was able to install with ease from AUR, but why yaourt seems to be deniable in a sense...

Last edited by marcelo (2014-04-14 14:45:19)

Offline

#7 2014-04-14 14:53:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] yaourt installation

Again, post some usable details. Telling us it's difficult with Arch without telling us what exactly is going wrong is just a waste of time.

Offline

#8 2014-04-14 15:17:44

marcelo
Member
Registered: 2014-04-14
Posts: 8

Re: [SOLVED] yaourt installation

...downloaded yaourt tarball, untarred it, cd-ied to the extracted folder, executed 'makepkg -s'...has this as the result...

==> Making package: yaourt 1.3-1 (Mon Apr 14 23:10:24 PHT 2014)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for marcelo:
error: target not found: package-query>=1.0
==> ERROR: 'pacman' failed to install missing dependencies.

...it has always been like that, I downloaded the tarball of package-query and has these results...

==> Making package: package-query 1.2-2 (Mon Apr 14 23:15:45 PHT 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading package-query-1.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: mir.archlinux.fr
==> ERROR: Failure while downloading package-query-1.2.tar.gz
    Aborting...

...I know I have a strong internet connection since I'm the only one using the connection at home...

Offline

#9 2014-04-14 15:34:36

czubek
Banned
Registered: 2012-03-08
Posts: 141

Re: [SOLVED] yaourt installation

Count on me for dumb questions, but do you have base-devel installed?

Offline

#10 2014-04-14 15:40:55

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED] yaourt installation

@marcelo: Try downloading the package-query source tar via your web browser to your package-query directory and then build.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#11 2014-04-14 15:42:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] yaourt installation

Base devel shoudn't have anything to do with that error. "Could not resolve host: mir.archlinux.fr" points to a DNS issue.

Offline

#12 2014-04-14 15:45:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] yaourt installation

I just downloaded package-query from the AUR and built it with no issues. You need to investigate why you can't resolve mir.archlinux.fr - that is your actual problem here.

Alternatively, just use a different AUR helper.

Offline

#13 2014-04-14 17:04:17

czubek
Banned
Registered: 2012-03-08
Posts: 141

Re: [SOLVED] yaourt installation

@ Scimmia, @ tomk, if a problem exists with one of his mirrors, would a review/update of his mirrorlist be recommended?

Offline

#14 2014-04-14 17:08:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] yaourt installation

Mirrorlist wouldn't have anything to do with this, either. A PKGBUILD has a specific URL to download the source from, it doesn't use the mirrorlist

Offline

#15 2014-04-14 17:20:11

czubek
Banned
Registered: 2012-03-08
Posts: 141

Re: [SOLVED] yaourt installation

Sorry Scimmia, all I had to do was check the AUR, both URL and source are listed right there.

Offline

#16 2014-04-14 18:48:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] yaourt installation

czubek wrote:

Sorry Scimmia, all I had to do was check the AUR, both URL and source are listed right there.

You should read the PKGBUILD before running 'makepkg' on it and the PKGBUILD has these urls.

Offline

#17 2014-04-14 19:41:08

czubek
Banned
Registered: 2012-03-08
Posts: 141

Re: [SOLVED] yaourt installation

@karol. I didn't realize AUR packages were limited to one URL/source. It seems precarious for such a valuable list of programs.

Offline

#18 2014-04-14 19:56:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,401

Re: [SOLVED] yaourt installation

czubek, look at some of the official packages and you'll see they are limited to 1 URL per source also.

Some hosters like sourceforge have  a mirror system in place, but many others (like freedesktop.org and github)  don't .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#19 2014-04-16 16:42:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] yaourt installation

PKGBUILDs can have a list of other urls you can try in the comments - that's one of the reasons you should read the PKGBUILD before running 'makepkg' ...
https://bbs.archlinux.org/viewtopic.php?id=153535

Offline

Board footer

Powered by FluxBB