You are not logged in.

#1 2009-10-27 16:27:40

alphamunin
Member
Registered: 2009-09-21
Posts: 12

pacman mirrorlist

Hi,

I've a problem with pacman, it failed retrieving file from any mirror... first I had ftp://archlinux.puzzle.ch but once it doesn't work anymore, so I tried other mirrors in the mirrorlist sorted with rankmirrors. But with any mirror I've tested I received "error:failed retrieving file ''from core..... error:failed retrieving any db" when I try pacman -Syu or any pacman -S ...

What should I try to do?

Thanks for your help,

Sylvain

p.s here are copy of my pacman.conf and pacman.d/mirrorlist files:

#
# /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
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#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.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

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

[core]
# Add your preferred servers here, they will be used first
#Server=ftp://mir1.archlinuxfr.org/archlinux
Include = /etc/pacman.d/mirrorlist


[extra]
# Add your preferred servers here, they will be used first
#Server=ftp://ftp.hosterope.de/mirror/ftp.archlinux.org/core/os/i686
Include = /etc/pacman.d/mirrorlist

#[community-testing]
## 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
#Server=ftp://ftp.hosterope.de/mirror/ftp.archlinux.org/core/os/i686
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

# Server list generated by rankmirrors on 2009-10-27
#
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
#

# Australia
#Server = ftp://mirror.aarnet.edu.au/pub/archlinu … os/@carch@
#Server = http://mirror.aarnet.edu.au/pub/archlin … os/@carch@
#Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/@carch@
#Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/@carch@
#Server = ftp://mirror.internode.on.net/pub/archl … os/@carch@
#Server = http://mirror.internode.on.net/pub/arch … os/@carch@
#Server = ftp://mirror.pacific.net.au/linux/archl … os/@carch@
#Server = http://mirror.pacific.net.au/linux/arch … os/@carch@

# Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archl … os/@carch@
#Server = http://gd.tuwien.ac.at/opsys/linux/arch … os/@carch@

# Belgium
#Server = ftp://ftp.belnet.be/packages/archlinux/$repo/os/@carch@
#Server = http://ftp.belnet.be/mirror/archlinux.o … os/@carch@

# Brazil
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/@carch@
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/@carch@
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlin … os/@carch@
#Server = http://www.las.ic.unicamp.br/pub/archli … os/@carch@
#Server = http://pet.inf.ufsc.br/mirrors/archlinu … os/@carch@

# Bulgaria
#Server = http://archlinux.igor.onlinedirect.bg/$repo/os/@carch@

# Canada
#Server = ftp://mirror.csclub.uwaterloo.ca/archli … os/@carch@
#Server = http://mirror.csclub.uwaterloo.ca/archl … os/@carch@
#Server = ftp://mirrors.portafixe.com/archlinux/$repo/os/@carch@
#Server = http://mirrors.portafixe.com/archlinux/$repo/os/@carch@

# Chile
#Server = ftp://mirror.archlinux.cl/$repo/os/@carch@

# Czech Republic
#Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/@carch@
#Server = http://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/@carch@

# Denmark
#Server = ftp://ftp.klid.dk/archlinux/$repo/os/@carch@

# Estonia
#Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/@carch@
#Server = http://ftp.estpak.ee/pub/archlinux/$repo/os/@carch@

# Finland
#Server = ftp://mirror.archlinux.fi/$repo/os/@carch@
#Server = http://mirror.archlinux.fi/$repo/os/@carch@

# France

# Germany

# Great Britain
#Server = ftp://mirror.lividpenguin.com/pub/archl … os/@carch@
#Server = http://mirror.lividpenguin.com/pub/arch … os/@carch@
#Server = http://www.mirrorservice.org/sites/ftp. … os/@carch@
#Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/@carch@
#Server = http://archlinux.mirrors.uk2.net/$repo/os/@carch@

# Greece
#Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/@carch@
#Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/@carch@
#Server = ftp://ftp.otenet.gr/pub/linux/archlinux … os/@carch@
#Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/@carch@

# Hungary
#Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.a … os/@carch@

# Indonesia
#Server = ftp://archlinux.cbn.net.id/pub/archlinu … os/@carch@
#Server = http://archlinux.cbn.net.id/$repo/os/@carch@
#Server = ftp://mirror.unej.ac.id/archlinux/$repo/os/@carch@
#Server = http://mirror.unej.ac.id/archlinux/$repo/os/@carch@

# Ireland
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlin … os/@carch@
#Server = http://ftp.heanet.ie/mirrors/ftp.archli … os/@carch@

# Israel
#Server = http://mirror.isoc.org.il/pub/archlinux … os/@carch@

# Italy
#Server = ftp://mi.mirror.garr.it/mirrors/archlin … os/@carch@
#Server = http://mi.mirror.garr.it/mirrors/archli … os/@carch@

# Japan
#Server = ftp://ftp.yz.yamagata-u.ac.jp/pub/linux … os/@carch@
#Server = http://ftp.yz.yamagata-u.ac.jp/pub/linu … os/@carch@

# Latvia
#Server = http://archlinux.goodsoft.lv/$repo/os/@carch@

# Lithuania
#Server = ftp://atviras.lt/archmirror/$repo/os/@carch@
#Server = http://atviras.lt/archmirror/$repo/os/@carch@

# Netherlands
#Server = ftp://mirror.leaseweb.com/archlinux/$repo/os/@carch@
#Server = http://mirror.leaseweb.com/archlinux/$repo/os/@carch@
#Server = ftp://ftp.nluug.nl/pub/metalab/distribu … os/@carch@
#Server = http://ftp.nluug.nl/pub/metalab/distrib … os/@carch@
#Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr … os/@carch@
#Server = http://ftp.surfnet.nl/pub/os/Linux/dist … os/@carch@

# New Caledonia
#Server = ftp://archlinux.nautile.nc/archlinux/$repo/os/@carch@
#Server = http://archlinux.nautile.nc/archlinux/$repo/os/@carch@

# Norway
#Server = ftp://mirror.archlinux.no/$repo/os/@carch@
#Server = http://mirror.archlinux.no/$repo/os/@carch@

# Poland
#Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/@carch@
#Server = ftp://ftp.piotrkosoft.net/pub/mirrors/f … os/@carch@
#Server = http://piotrkosoft.net/pub/mirrors/ftp. … os/@carch@
#Server = ftp://ftp.pwsz.elblag.pl/pub/linux/dist … os/@carch@
#Server = http://ftp.pwsz.elblag.pl/pub/linux/dis … os/@carch@
#Server = http://unix.net.pl/archlinux.org/$repo/os/@carch@

# Portugal
#Server = ftp://cesium.di.uminho.pt/pub/archlinux … os/@carch@
#Server = http://cesium.di.uminho.pt/pub/archlinu … os/@carch@
#Server = http://darkstar.ist.utl.pt/archlinux/$repo/os/@carch@
#Server = ftp://ftp.nux.ipb.pt/pub/dists/archlinu … os/@carch@
#Server = http://ftp.nux.ipb.pt/pub/dists/archlin … os/@carch@

# Romania
#Server = ftp://ftp.iasi.roedu.net/mirrors/archli … os/@carch@
#Server = http://ftp.iasi.roedu.net/mirrors/archl … os/@carch@

# Russia
#Server = http://archlinux.freeside.ru/$repo/os/@carch@
#Server = ftp://mirror.svk.su/archlinux/$repo/os/@carch@
#Server = http://mirror.svk.su/archlinux/$repo/os/@carch@
#Server = ftp://mirror.yandex.ru/archlinux/$repo/os/@carch@
#Server = http://mirror.yandex.ru/archlinux/$repo/os/@carch@

# Sweden
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlin … os/@carch@
#Server = http://ftp.ds.hj.se/pub/os/linux/archli … os/@carch@
#Server = ftp://ftp.gigabit.nu/$repo/os/@carch@
#Server = http://ftp.gigabit.nu/$repo/os/@carch@

# Switzerland

# Turkey
#Server = ftp://ftp.linux.org.tr/archlinux/$repo/os/@carch@

# Ukraine
#Server = ftp://archlinux.hell.org.ua/archlinux/$repo/os/@carch@
#Server = http://archlinux.hell.org.ua/archlinux/$repo/os/@carch@
#Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchL … os/@carch@
#Server = http://ftp.linux.kiev.ua/pub/Linux/Arch … os/@carch@

# United States
#Server = http://mirror.archlinux.com.ve/$repo/os/@carch@
#Server = http://archlinux.unixheads.org/$repo/os/@carch@
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/@carch@
#Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/@carch@
#Server = ftp://mirrors.easynews.com/linux/archli … os/@carch@
#Server = http://mirrors.easynews.com/linux/archl … os/@carch@
#Server = ftp://ftp.archlinux.org/$repo/os/@carch@
#Server = http://mirrors.gigenet.com/archlinux/$repo/os/@carch@
#Server = ftp://ftp.gtlib.gatech.edu/pub/linux/di … os/@carch@
#Server = http://www.gtlib.gatech.edu/pub/linux/d … os/@carch@
#Server = ftp://mirrors.hosef.org/archlinux/$repo/os/@carch@
#Server = http://mirrors.hosef.org/archlinux/$repo/os/@carch@
#Server = ftp://ibiblio.org/pub/linux/distributio … os/@carch@
#Server = http://distro.ibiblio.org/pub/linux/dis … os/@carch@
#Server = ftp://locke.suu.edu/linux/dist/archlinu … os/@carch@
#Server = ftp://mirror.rit.edu/archlinux/$repo/os/@carch@
#Server = http://mirror.rit.edu/archlinux/$repo/os/@carch@
#Server = http://schlunix.org/archlinux/$repo/os/@carch@
#Server = http://mirror.sourceshare.org/archlinux … os/@carch@
#Server = http://archlinux.umflint.edu/$repo/os/@carch@
#Server = http://mirror.umoss.org/archlinux/$repo/os/@carch@

# Venezuela
#Server = http://mirror2.archlinux.com.ve/$repo/os/@carch@

# Vietnam
#Server = ftp://202.78.230.5/archlinux/$repo/os/@carch@
#Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/@carch@
#Server = ftp://mirror-fpt-telecom.fpt.net/archli … os/@carch@
#Server = http://mirror-fpt-telecom.fpt.net/archl … os/@carch@

Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirr … os/@carch@
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/@carch@
Server = http://mir1.archlinuxfr.org/archlinux/$repo/os/@carch@
Server = ftp://ftp.tu-chemnitz.de/pub/linux/arch … os/@carch@
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/@carch@

Last edited by alphamunin (2009-10-27 16:33:24)

Offline

#2 2009-10-27 17:31:40

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: pacman mirrorlist

Did you do

pacman -Syy

after you changed mirrors? As explained in the Beginner's Guide, this is necessary after changing mirrors in order for pacman to synch all databases.

Additionally, your mirrorlist looks strange. My mirrors look as follows:
Server = ftp://ftp.wh-stuttgart.net/archlinux/$repo/os/i686
Server = ftp://mirror.leaseweb.com/archlinux/$repo/os/i686
Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirr … po/os/i686
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr … po/os/i686
Server = ftp://ftp.nluug.nl/pub/metalab/distribu … po/os/i686
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.belnet.be/packages/archlinux/$repo/os/i686
Server = ftp://ibiblio.org/pub/linux/distributio … po/os/i686
Server = ftp://ftp.archlinux.org/$repo/os/i686

The difference is, that you don't have the architecture in your paths (i686).

Offline

#3 2009-10-27 17:32:23

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: pacman mirrorlist

This is my mirrorlist file:

# 2009-10-27 18:19
# generated by reflector
# ranked by rankmirrors
Server = http://mir.archlinux.fr/$repo/os/i686
Server = http://mirror.archlinux.ro/archlinux/$repo/os/i686
Server = http://mirror.umoss.org/archlinux/$repo/os/i686
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
Server = ftp://ftp.wh-stuttgart.net/archlinux/$repo/os/i686

I would recommend installing reflector afterwards and run this command:

reflector -l 20 -f 5 -o /etc/pacman.d/mirrorlist

Birger smile

Offline

#4 2009-10-27 18:14:34

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: pacman mirrorlist

From your mirrorlist it seems as you are located in Germany. I strongly suggest you check the status of the mirrors

https://users.archlinux.de/~gerbra/mirrorcheck.html

I found that a lot of German mirrors lag behind considerably.

Offline

#5 2009-10-27 18:17:27

alphamunin
Member
Registered: 2009-09-21
Posts: 12

Re: pacman mirrorlist

Yes I had already done pacman -Syy but I think that there is a problem with the mirror which are listed in my mirrorlist like you suggest. I've tried to use one of your mirror and it works well.
But reflector create me a mirrorlist with nothing inside...
Could you give me your mirrorlist please? I think  mine is wrong.

Offline

#6 2009-10-27 18:19:21

alphamunin
Member
Registered: 2009-09-21
Posts: 12

Re: pacman mirrorlist

actually I'm from Switzerland, but I've tried german mirrors because swiss ones seemed not to work...

Offline

#7 2009-10-27 18:22:54

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: pacman mirrorlist

Copy mine above, and update all packages before trying to run the reflector command.

reflector -l 20 -f 5 -o /etc/pacman.d/mirrorlist

The letter just after reflector is a small L character.

Birger smile

Offline

#8 2009-10-27 18:22:55

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: pacman mirrorlist

I sent you a PM with my mirrorlist. Didn't want to clutter the forum with it. Hope it helps. Just in case it didn't work, here are all the mirrors for Switzerland:

# Switzerland
#Server = ftp://archlinux.puzzle.ch/$repo/os/i686
#Server = http://archlinux.puzzle.ch/$repo/os/i686

There are only two, so you might want to keep the German ones as a backup. If you do that, please note that the first may not be the fastest, but I found this one the most current.

Offline

#9 2009-10-27 18:33:25

alphamunin
Member
Registered: 2009-09-21
Posts: 12

Re: pacman mirrorlist

Thank you very much, it works with your mirrors but I can't find the best for me with reflector. The command you give me returns:

Traceback (most recent call last):
  File "/usr/bin/rankmirrors", line 22, in <module>
    import os, sys, datetime, time, socket, urllib2
  File "/usr/lib/python2.6/urllib2.py", line 90, in <module>
    import base64
  File "/usr/lib/python2.6/base64.py", line 10, in <module>
    import binascii
ImportError: libz.so.1: wrong ELF class: ELFCLASS64

Offline

#10 2009-10-27 19:10:50

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: pacman mirrorlist

Do you have Python installed?

Birger smile

Offline

#11 2009-10-27 19:55:40

alphamunin
Member
Registered: 2009-09-21
Posts: 12

Re: pacman mirrorlist

yes I have python installed.
But now it seems that my problem has grown bigger... I've tried to reboot  and after that I wasn't any more able to connect to internet so I reboot on windows. I use wicd as a network manager and it doesn't start anymore. Many things that I try give me back the same error as before :

ImportError: libz.so.1: wrong ELF class: ELFCLASS64

I don't know the causal effect between my problem with mirrors and this one. Maybe the new mirrors you give me hadn't the same packages as mine.

Offline

#12 2009-10-27 20:02:39

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: pacman mirrorlist

Looks like you installed a 64 bits package in you 32 bits system. Check in your mirrorlist if you links end in i686 and not in x86_64

Offline

#13 2009-10-27 20:47:05

alphamunin
Member
Registered: 2009-09-21
Posts: 12

Re: pacman mirrorlist

I'm afraid it could be the problem... how can I fix it, assuming I've no more connexion? downgrading?

Offline

#14 2009-10-28 15:38:55

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: pacman mirrorlist

Just alter your links to the correct arch, and try updating. Maybe run pacman -Rns python.

Birger smile

Offline

Board footer

Powered by FluxBB