You are not logged in.

#1 2010-08-19 18:40:58

01011010
Member
Registered: 2010-08-19
Posts: 22

I can ping, but not synchronize/download from mirrors

Hello,

I installed Arch 201005 successfully using the 'Core' image (via USB drive), but a # pacman -Syy results in either A: an eternal :: Synchronizing package databases..., or occasionally B: error: failed retrieving file 'core.db.tar.gz' from <server goes here> : Connection timed out.

An example of one of my uncommented servers in /etc/pacman.d/mirrorlist is (sans *) Server = ftp://*ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686. I'm running i686 (atom netbook), and # ping gatech.edu succeeds.

My rc.conf is set to eth0="dhcp" INTERFACES=(eth0) gateway="default gw 10.0.1.1" ROUTES=(!gateway). I've tried a static IP, but the problem persists.

If I try to # wget something from a mirror, it connects but hangs on "Logging in as anonymous ...", or sometimes complains about authentication (can't remember exact error- says I'm unregistered or something).

What's wrong?

TIA,
01011010

Last edited by Inxsible (2010-08-19 18:45:52)

Offline

#2 2010-08-19 18:44:00

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

Re: I can ping, but not synchronize/download from mirrors

Have you tried a different mirror?


Forum Rules

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

Offline

#3 2010-08-19 18:45:00

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

Re: I can ping, but not synchronize/download from mirrors

Please remove 'HELP PLEASE!' from the title - no need to shout, we know you need help.
Pick one of the up-to-date mirrors https://www.archlinux.de/?page=MirrorStatus and try again

Add

Architecture = auto

to your /etc/pacman.conf in the [ options] part if you don't have it already.

Last edited by karol (2010-08-19 18:48:53)

Offline

#4 2010-08-19 18:46:26

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

Re: I can ping, but not synchronize/download from mirrors

karol wrote:

Please remove 'HELP PLEASE!' from the title - no need to shout, we know you need help.
Pick one of the up-to-date mirrors https://www.archlinux.de/?page=MirrorStatus and try again

Done.

01011010, Edited your original post to change the title.


Forum Rules

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

Offline

#5 2010-08-19 18:54:42

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

Inxsible wrote:

Have you tried a different mirror?

01011010 wrote:

...An example of one of my uncommented servers...

Also see title for plural mirrors

No mirrors work; and yes, Karol, they're from https://www.archlinux.de/?page=MirrorStatus.

Thanks,
01011010

Offline

#6 2010-08-19 18:59:48

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

karol wrote:

Add

Architecture = auto

to your /etc/pacman.conf in the [ options] part if you don't have it already.

Doing this results in "error: config file /etc/pacman.conf, line 22: directive 'Architecture' not recognized."

Thanks,
01011010

Last edited by 01011010 (2010-08-19 19:00:58)

Offline

#7 2010-08-19 19:00:26

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

Re: I can ping, but not synchronize/download from mirrors

01011010 wrote:
Inxsible wrote:

Have you tried a different mirror?

01011010 wrote:

...An example of one of my uncommented servers...

Also see title for plural mirrors

No mirrors work; and yes, Karol, they're from https://www.archlinux.de/?page=MirrorStatus.

Thanks,
01011010

But you do realize that if your first mirror is still in the mirrorlist, it will try to connect to the first uncommented. Therefore I asked you whether you had tried a different mirror. Your writing in bold still hasn't answered my question.


Forum Rules

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

Offline

#8 2010-08-19 19:01:01

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

Re: I can ping, but not synchronize/download from mirrors

Post your pacman.conf please.

Offline

#9 2010-08-19 19:03:33

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

Inxsible wrote:

But you do realize that if your first mirror is still in the mirrorlist, it will try to connect to the first uncommented. Therefore I asked you whether you had tried a different mirror. Your writing in bold still hasn't answered my question.

Yes, I have shifted commenting around and tested half a dozen mirrors. No mirrors - as in absolutely none of them - work.

Thanks,
01011010

Offline

#10 2010-08-19 19:03:45

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

Re: I can ping, but not synchronize/download from mirrors

01011010 wrote:
Inxsible wrote:

Have you tried a different mirror?

01011010 wrote:

...An example of one of my uncommented servers...

Also see title for plural mirrors

No mirrors work; and yes, Karol, they're from https://www.archlinux.de/?page=MirrorStatus.

Thanks,
01011010

Yes, I know that mirror should work and it does work for me, but - as Inxsible posted - you should try a different mirror.

Try grabbing the files ftp://ftp.gtlib.gatech.edu/pub/linux/di … .db.tar.gz

Offline

#11 2010-08-19 19:06:03

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: I can ping, but not synchronize/download from mirrors

Does your pacman.conf contain the following

Architecture = auto

Offline

#12 2010-08-19 19:07:05

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

Re: I can ping, but not synchronize/download from mirrors

skunktrader wrote:

Does your pacman.conf contain the following

Architecture = auto

https://bbs.archlinux.org/viewtopic.php … 46#p811846
https://bbs.archlinux.org/viewtopic.php … 59#p811859

Offline

#13 2010-08-19 19:07:39

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

karol wrote:

Post your pacman.conf please.

Here are the uncommented parts:

[options]
HoldPkg        = pacman glibc
SyncFirst       = pacman
#Architecture = auto ## (disabled due to error)

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

Last edited by 01011010 (2010-08-19 19:08:34)

Offline

#14 2010-08-19 19:09:27

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: I can ping, but not synchronize/download from mirrors

karol wrote:
skunktrader wrote:

Does your pacman.conf contain the following

Architecture = auto

https://bbs.archlinux.org/viewtopic.php … 46#p811846
https://bbs.archlinux.org/viewtopic.php … 59#p811859

Sorry.  Should have refreshed screen before replying

Offline

#15 2010-08-19 19:10:17

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

Re: I can ping, but not synchronize/download from mirrors

What version of pacman are you using ?

 pacman -V

The 2010.05 iso didn't have the latest pacman so the Architecture = auto line won't work in the older pacman


Forum Rules

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

Offline

#16 2010-08-19 19:12:14

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

karol wrote:

Yes, I know that mirror should work and it does work for me, but - as Inxsible posted - you should try a different mirror.

Try grabbing the files ftp://ftp.gtlib.gatech.edu/pub/linux/di … .db.tar.gz

As I said, I've tried several mirrors, and # wget hangs on "Logging in as anonymous...".

Offline

#17 2010-08-19 19:15:30

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

Inxsible wrote:

What version of pacman are you using ?

 pacman -V

The 2010.05 iso didn't have the latest pacman so the Architecture = auto line won't work in the older pacman

I've got Pacman 3.3.3 and libalpm 4.0.3.

Offline

#18 2010-08-19 19:17:18

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

Re: I can ping, but not synchronize/download from mirrors

Have you entered your hostname in the /etc/hosts and /etc/rc.conf file as mentioned in the Beginner's Guide?



EDIT: but if you can ping that should be in order.

Last edited by Inxsible (2010-08-19 19:20:42)


Forum Rules

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

Offline

#19 2010-08-19 19:21:05

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

Re: I can ping, but not synchronize/download from mirrors

Have you tried http mirrors?
http://www.gtlib.gatech.edu/pub/linux/d … .db.tar.gz


Edit: Completely unrelated apart from the wget error http://www.edaboard.co.uk/lm317-as-swit … 73251.html
Scroll to the bottom, post @ Thu Aug 19, 2010 12:17 am

Last edited by karol (2010-08-19 19:26:32)

Offline

#20 2010-08-19 19:30:08

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

Inxsible wrote:

Have you entered your hostname in the /etc/hosts and /etc/rc.conf file as mentioned in the Beginner's Guide?

I left it as the "myhost" default (and haven't even touched /etc/hosts on this most recent installation attempt), since I can ping successfully. Should I change this?

Update: Changed to arch01 just for the hell of it. Unsurprisingly, this didn't help (but I can still ping anything and everything).

karol wrote:

Have you tried http mirrors?

# wget on http results in a progress bar, but sticks at 0%.

When I # pacman -Syy on Ga Tech's http, I get "error: failed retrieving file 'core.db.tar.gz' from <mirror goes here>----------------------------------------------------]    0%"


Thanks,
01011010

Last edited by 01011010 (2010-08-19 19:41:49)

Offline

#21 2010-08-19 19:57:57

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

So... I guess I lost my audience, eh?

Is it time to go back to F13 and put up with its lousy Fluxbox support, or should I try loading Slackware (if I can get torrents working on this computer)?

When is the next Arch release due?

Thanks for all your attempts,
01011010

Offline

#22 2010-08-19 20:02:27

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

Re: I can ping, but not synchronize/download from mirrors

01011010 wrote:

So... I guess I lost my audience, eh?

Is it time to go back to F13 and put up with its lousy Fluxbox support, or should I try loading Slackware (if I can get torrents working on this computer)?

When is the next Arch release due?

Thanks for all your attempts,
01011010

Can you use wget on that box to get any file?
Are you using the same gateway etc. settings on the Fedora?

Offline

#23 2010-08-19 20:10:47

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

karol wrote:

Can you use wget on that box to get any file?
Are you using the same gateway etc. settings on the Fedora?

# wget on google's logo results in "HTTP request sent, awaiting response...", and then nothing happens.

I would check the settings, but Fedora was replaced with Arch (I expected things to go a tad smoother). My other Fedora box (this one) appears to have the same settings though... Maybe I'll play with the DNS and see if that fixes anything.

Thanks,
01011010

Offline

#24 2010-08-19 20:13:36

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

Re: I can ping, but not synchronize/download from mirrors

01011010 wrote:
karol wrote:

Can you use wget on that box to get any file?
Are you using the same gateway etc. settings on the Fedora?

# wget on google's logo results in "HTTP request sent, awaiting response...", and then nothing happens.

I would check the settings, but Fedora was replaced with Arch (I expected things to go a tad smoother). My other Fedora box (this one) appears to have the same settings though... Maybe I'll play with the DNS and see if that fixes anything.

Thanks,
01011010

I'm not a networking guru, but a google search for similar problems included the suggestion that somehow DNS doesn't work for you.

Offline

#25 2010-08-19 20:25:09

01011010
Member
Registered: 2010-08-19
Posts: 22

Re: I can ping, but not synchronize/download from mirrors

Should I condense the dialogue of this page and resubmit it to the "Networking, Server, and Protection" section?

Offline

Board footer

Powered by FluxBB