You are not logged in.

#1 2013-03-17 12:16:09

kleskjr
Member
Registered: 2011-12-31
Posts: 33

[Solved] pacman error: failed to update

Hi there,
I'm having an issue with pacman for a couple of months now. I'm not able to update from home, while everything works fine from my office. When I update from home I get this errors:

:: Synchronizing package databases...
error: failed retrieving file 'core.db' from ftp.swin.edu.au : Resolving timed out after 10000 milliseconds
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from ftp.swin.edu.au : Resolving timed out after 10000 milliseconds
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from ftp.swin.edu.au : Resolving timed out after 10000 milliseconds
error: failed to update community (download library error)
error: failed retrieving file 'multilib.db' from ftp.swin.edu.au : Resolving timed out after 10000 milliseconds
error: failed to update multilib (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

(same output with any server I choose from the mirrorlist)

As most posts around suggested, I disabled ipv6, but nothing changes..

Any suggestions how can I use pacman again from home? Could it be Internet provider issue?
thanks

Last edited by kleskjr (2013-03-17 13:29:14)

Offline

#2 2013-03-17 12:19:00

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: [Solved] pacman error: failed to update

Can you post the command you run to update please


Mr Green

Offline

#3 2013-03-17 12:21:03

kleskjr
Member
Registered: 2011-12-31
Posts: 33

Re: [Solved] pacman error: failed to update

sure its

pacman -Syyu

Offline

#4 2013-03-17 12:44:38

sdh
Member
Registered: 2013-03-17
Posts: 23

Re: [Solved] pacman error: failed to update

I get this error when my net connection stops working. Do you have proxy settings that pacman is not able to reach?

Offline

#5 2013-03-17 12:50:03

kleskjr
Member
Registered: 2011-12-31
Posts: 33

Re: [Solved] pacman error: failed to update

I have no proxy settings, it's a regular Wlan connection.

Offline

#6 2013-03-17 12:56:35

sdh
Member
Registered: 2013-03-17
Posts: 23

Re: [Solved] pacman error: failed to update

Alright. That what I have experinced, so got it out there smile

Offline

#7 2013-03-17 13:03:33

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: [Solved] pacman error: failed to update

Only other thing is check that your mirrorlist is up to date...


Mr Green

Offline

#8 2013-03-17 13:10:40

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,097
Website

Re: [Solved] pacman error: failed to update

Why would the mirrorlist be relevant? His DNS resolution is timing out. I suggest changing resolvers in /etc/resolv.conf.

Offline

#9 2013-03-17 13:15:49

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: [Solved] pacman error: failed to update


Mr Green

Offline

#10 2013-03-17 13:20:25

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,097
Website

Re: [Solved] pacman error: failed to update

Lowering the timeout would only make it timeout sooner... The wiki is giving terrible advice. Changing the resolvers to a reliable DNS like 8.8.8.8 or 4.2.2.1 might actually have a positive effect on the situation.

Offline

#11 2013-03-17 13:28:45

kleskjr
Member
Registered: 2011-12-31
Posts: 33

Re: [Solved] pacman error: failed to update

that did the trick,
Thanks!

Offline

Board footer

Powered by FluxBB