You are not logged in.

#1 2013-08-11 17:43:28

kostas213
Member
From: Zürich
Registered: 2012-04-11
Posts: 53

[Solved] yaourt / AUR is extremely slow [due to IPv6]

I have a weird problem with yaourt for some days. Whatever action I do with it (installation of package, upgrade etc) it takes ages. For example, when I install a package it needs around 2 minutes to only fetch the PKGBUILD file. It seems that the problem is specific to yaourt or to its connection with AUR, since when I do 'yaourt -Syua' the upgrade process is smooth for the pacman repos, but it stalls when it reaches a package from AUR. Also I checked the journald logs, but everything seems normal. Since it is the only connection problem that I have (the Internet connection functions properly and also the AUR site is launched on time on my browser), does anyone have a suggestion of what it might be?

Last edited by kostas213 (2013-08-12 13:14:52)

Offline

#2 2013-08-11 17:49:19

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

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

Updating packages from AUR often involves compiling and this can take some time.
Just getting the PKGBUILDs is very fast - or at least it should be.
Try e.g. cower or some other AUR helper and see if it's slow too.

Offline

#3 2013-08-11 18:18:35

kostas213
Member
From: Zürich
Registered: 2012-04-11
Posts: 53

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

Yeah, I know that it requires compiling, but it's not the case here. It "hangs" about 2 minutes before it starts to download the PKGBUILD. If everything is downloaded (source, etc) then everything is as fast as it should be. cower downloads the PKGBUILD in a reasonable time, althouth pacaur experiences the same delays as yaourt.

Offline

#4 2013-08-11 18:28:37

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

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

Interesting - pacaur uses cower as the backend: https://aur.archlinux.org/packages/pacaur/

Offline

#5 2013-08-11 19:03:53

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

Might be an issue with curl (for example, ca-certificates no being up-to-date). Note that cower should download the tarball almost instantaneously (less than 1 second).

Offline

#6 2013-08-12 09:13:09

hepha
Member
Registered: 2012-07-20
Posts: 13

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

If you are using IPv6 connectivity,
Currently aur.archlinux.org IPv6 address can not seem to connect, with priority to use IPv6 Address Server until the connection over time, will jump back to the IPv4 address, it will be a little longer time spent

I was directly in the / etc / hosts to add the following content, so you do not use IPv6 address
78.46.78.247 aur.archlinux.org aur

host aur.archlinux.org
aur.archlinux.org has address 78.46.78.247
aur.archlinux.org has IPv6 address 2a01: 4f8: 120:34 c2 :: 2
aur.archlinux.org mail is handled by 10 mail.archlinux.org.

/usr/bin/curl -v -O https://aur.archlinux.org/packages/ya/y … urt.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 --:--:-- --:--:-- --:--:--     0* About to connect() to aur.archlinux.org port 443 (#0)
*   Trying 2a01:4f8:120:34c2::2...
  0     0    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0* Connection timed out
*   Trying 78.46.78.247...
* Connected to aur.archlinux.org (78.46.78.247) port 443 (#0)

Offline

#7 2013-08-12 13:17:30

kostas213
Member
From: Zürich
Registered: 2012-04-11
Posts: 53

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

Thanks for all the advices, but most of all hepha. tongue At last it was an IPv6 problem. I have IPv6 connectivity with my provider and so it was trying to connect to AUR via IPv6. It's weird although, since only the last days I have the problem, and on the other hand I have IPv6 connectivity for some months without any problems...

With the new record to hosts file everything works as it should. Thanks again to everyone for the help.

P.S.: I changed the title, in order to be easier to anybody to find it if it has a similar problem.

Offline

#8 2013-08-23 19:27:26

hepha
Member
Registered: 2012-07-20
Posts: 13

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

I have a friend useless ipv6, but he is also connected to aur server appear ipv6, this does not lead to a connection failure can install yaourt / Search aur source packages
%E5%BF%AB%E7%85%A73.png

Offline

#9 2013-08-23 19:30:29

kostas213
Member
From: Zürich
Registered: 2012-04-11
Posts: 53

Re: [Solved] yaourt / AUR is extremely slow [due to IPv6]

I also don't see a problem with IPv6 anymore. Maybe it was something temporary.

Offline

Board footer

Powered by FluxBB