You are not logged in.
Pages: 1
I'm installing Arch by going through the beginners guide but I'm stuck at the "update system" section (http://wiki.archlinux.org/index.php/Beg … ate_System). After typing "pacman -Syu" it says "Synchronizing package database", nothing happens for ages and then it says "error: failed retreiving file 'core.db.tar.gz from mirror.internode.on.net: Connection timed out" (sometimes "No route to host"). I've tried all the Australian mirrors and a few USA ones. Should I keep trying other mirrors? I think the internet's working since I can ping various domains.
Last edited by r6 (2008-07-02 07:21:04)
Offline
Since this is a fresh install, are you sure the network is working? If not, then you can't update. try to ping something like google.com or something "outside".
Matt
"It is very difficult to educate the educated."
Offline
That's what's confusing, I can ping google.com and the Arch mirrors without any problems.
I just tried re-installing but still getting the same problem.
Offline
Post your network section from /etc/rc.conf and we will see if we can spot an error. Also give the relevant details about how you are connecting.
Offline
I'm connecting with a wired DSL router.
rc.conf networking section:
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# 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)
resolv.conf:
# Generated by dhcpcd for interface eth0
nameserver 10.1.1.1
I installed from CD using archlinux-2008.06-core-i686.iso.
Offline
If you are using dhcp (which it looks like your are setting up), then you want:
#gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
Offline
Try a http mirror, if you haven't already done so.
Offline
Thanks for the suggestions guys, unfortunately neither worked. Still says connection timed out
Offline
Have you forced a pacman update?
pacman -Syf pacman
I believe, it could be that.
Last edited by XFire (2008-07-03 10:06:32)
There is a difference between bleeding [edge] and haemorrhaging. - Allan
Offline
Have you forced a pacman update?
pacman -Syf pacman
I believe, it could be that.
No this is a connection problem.
The -f option should be used with much care!!
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
OK. More things to try....
HOSTNAME="myhost"
Does that match the host name you put for localhost in /etc/hosts?
Offline
"myhost" is the default hostname in rc.conf, but strangely it wasn't in /etc/hosts, even though the comment in rc.conf says "Should also be put in /etc/hosts".
So I did put into /etc/hosts like this:
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost myhost
# End of file
Offline
Edit /etc/pacman.d/mirrorlist by uncommenting the mirrors that are closest to your location. Then,
pacman -Syy
This will sync pacman to the mirrors you selected in /etc/pacman.d/mirrorlist. Also, check whether your /etc/pacman.conf looks like this:
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
#[unstable]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
Source: http://wiki.archlinux.org/index.php/Beg … acman.conf
This is definitely a pacman-related issue, not network-related, as you can ping external IPs.
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! , OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
I finally figured it out and it actually was a network issue.
Had to use dhcp and 10.1.1.1 as the gateway.
Offline
I've had Arch Linux running fine for a few months, but I started having the same problem too, around the time I replaced my modem with a new one. My internet connection works fine, but I get the same issue with Pacman. I tried some of the suggestions to no avail.
I'm using an ASUS Eee PC 701, the specifications for which can be found here. My modem is now a Siemens SpeedStream 4200, and I use a Belkin Wireless G router between it and my computer.
Here are the contents of my rc.conf:
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="yes"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(ath_hal ath_pci wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore asus_acpi)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="Jericho"
# 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
#
ath0="dhcp"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
wlan_ath0="ath0 essid Series_of_Tubes key mywirelesskey"
INTERFACES=(ath0)
# 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="10.1.1.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)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond alsa acpid)
Does anybody have any more suggestions regarding the problem?
Cheers.
Offline
The router will hand out IPs via DHCP, so you need to remove the gateway line and modify the ROUTES line like this:
ROUTES=(!gateway)
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! , OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
Cheers, I've fixed that. Now I get the error "can't open data connection" 99% of the time. After a lot of deliberation I managed to update Wine, but that's about it. I tried editing /etc/pacman.d/mirrorlist to only use local (Australian) mirrors, but no luck there either.
Any more advice?
Offline
Pages: 1