You are not logged in.

#1 2011-06-14 06:19:30

imnotfred
Member
Registered: 2011-03-30
Posts: 13

pacman error: failed to synchronize any databases

I just installed Arch on my machine and tried running pacman -Syu only to have it tell me that it failed to update any repos, retrieve any files, or synchronize any databases. I have an internet connection and I've tried several different mirrors. What's going on?

Offline

#2 2011-06-14 09:36:25

sam87
Member
From: down the rabbit hole
Registered: 2009-09-26
Posts: 141

Re: pacman error: failed to synchronize any databases

hmmm...did you follow the arch wiki on setting up your mirrors? did you uncomment the mirrors you want to use?


what i cannot build, i do not understand

Offline

#3 2011-06-14 10:55:30

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

Re: pacman error: failed to synchronize any databases

Grab a fresh mirrorlist http://www.archlinux.org/mirrorlist/ and try 'pacman -Syu' again.

Offline

#4 2011-06-14 14:20:22

imnotfred
Member
Registered: 2011-03-30
Posts: 13

Re: pacman error: failed to synchronize any databases

My mirrorlist is up to date and I've uncommented several mirrors.

Offline

#5 2011-06-14 14:29:20

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

Re: pacman error: failed to synchronize any databases

Please post the exact error message. You may want to run 'pacman -Syu --debug' too.

Offline

#6 2011-06-14 14:41:07

imnotfred
Member
Registered: 2011-03-30
Posts: 13

Re: pacman error: failed to synchronize any databases

It's difficult to post code here as I don't have a browser on my arch install, but I will do my best.

Last edited by imnotfred (2011-06-14 14:42:11)

Offline

#7 2011-06-14 14:42:51

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

Re: pacman error: failed to synchronize any databases

imnotfred wrote:

It's difficult to post code here as I don't have a browser on my arch install.

Save the output to a file and move it to a place you have a browser installed.

Offline

#8 2011-06-14 14:57:56

imnotfred
Member
Registered: 2011-03-30
Posts: 13

Re: pacman error: failed to synchronize any databases

:: Synchronizing package databases...
error: failed retrieving file 'core.db' from archlinux.suspec.org : No address record
error: failed retrieving file 'core.db; from archlinux.suspec.org : No address record
error: failed to update core (No address record)
error: failed retrieving file 'extra.db' from archlinux.suspec.org : No address record
error: failed retrieving file 'extra.db' from archlinux.suspec.org : No address record
error: failed to update extra (No address record)
error: failed retrieving file 'community.db' from archlinux.suspec.org : No address record
error: failed retrieving file 'community.db' from archlinux.suspec.org : No address record
error: failed to update community (No address record)
error: failed retrieving file 'multilib.db' from archlinux.suspec.org : No address record
error: failed retrieving file 'multilib.db' from archlinux.suspec.org : No address record
error: failed to update multilib (No address record)
error: failed to synchronize any databases

Offline

#9 2011-06-14 14:59:08

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

Re: pacman error: failed to synchronize any databases

Pacman uses the first mirror from the list. Have you tried another mirror?

Offline

#10 2011-06-14 15:00:40

imnotfred
Member
Registered: 2011-03-30
Posts: 13

Re: pacman error: failed to synchronize any databases

I've tried every mirror under 'United States' (not all at once).

Offline

#11 2011-06-14 15:02:13

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

Re: pacman error: failed to synchronize any databases

https://bbs.archlinux.org/viewtopic.php … 90#p943390 - I wonder why do you get this typo

Is your Internet working at all - can you ping mirrors etc.?

Edit: Maybe https://bbs.archlinux.org/viewtopic.php … 15#p944215

Last edited by karol (2011-06-14 15:03:31)

Offline

#12 2011-06-14 15:12:15

imnotfred
Member
Registered: 2011-03-30
Posts: 13

Re: pacman error: failed to synchronize any databases

mmm yes, I apologize, that typo was on my part. The errors I am getting do indeed say archlinux.supsec.org.

Furthermore, it appears as if I do not have an internet connection, which is odd because I had one during the installation process and have changed nothing. At least I thought I had a connection during installation. I did a Netinstall installation so it wouldn't have let me install without a connection, right?

Offline

#13 2011-06-14 15:15:52

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: pacman error: failed to synchronize any databases

True, but you could have changed the host name in rc.conf and forgotten to change in /etc/hosts. Things like that.

Try to see if the network daemon is running.

 sudo /etc/rc.d/network restart

Also, that mirror is probably too old. Try another mirror like rit.edu and see if that works. If not, try the 2nd link karol posted which might help since pacman version has changed since the ISO was released.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#14 2011-06-14 15:27:08

imnotfred
Member
Registered: 2011-03-30
Posts: 13

Re: pacman error: failed to synchronize any databases

hmmmm nothing seems to be working. And I still have no internet.

Offline

#15 2011-06-14 15:30:35

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: pacman error: failed to synchronize any databases

did you set the hostname correctly in rc.conf and in /etc/hosts?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#16 2011-06-14 15:50:09

imnotfred
Member
Registered: 2011-03-30
Posts: 13

Re: pacman error: failed to synchronize any databases

Yes, they're set to the same thing.

Offline

#17 2011-06-15 21:39:13

bananaman
Member
Registered: 2009-06-24
Posts: 5

Re: pacman error: failed to synchronize any databases

I had this same problem, check your rc.conf to see if the interface for your network is set.
Mine was completely blank after a fresh netinstall. I set it to eth0 and it works fine now.
Be sure to "/etc/rc.d/network restart" after editing it though.

Offline

Board footer

Powered by FluxBB