You are not logged in.

#1 2007-09-03 22:06:56

b0ng0
Member
Registered: 2007-08-25
Posts: 31

Can't seem to download with pacman

I keep getting this message:

Network is unreachable
warning: failed to retrieve some files from current
error: failed to commit transaction (unexpected error)

I have tried using various servers and I have tried downloaded different packages and also running -Syu but keep getting the same message. sad

I can download files and browse the web fine and am connected via wireless. Previously pacman was working fine, don't know why it's stopped...

Offline

#2 2007-09-04 02:05:28

sinister99
Member
Registered: 2007-04-10
Posts: 136

Re: Can't seem to download with pacman

Try going here and change your XferCommand in /etc/pacman.conf to wget or one of the others if they are installed.

You could also try pacman -Syyu to completely rebuild your database, that worked for me once.

Last edited by sinister99 (2007-09-04 02:20:10)

Offline

#3 2007-09-04 17:44:24

b0ng0
Member
Registered: 2007-08-25
Posts: 31

Re: Can't seem to download with pacman

Tried both but neither works. It just says "Connecting to..[chosen source]" (I have tried almost all on in the pacman.d/* files and they all do the same. -Syyu won't work either since it can't connect to any of the servers.

The Xfer command I have is XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
but this makes no difference.

It can update the custom sources I have though i.e. compiz fusion and kdemod. Just not the normal ones. Please help, I can't update anything if pacman isn't working :'(

Offline

#4 2007-09-04 18:02:28

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Can't seem to download with pacman

are u using the viper kernel by any chance?
take a look at this


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2007-09-04 19:19:42

b0ng0
Member
Registered: 2007-08-25
Posts: 31

Re: Can't seem to download with pacman

I'm using the latest, 2007-08 DOn't Panic.

Here is my pacman.conf:

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

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community

#[unstable]
# Add your preferred servers here, they will be used first
#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
[kdemod]
Server = http://kdemod.ath.cx/repo/current/i686

[compiz-fusion]
Server = http://arch.nesl247.org/compiz-fusion/i686

When I try pacman -Sy I get this:

:: Synchronising package databases...
error: failed retrieving file 'current.db.tar.gz' from ftp.belnet.be : Network is unreachable
error: failed to synchronise current: Network is unreachable

Last edited by b0ng0 (2007-09-04 19:43:27)

Offline

#6 2007-09-04 20:38:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,261

Re: Can't seem to download with pacman

As the kdemod and compiz repos are http based, but most official mirrors are ftp-based the problem could be related to firewall/proxy settings.

try pinging ftp.belnet.be to see if you can reach the belnet server.

On what kind of network is this pc  ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2007-09-04 20:45:32

b0ng0
Member
Registered: 2007-08-25
Posts: 31

Re: Can't seem to download with pacman

I can ping ftp.belnet.be fine, it responds okay.

I am using a Belkin Wireless router. When I was installing and updating Arch over the weekend it all worked fine (after installing the rt2500 wireless drivers).

It just seemed to stop working. Here is 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"
# 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_GB.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/London"
KEYMAP="uk"
CONSOLEFONT=""
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(forcedeth slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore ra0 rt2500)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="hades"
#
# 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
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo 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-profiles
#
#NET_PROFILES=(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 hal fam kdm alsa)


# End of file

Offline

#8 2007-09-04 21:09:46

cymon
Member
Registered: 2007-09-04
Posts: 8

Re: Can't seem to download with pacman

Are there any other boxes on the network? It's extremely unlikely, but a large number of concurrent connections could swamp the router.

Try using an HTTP mirror as well, as it seems the custom mirrors are HTTP, whereas the officials are FTP. Worth a shot, anyways.

Offline

#9 2007-09-04 21:22:13

b0ng0
Member
Registered: 2007-08-25
Posts: 31

Re: Can't seem to download with pacman

Nah just a desktop that's wired and mine that is wireless. Doesn't make sense that pacman should just stop working, and I can ping the ftp's fine. Seems like a bug to me O_o

Offline

#10 2007-09-04 21:52:50

b0ng0
Member
Registered: 2007-08-25
Posts: 31

Re: Can't seem to download with pacman

Okay switched to the http mirrors and it seems to work. Did a pacman -Syu and it installed some perl stuff. Maybe this was what stopped the ftp working?

Offline

#11 2007-09-19 19:01:30

mvidberg
Member
Registered: 2007-08-31
Posts: 8

Re: Can't seem to download with pacman

I just encountered this same problem... and changing the sources in /etc/pacman.d/current fixed it.

Offline

Board footer

Powered by FluxBB