You are not logged in.

#1 2007-06-10 01:55:58

zgerrz
Member
Registered: 2007-06-10
Posts: 4

Pacman not able to download any packages but network appears up

Here is what I get when trying to update my system right after a base install:

# pacman -Syu
warning: current locale is invalid; using default "C" locale
:: Synchronizing package databases...
error: failed retrieving file 'current.db.tar.gz' from mirrors.easynews.com : Not Found
error: failed retrieving file 'current.db.tar.gz' from ftp.nethat.com : Connection timed out
error: failed to synchronize current: Connection timed out
error: failed retrieving file 'extra.db.tar.gz' from mirrors.easynews.com : Not Found
error: failed retrieving file 'extra.db.tar.gz' from ftp.nethat.com : Connection timed out
error: failed to synchronize extra: Connection timed out
error: failed retrieving file 'community.db.tar.gz' from mirrors.easynews.com : Not Found
error: failed retrieving file 'community.db.tar.gz' from ftp.nethat.com : Connection timed out
error: failed to synchronize community: Connection timed out
error: failed to synchronize any databases

It looks like my network may be down, but I can ping sites like google and yahoo. Here is my pacman.conf file:

#
# /etc/pacman.conf
#
# See the pacman manpage for option directives

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

#
# 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
#
#[testing]
#Include = /etc/pacman.d/testing

[current]
# Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archlinux/
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/
Include = /etc/pacman.d/current

[extra]
# Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archlinux/
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/
Include = /etc/pacman.d/extra

[community]
# Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archlinux/
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/
Include = /etc/pacman.d/community

#[unstable]
# Add your preferred servers here, they will be used first
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/
#Include = /etc/pacman.d/unstable

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

I first tried with FTP mirrors, and then with HTTP mirrors. Both did not work.

Any suggestions?


EDIT: I also keep getting this error when running any pacman command:

warning: current locale is invalid; using default "C" locale

Last edited by zgerrz (2007-06-10 02:01:39)

Offline

#2 2007-06-10 02:05:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Pacman not able to download any packages but network appears up

Welcome to Arch

You don't have the full path for Easynews. For 32 bit Current, Easynews would look like this:

Server = http://mirrors.easynews.com/linux/archlinux/current/os/i686

Extra:

Server = http://mirrors.easynews.com/linux/archlinux/extra/os/i686

And so on...

Last edited by skottish (2007-06-10 02:06:08)

Offline

#3 2007-06-10 02:14:42

zgerrz
Member
Registered: 2007-06-10
Posts: 4

Re: Pacman not able to download any packages but network appears up

Ooh, I see. I just copied it straight from the mirrors list without modifying the URL properly.

Thanks very much for your quick response.

Offline

Board footer

Powered by FluxBB