You are not logged in.

#1 2008-09-11 02:22:15

henrypootel
Member
Registered: 2008-09-11
Posts: 14

[Solved]Pacman fails to connect to server in Arch Virtual Machine

Hi
I've just installed arch 2008.06 in VMWare Workstation 6.04 on Vista Business x64. The setup all went fine and i am now logged into my system, but Pacman refuses to connect to anything. i have tried Bridged networking and NAT to no avail. whenever i run 'pacman -Syy' i get the message
"error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : File unavailable (e.g.,file not found, no access)"
followed by the same message for each mirror in my mirrorlist, and then again for 'extra.db.tar.gz' and 'community.db.tar.gz', and then 'failed to synchronise any databases' at the end.
I have tried pinging google, as well as several of the arch mirrors and they all work fine. wget also seems to work fine, it's just pacman that's not working.
Anyone have any suggestions?

Last edited by henrypootel (2008-09-12 01:53:56)

Offline

#2 2008-09-11 03:31:19

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 4,705
Website

Re: [Solved]Pacman fails to connect to server in Arch Virtual Machine

Pings are going through, but FTP traffic isn't... Do you have a firewall somewhere along the line that could be blocking outbound FTP?  Disabled Vista's Firewall (if only for testing)?

Offline

#3 2008-09-11 03:45:03

henrypootel
Member
Registered: 2008-09-11
Posts: 14

Re: [Solved]Pacman fails to connect to server in Arch Virtual Machine

That's what i thought too so i switched off the Vista firewall and still no luck. I am behind a hardware firewall here at work, but it shouldn't be blocking FTP traffic. i use FTP in windows all the time.
Just tried downloading a file using wget and it worked fine.

Last edited by henrypootel (2008-09-11 03:45:29)

Offline

#4 2008-09-12 01:09:24

henrypootel
Member
Registered: 2008-09-11
Posts: 14

Re: [Solved]Pacman fails to connect to server in Arch Virtual Machine

*bump*
Anyone have any more suggestions?

Offline

#5 2008-09-12 01:35:26

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: [Solved]Pacman fails to connect to server in Arch Virtual Machine

http://wiki.archlinux.org/index.php/Con … or_DHCP_IP

You may have to configure the network. I had to do this after I installed.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#6 2008-09-12 01:51:27

henrypootel
Member
Registered: 2008-09-11
Posts: 14

Re: [Solved]Pacman fails to connect to server in Arch Virtual Machine

Thanks, but networking is all fine. As I mentioned before, I can ping several different external sites, as well as download from a n FTP site using wget, so i don't think it's the network setup.

Offline

#7 2008-09-12 01:53:38

henrypootel
Member
Registered: 2008-09-11
Posts: 14

Re: [Solved]Pacman fails to connect to server in Arch Virtual Machine

OK, I've solved it. Added/uncommented this line from my pacman.conf, since i know wget is working:
XferCommend = /usr/bin/wget --passive-ftp -c -O %o %u
And now pacman works perfectly.

Offline

Board footer

Powered by FluxBB