You are not logged in.
Hi, I'm new to arch, but have used ubuntu for a while now.
New installation, and when I run pacman -Syu, it says the following
#pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file `core.db.tar.gz` from mirror.pacific.net.au : Connection timed out
error: failed to synchronise code: Connection timed out
...
Also, I think my network is set up correctly as I can ping google.com
I am using a wired connection with dhcp.
Do I need to edit the resolv.conf, and the hosts files, I am not sure what needs to go in these files.
I installed from the 2008.06 core i686 iso.
Thanks in advance
EDIT:
view http://bbs.archlinux.org/viewtopic.php?id=56376 for solution to problem
Last edited by bensmith87 (2008-11-14 21:11:56)
Offline
At the moment the relevant files are
/etc/resolve.conf
nameserver 10.1.1
/etc/hosts
127.0.0.1 localhost.localdomain localhost
/etc/hosts.allow is empty
/etc/hosts.deny
ALL: ALL: DENY
How do I find out what to put in these files, if they are the problem?
Offline
Results of route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default mygateway.ar7 0.0.0.0 UG 0 0 0 eth0
Contents of rc.conf
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
I hope this will help, Thanks again.
Offline
Hi bensmith87,
Do you have more than one mirror uncommented in your /etc/pacman.d/mirrorlist file? Pacman should move on to the next mirror if the current one times out.
Also, welcome to Arch!
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I have tried a few different mirrors, but they all time out.
Iv'e also changed /etc/hosts to
127.0.0.1 localhost.localdomain ben-desktop localhost
Thanks for the quick reply.
Offline
Ive also tried changing the default gateway like...
gateway="default gw 10.1.1.1"
And I have added to the mirrorlist the arch linux mirror from my ISP.
But still no luck,
Also, should there be a loop back setup in the rc.conf file?
And, if I reinstall ubuntu, is there a way I can find out all these settings, or can i just copy files over? I have never had a problem connecting to the internet, downloading from the repositries etc with Ubuntu.
Thanks again.
Offline
Sorry, that was i typo, should have been 10.1.1.1
Is this still not a full IP?
This file was generated by dhcpcd, so does that mean it is right?
On another computer, connected through the same router, I ran ipconfig and got the following...
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Ben>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Ben-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8055 PCI-E Gigabit Ether
net Controller
Physical Address. . . . . . . . . : 00-1B-24-2F-D2-0C
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b077:6549:a630:3ae1%8(Preferred)
IPv4 Address. . . . . . . . . . . : 10.1.1.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.0.0.0
Lease Obtained. . . . . . . . . . : Tuesday, 11 November 2008 11:44:03 AM
Lease Expires . . . . . . . . . . : Tuesday, 11 November 2008 12:44:04 PM
Default Gateway . . . . . . . . . : 10.1.1.1
DHCP Server . . . . . . . . . . . : 10.1.1.1
DNS Servers . . . . . . . . . . . : 10.1.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
My house mate set up the router, so I dont know much about it.
Last edited by bensmith87 (2008-11-11 01:03:14)
Offline
ok, then it seems to be fine.
Still just in case try changing the DNS to... ill give temporarily mine 200.40.30.245.
and run as root# route add default gw 10.1.1.1
When I run this it says
SIOCADDRT: File exists
Offline
Are you surfing the web from the Arch installed machine? If that's the case, nothing from the previous posts should help you, and probably the pacman mirror is down, try adding another one.
Offline
I'm not using the internet on the arch computer, but I can ping google.com, and the mirror.
I have tried a few different mirrors, and no luck.
Offline
Ok, so I tried installing again, but this time with the ftp cd.
It configures my network with dhcp just fine, and says network configured, but when I go select packages, it says this awesome error.
[*] Error: ^
[*] Expected ^
[*] at ^
[*] least ^
[*] 7 ^
[*] tokens ^
[*] for ^
Offline
I found a bug report about this.
http://bugs.archlinux.org/task/11083
#ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:8D:DB:1E:B5
inet addr:10.1.1.3 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROARDCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors :0 dropped:0 overruns:0 frame:0
TX packets:42 errors :0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2588 (2.5 Kb) TX bytes:3648 (3.5 Kb)
Interrupt:23 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors :0 dropped:0 overruns:0 frame:0
TX packets:0 errors :0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I just ran this from the live cd
Offline
There is another thread here with similar issues, but none work for me.
http://bbs.archlinux.org/viewtopic.php?id=52584&p=2
Ive burnt off an older ftp install disk, but im no too hopeful.
Looks like back to Ubuntu for me if a solution doesnt come up soon
Offline
Can you post your /etc/pacman.conf file? Is this line uncommented?
#NoPassiveFtp
Try changing the hosts file so that the name ("ben-desktop") is at the end: http://wiki.archlinux.org/index.php/Beg … tc.2Fhosts
Also, make sure that you have
HOSTNAME="ben-desktop"
in /etc/rc.conf. Just for the sake of trying everything, change the name to something without a hyphen in it (doubt it matters, but that line of reasoning often leads to surprise solutions).
Perhaps you can try this: http://wiki.archlinux.org/index.php/Off … f_packages
I don't know if I really think it will help, but something in the back of my minds is hoping that if you get the latest packages that way, your system will kick in and work.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Xyne, thanks for the tips.
I'v just got Ubuntu back up and working as I like it, but as I really want to use Arch, Ill give it another go, whats the worst that can happen?
Try changing the hosts file so that the name ("ben-desktop") is at the end: http://wiki.archlinux.org/index.php/Beg … tc.2Fhosts
I have already tried this, but no go.
Before I try again, is there anything I can check in my Ubuntu installation that might help?
Offline
Before I try again, is there anything I can check in my Ubuntu installation that might help?
Follow the wiki link in my previous post to find the direct links to the database files on the main server. Try to download them directly on Ubuntu just as a sanity check to make sure that there's nothing blocking the connection between your computer and the server.
Take a look at this too: http://wiki.archlinux.org/index.php/Ins … her_distro Depending on your disk layout, that might be a viable alternative (install Arch on one disk from a second disk with Ubuntu, then keep/delete Ubuntu, or from one partition to another on the same disk... if you only have one disk and want to dedicate all the space to Arch, you could set up LVM, install Ubuntu on a logical volume, set up arch on another, remove Ubuntu, and then extend Arch's logical volume(s) with the freed space... of course, even as I wrote that I was thinking "sounds like a PITA, even if it's probably not (too much)").
Ffs, my parenthetical comments are longer than my main content.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thanks again for all your help Xyne,
I am trying the install from within Ubuntu, and it isn't looking good.
I needed to follow http://wiki.archlinux.org/index.php/Ins … ting_Linux instead of the link you posted because of pacman.static being removed or something.
Anyway, it is still timing out
I don't know what to do, I don't think it can me my connection, as it seems to be working well for everything else.
Also, I read this in the wiki guide, and was curious, I'm not using x86_64.
You may want to manually resolve DNS in the /etc/pacman.d/mirrorlist, because pacman-static for i686 may not be able to get address information on x86_64 systems.
mirrorlist
#
# Arch Linux repository mirrorlist
#
Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
# North America
# - United States
#Server = ftp://ftp.archlinux.org/$repo/os/i686
#Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
#Server = http://archlinux.unixheads.org/$repo/os/i686
#Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
#Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
#Server = http://holmes.umflint.edu/archlinux/$repo/os/i686
#Server = http://mirror.neotuli.net/arch/$repo/os/i686
#Server = http://mirror.rit.edu/archlinux/$repo/os/i686
#Server = http://mirror.umoss.org/archlinux/$repo/os/i686
#Server = http://schlunix.org/archlinux/$repo/os/i686
# - Canada
#Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch
# South America
# - Brazil
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
# Europe
# - Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
# - Belgium
#Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686
# - Czech Republic
#Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
# - Estonia
#Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/i686
# - France
#Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686
#Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/i686
#Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
#Server = http://mir.archlinux.fr/$repo/os/i686
#Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/i686
# - Germany
#Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.archlinuxppc.org/i686/$repo/os/i686
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
# - Great Britain
#Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/i686
#Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686
#Server = http://archlinux.mirrors.uk2.net/$repo/os/i686
# - Greece
#Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
# - Hungary
#Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/i686
# - Ireland
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686
# - Italy
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
# - Netherlands
#Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
#Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686
# - Norway
#Server = http://arch.likbilen.com/$repo/os/@carch
# - Poland
#Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/i686
#Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = http://unix.net.pl/archlinux.org/$repo/os/i686
# - Portugal
#Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
# - Romania
#Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686
# - Russia
#Server = ftp://mirror.yandex.ru/archlinux/$repo/os/i686
#Server = http://archlinux.freeside.ru/$repo/os/i686
# - Sweden
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.gigabit.nu/$repo/os/i686
# - Switzerland
#Server = http://archlinux.puzzle.ch/$repo/os/i686
# - Turkey
#Server = http://server.elsistech.com/archlinux/$repo/os/i686
# - Ukraine
#Server = ftp://hell.org.ua/archlinux/$repo/os/i686
#Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686
# Asia
# - Israel
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/i686
# - Vietnam
# Domain name is ftp.indochinalinux.com but there are frequent DNS problems
#Server = ftp://202.78.230.5/archlinux/$repo/os/i686
# Australia
Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[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
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
Offline
I think its working
Offline
I think its working
I'll once you've confirmed that.
If not (and even if), uncomment some more mirrors. The 2 uncommented ones that you have there are the same server, which means that if that fails, pacman fails. If you're worried about speed, you can use "rankmirrors" to sort them once you've enabled a few more.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Ok, this is the weirdest thing I have ever seen.
Pacman will time out every time,
Unless I use my laptop, connected via wireless to the same router, and go to the folder on the ftp mirror I want pacman to download from. Then I tell the arch computer to do whatever with pacman, and it works.
Or I'm crazy.
Anyway, I've updated everything, got sound to work, and almost have x.
Thanks for all your help, and Ill let you know if this is just some crazy coincidence, or a crazy bug.
Any light shed would also be appreciated.
I'm happy now anyway
Offline
I have now got a DE installed and a browser, and the same thing is happening.
Any URL will time out, unless I visit it first on another computer connected through the same router.
So I'm not sure whether this is an arch issue, or something wrong with my router.
Its a DLink ADSL Voip router, if that helps.
Anyway, still loving arch, its beautiful.
Thanks again for all your help.
Offline