You are not logged in.

#1 2009-03-29 09:23:05

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

[SOLVED] pacman not connecting to repos

pacman doen't seem to connect to the repos. when I try to sync and refresh, It say "Sychronising.....(blah, blah blah):". There is no output in the screen for a while. Some time later it says that the connection to the repo has timed out. I had a similar problem while I was using Ubuntu which I fixed by disabling IPv6. So I gave it a shot in Arch as well by adding the following into the file "/etc/modprobe.conf":

#disabling IPv6 module at startup
alias net-pf-10 off

But that didn't work either... sad
I'm new to Arch.... Also, I don't have too much working knowledge about linux so please help me out here...

Last edited by faytaliti (2010-06-23 16:26:59)


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#2 2009-03-29 09:26:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: [SOLVED] pacman not connecting to repos

It would be good to provide us with some information:

1) how you are connecting to the internet + network card type
2) the network configuration section of your /etc/rc.conf

Offline

#3 2009-03-29 09:31:25

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] pacman not connecting to repos

Also, try running pacman with the --debug flag and post the output here...

Offline

#4 2009-03-29 09:33:22

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

Re: [SOLVED] pacman not connecting to repos

Well this is my re.conf network config. section:

# NETWORKING
# -----------------------------------------------------------------------

HOSTNAME="node-1"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0=dhcp
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------

You can see that I've stuck to the arch install guide(beginners)


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#5 2009-03-29 09:34:51

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

Re: [SOLVED] pacman not connecting to repos

Network manager works fine..
I can browse the net using "links" that I installed from the install disc


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#6 2009-03-29 09:41:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: [SOLVED] pacman not connecting to repos

Try changing the mirror in /etc/pacman.d/mirrorlist (maybe to an http mirror instead of an ftp one).

Offline

#7 2009-03-29 10:06:26

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

Re: [SOLVED] pacman not connecting to repos

Tried that man!! Doesn't work... I tried both ftp and http servers


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#8 2009-03-29 10:13:22

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

Re: [SOLVED] pacman not connecting to repos

hey fukawi2, I can't put the output on the forum directly as I only have the arch base system. so visit www.drop.io/faytaliti and download the image: "pacman output".... That's what you want... It's the pacman output in debug mode


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#9 2009-03-29 10:16:06

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

Re: [SOLVED] pacman not connecting to repos

hey I just uploaded the picture, go see it.


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#10 2009-03-29 21:53:53

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] pacman not connecting to repos

As Alan suggested, have you tried a HTTP mirror instead of FTP?  http://mir.archlinux.fr works OK, but ftp://mir.archlinux.org fails for me as well, so I'd guessing that mirror doesn't run an FTP service.

Offline

#11 2009-03-30 12:00:14

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED] pacman not connecting to repos

Hello faytaliti, welcome to the form. please avoid double posting.

I think there is a problem in your network set up. Earlier I had a similar issue. after changing the default gateway from the default arch install to 192.168.1.1 solved the problem in my case and also remove the ! infront of gateway if you are using static IP. If you want to use dhcp then note that eth0="dhcp"  http://wiki.archlinux.org/index.php/Beg … .2Frc.conf.

You can check the IP addresses with an UBUNTU CD and apply that to your arch install. 
Welcome to arch from the land of Temples.

Offline

#12 2009-04-11 07:06:55

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

Re: [SOLVED] pacman not connecting to repos

hey fukawi2.... you see, my server listed on /etc/pacman.d/mirrorlist is http://mir.archlinux.fr/$repo/os/i686
The first line in mirrorlist is:

Server = http://mir.archlinux.fr/$repo/os/i686

Is this right?


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#13 2009-04-11 07:08:21

faytaliti
Member
From: Chennai, Tamil Nadu, India
Registered: 2009-03-29
Posts: 13

Re: [SOLVED] pacman not connecting to repos

Could it have anything to do with my router setup?


Linux Vs. Human Brain.
Round 1 - Fight!!!

Offline

#14 2009-04-13 00:37:11

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] pacman not connecting to repos

faytaliti wrote:

The first line in mirrorlist is:

Server = http://mir.archlinux.fr/$repo/os/i686

Is this right?

That should work. Can you open http://mir.archlinux.fr/core/os/i686 in your web browser on that computer?

Offline

Board footer

Powered by FluxBB