You are not logged in.

#1 2012-10-04 22:56:51

einsiedlerkrebs
Member
Registered: 2012-10-04
Posts: 5

[solved] yaourt: Curl 404

Hello,

i am having a problem with yaourt. Which is a pitty, cause i like(d) it. What i am getting if i am trying to update, for example is:

curl: (22) The requested URL returned error: 404 Not Found
curl error: Couldn't connect to server
curl error: Couldn't connect to server

I found a realated topic, which had to do with tor. I am not using tor, but i onced istalled it, but removed, since that thread was recomending that. It didnt help.
my mirrorlist is fine, and new. pacman is working, as it is supposed to be.
An update with yaourt "just" fails the AUR part of it.

does anyone of you have ideas, a hint about this. What output would you like to see?


Thanks a lot.

Last edited by einsiedlerkrebs (2012-10-05 14:08:24)

Offline

#2 2012-10-04 23:00:16

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 5,138

Re: [solved] yaourt: Curl 404

What package does it fail on? Sounds to me like the URL for the source download is gone.

Last edited by Scimmia (2012-10-04 23:01:09)

Online

#3 2012-10-05 09:55:33

einsiedlerkrebs
Member
Registered: 2012-10-04
Posts: 5

Re: [solved] yaourt: Curl 404

hi.

It fails on any package (not that i tried to prove this),

for example:

$ yaourt -S openwrt-buildroot
curl error: Couldn't connect to server

more output comes, when i try to syncronize via yaourt:

$ yaourt -Syua
[sudo] password for USERNAME: 
:: Synchronisiere Paketdatenbanken...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  106k  100  106k    0     0  82383      0  0:00:01  0:00:01 --:--:--  159k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1422k  100 1422k    0     0   573k      0  0:00:02  0:00:02 --:--:--  629k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1786k  100 1786k    0     0   689k      0  0:00:02  0:00:02 --:--:--  750k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 93632  100 93632    0     0   105k      0 --:--:-- --:--:-- --:--:--  139k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32658  100 32658    0     0   113k      0 --:--:-- --:--:-- --:--:--  224k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
curl error: Couldn't connect to server
curl error: Couldn't connect to server
 Foreign packages: / 25 / 25

==> Software upgrade (new version) :
extra/libshout 1:2.3.0-1 -> 1:2.3.1-1

==> Continue upgrade ? [Y/n]
==> [V]iew package detail   [M]anually select packages
==> --------------------------------------------------

It seems that ether curl is not working right, or something to do with kind of a "mirrorlist", while i don't know, what mechanism yaourt using for such.

Thanks

Last edited by einsiedlerkrebs (2012-10-05 09:58:12)

Offline

#4 2012-10-05 11:10:27

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,222
Website

Re: [solved] yaourt: Curl 404

Do you get similar errors with pacman -Syu?

Can you ping the urls from AUR PKGBUILDs that give this error?

I suspect this is not a problem with curl or yaourt, but either with your mirrorlist or networking.  If you get similar errors from pacman, please post (or post a link to a pastebin) your mirrorlist.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#5 2012-10-05 12:13:57

einsiedlerkrebs
Member
Registered: 2012-10-04
Posts: 5

Re: [solved] yaourt: Curl 404

hi,

actually i do get similar errors using pacman:

$ sudo pacman -Syu
[sudo] password for USERNAME: 
:: Synchronisiere Paketdatenbanken...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  106k  100  106k    0     0  89551      0  0:00:01  0:00:01 --:--:--  161k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1422k  100 1422k    0     0   618k      0  0:00:02  0:00:02 --:--:--  680k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1785k  100 1785k    0     0   665k      0  0:00:02  0:00:02 --:--:--  722k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 93632  100 93632    0     0   106k      0 --:--:-- --:--:-- --:--:--  139k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32658  100 32658    0     0   112k      0 --:--:-- --:--:-- --:--:--  224k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
:: Starte komplette Systemaktualisierung...
 Es gibt nichts zu tun

if i ping the URL from a packagebuild, i can observe that:

$ ping http://openwrt.org #<--- this is what i can find in the PKGBUILD of https://aur.archlinux.org/packages.php?ID=57132
ping: unknown host http://openwrt.org
USERNAME@HOSTNAME ~ $ ping https://openwrt.org
ping: unknown host https://openwrt.org
USERNAME@HOSTNAME ~ $ ping openwrt.org
PING openwrt.org (78.24.191.177) 56(84) bytes of data.
64 bytes from openwrt.org (78.24.191.177): icmp_req=1 ttl=55 time=67.0 ms
64 bytes from openwrt.org (78.24.191.177): icmp_req=2 ttl=55 time=66.4 ms
^C
--- openwrt.org ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2002ms
rtt min/avg/max/mdev = 66.479/66.783/67.088/0.399 ms
USERNAME@HOSTNAME ~ $ ping http://www.google.de
ping: unknown host http://www.google.de
USERNAME@HOSTNAME ~ $ ping www.google.de
PING www.google.de (173.194.69.94) 56(84) bytes of data.
64 bytes from www.google.de (173.194.69.94): icmp_req=1 ttl=49 time=48.8 ms
64 bytes from www.google.de (173.194.69.94): icmp_req=2 ttl=49 time=49.4 ms
^C
--- www.google.de ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 48.832/49.157/49.483/0.393 ms

my mirrorlist is quite short since it is edited via reflector:

$ cat /etc/pacman.d/mirrorlist
# Arch Linux mirrorlist generated by Reflector
# With:       /usr/bin/reflector -l 5 --sort rate --save /etc/pacman.d/mirrorlist
# When:       2012-09-28 12:09:22 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2012-09-28 12:09:15 UTC
# Last Check: 2012-09-28T11:26:43.075Z UTC

Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = http://www.laqee.unal.edu.co/archlinux/$repo/os/$arch
Server = ftp://mirror.rit.edu/archlinux/$repo/os/$arch
Server = ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
Server = rsync://mirror.rit.edu/archlinux/$repo/os/$arch

Is it normal, that ping without http:// works, but within not?

Thank you for helping.

eins

Offline

#6 2012-10-05 14:08:06

einsiedlerkrebs
Member
Registered: 2012-10-04
Posts: 5

Re: [solved] yaourt: Curl 404

Hey,

somehow  i fixed it.

while i couldn't finde the problem in .bashrc i just used an older one, which helped. So thanks for you help....


me wondering.

eins

Offline

#7 2012-10-06 12:32:21

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,422

Re: [solved] yaourt: Curl 404

einsiedlerkrebs wrote:

Is it normal, that ping without http:// works, but within not?

Thank you for helping.

eins

Yes.


NAME
       ping, ping6 - send ICMP ECHO_REQUEST to network hosts

http, https, ftp, irc etc are protocols that run on a network host, not hosts .


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#8 2012-10-06 12:36:47

einsiedlerkrebs
Member
Registered: 2012-10-04
Posts: 5

Re: [solved] yaourt: Curl 404

okay. Sounds like it makes sence to me. So far. Thanks for replying to this detail as well.

eins

Offline

Board footer

Powered by FluxBB