tuananh
Posts: 8
Joined: Thu Jul 05, 2012 2:47 am

Can't update, getting empty reply from server

Sun Jul 22, 2012 4:43 pm

i kept getting the error below

Code: Select all

error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Empty reply from server
error: failed to update core (download library error)
 extra is up to date        0.0   B  0.00B/s 00:00 [----------------------]   0%
 community is up to date    0.0   B  0.00B/s 00:00 [----------------------]   0%
error: failed retrieving file 'alarm.db' from mirror.archlinuxarm.org : Empty reply from server
error: failed to update alarm (download library error)
 aur is up to date          0.0   B  0.00B/s 00:00 [----------------------]   0%
:: Starting full system upgrade...
 there is nothing to do
in /etc/pacman.d/mirrorlist i have everything commented out except for

Code: Select all

Server = http://mirror.archlinuxarm.org/arm/$repo
i thought it might be dns problem so i tried with both google and opendns but it's the same.

any idea how to solve this?

naicheben
Posts: 344
Joined: Sat Jan 28, 2012 12:28 pm
Contact: Website

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 5:32 pm

last time I had problems getting mirror.archlinux.org I changed the /etc/pacman.d/mirrorlist to give a server in europe instead of the automatic IP mode. That solved it for me. Just place a # before the line with mirror.archlinux.org and uncomment one of the other lines.

tuananh
Posts: 8
Joined: Thu Jul 05, 2012 2:47 am

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 5:37 pm

Thanks for the reply. I did try each one of the mirror and i still get the above error.

I can't install any other package as well.

Code: Select all

:: Retrieving packages from community...
error: failed retrieving file 'nginx-1.2.2-1-arm.pkg.tar.xz' from cn.mirror.archlinuxarm.org : Empty reply from server
warning: failed to retrieve some files from community
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

naicheben
Posts: 344
Joined: Sat Jan 28, 2012 12:28 pm
Contact: Website

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 6:03 pm

You mean you tried with a dns entry in /etc/resolv.conf ? Did you get a IP from your router?

Code: Select all

ifconfig
Can you ping your router?
Can you ping 188.40.129.205 ?
Can you ping ingeninge.homelinux.net ?

tuananh
Posts: 8
Joined: Thu Jul 05, 2012 2:47 am

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 6:14 pm

naicheben wrote:You mean you tried with a dns entry in /etc/resolv.conf ? Did you get a IP from your router?

Code: Select all

ifconfig
Can you ping your router?
Can you ping 188.40.129.205 ?
Can you ping ingeninge.homelinux.net ?
yes, i edit dns enrty in /etc/resolv.conf.

i can ping those addresses just fine.

result of ifconfig

Code: Select all

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 192.168.1.34  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::ba27:ebff:fe1d:612c  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:1d:61:2c  txqueuelen 1000  (Ethernet)
        RX packets 943140  bytes 1291728094 (1.2 GiB)
        RX errors 0  dropped 9  overruns 0  frame 0
        TX packets 385051  bytes 57437886 (54.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

naicheben
Posts: 344
Joined: Sat Jan 28, 2012 12:28 pm
Contact: Website

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 6:16 pm

Code: Select all

 ping mirror.archlinuxarm.org
PING mirror.archlinuxarm.org (176.9.0.23) 56(84) bytes of data.
64 bytes from server3.kruton.de (176.9.0.23): icmp_req=1 ttl=57 time=23.4 ms
64 bytes from server3.kruton.de (176.9.0.23): icmp_req=2 ttl=57 time=23.1 ms
64 bytes from server3.kruton.de (176.9.0.23): icmp_req=3 ttl=57 time=23.3 ms
did pacman -Syu
and its all fine.

tuananh
Posts: 8
Joined: Thu Jul 05, 2012 2:47 am

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 6:24 pm

that's why i'm posting here :D

is there any other reason that may cause this error?

naicheben
Posts: 344
Joined: Sat Jan 28, 2012 12:28 pm
Contact: Website

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 6:29 pm

Sorry I don't know. If it's not the cableing or your ISP ?????
Maybe pepedog knows it.

tuananh
Posts: 8
Joined: Thu Jul 05, 2012 2:47 am

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 6:48 pm

I tried --debug parameter, now only fetching core.db fails. extra, community, alarm, aur syncs fine.

i tried to get that core.db file with curl, doesn't work too: error 52, same as in output of pacman -Syy --debug

naicheben
Posts: 344
Joined: Sat Jan 28, 2012 12:28 pm
Contact: Website

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 7:10 pm

Did you try another powersupply? Network is the first to come up with unpredictable errors when the power supply is not within range. Or maybe you can unplug anything from USB and try via ssh.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Can't update, getting empty reply from server

Sun Jul 22, 2012 7:26 pm

Don't touch resolve.conf if you get ip address automatically. Fixed ip address then entries go in resolve.conf.tail
There is one lazy mirror. If I ever get it I ctrl c to stop and pacman -Syu may get me another server

tuananh
Posts: 8
Joined: Thu Jul 05, 2012 2:47 am

Re: Can't update, getting empty reply from server

Tue Jul 24, 2012 6:33 am

woke up in the morning and it just worked now! i have no idea. :D

Return to “Arch”