You are not logged in.

#1 2008-06-17 16:51:46

metalfan
Member
Registered: 2007-11-22
Posts: 99

[SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

Hi,

ive installed this system from another arch, both x86_64 with

pacman -r somedir -Sy base

The system works without problems, but for some reason all pacman operations are very slow, even the download speed is about 1/3 from usual.
I know what you thing: just choose another mirror. But i think its not that simple:


pacman -S evolution
resolving dependencies...
looking for inter-conflicts...

Targets: libnetworkmanager-0.6.6-1  gtkhtml-3.18.2-1  evolution-2.22.2-1  

Total Download Size:    59.04 MB
Total Installed Size:   98.74 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from ftp.archlinux.org : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from locke.suu.edu : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from mirrors.unixheads.org : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from ftp-linux.cc.gatech.edu : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Bad Request
 evolution-2.22.2-1-...     6.9M   34.9K/s 00:25:31 [#############--

The error messages contain random servers, and a random numer of servers. Every Bad Request message needs about 3 seconds, before pacman tries another mirror. Of course its irrelevant what i try to install.
After the download the file check/copy operations also take ages. No errors in pacman.log.

Any idea what this is?

Last edited by metalfan (2008-06-18 20:53:04)

Offline

#2 2008-06-17 17:28:13

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

Have you checked if /etc/pacman.d/mirrorlist is set up properly?


arch(3) adj amused because you think you understand something better than other people ;P

Offline

#3 2008-06-17 18:30:39

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

Im from germany(europe), it contains:

# Europe
# - Austria
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/x86_64
# - Belgium
Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/x86_64
# - Czech Republic
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/x86_64
# - Estonia
Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/x86_64
# - France
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/x86_64
Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/x86_64
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/x86_64
Server = http://mir.archlinux.fr/$repo/os/x86_64
Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/x86_64
# - Germany
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.archlinuxppc.org/x86_64/$repo/os/x86_64
Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/x86_64
Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/x86_64
# - Great Britain
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/x86_64
Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/x86_64
Server = http://archlinux.mirrors.uk2.net/$repo/os/x86_64
# - Greece
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/x86_64
# - Hungary
Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/x86_64
# - Ireland
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/x86_64

Offline

#4 2008-06-17 18:57:29

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

It looks like you haven't removed any mirrors from your mirrorlist since the first error you get is from the main server ftp.archlinux.org which is in the US.  pacman treats the mirrorlist file as a list of servers to try in order, the likely reason things seem slow for you is that you are hitting the main server first which is throttled.  Try moving the german mirrors to the top of the list and experiment with different ones at the top to find a good one. (don't forget to -Sy after you have messed with the mirrorlist)

Offline

#5 2008-06-17 19:03:51

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

Server = ftp://ftp.hosteurope.de/mirror/ftp.arch … /os/x86_64 works here in full speed and it is usually up2date very quickly. Comment the other mirrors or set the hosteurope to the top and you will get better downlaod rates.

Daniel

Offline

#6 2008-06-17 19:43:30

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

Does anyone in these days bother to read the postings?

Offline

#7 2008-06-17 21:17:23

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

metalfan wrote:

Does anyone in these days bother to read the postings?

do you?

The first 5 errors in the output you posted were:

metalfan wrote:
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from ftp.archlinux.org : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from locke.suu.edu : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from mirrors.unixheads.org : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from ftp-linux.cc.gatech.edu : Bad Request
error: failed retrieving file 'evolution-2.22.2-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Bad Request

The first servers in the mirrorlist are:

#
# Arch Linux repository mirrorlist
#

# United States
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/x86_64
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64

The mirrorlist file is just an ordered list of mirrors for pacman to search, it starts at the first one listed (ftp.archlinux.org) and looks for the package there, if it doesn't find it or can't connect it moves on to the next one as your output shows.

The european servers are near the end of the list so they will almost never get used by you since you are likely to get to a working server well before then.  The most likely reason for your slow downloads is that you are pulling packages from servers in the US.

As ise suggested, try putting the hosteurope.de server at the top of your mirrorlist.

Offline

#8 2008-06-18 01:42:26

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

lol, ive already posted my mirrors.....posting #3

Also the main problem, as described above is that ALL pacman operations are slow, im not talking JUST about downloading.
Even checking if file conflicts arise takes ages.

Howeever, ive started from scratch and the errors are gone now. At least from the chroot environment. have to check if its still the case after booting the system



greets
Julius

Offline

#9 2008-06-18 08:56:35

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

If what you posted in #3 was the FULL mirrorlist being used by the pacman operation in #1 then the errors you posted in #1 could not have occured, end of story.

As for all operations being slow, what filesystem is your /var partion on? (ext3, reiser, XFS etc)

Offline

#10 2008-06-18 20:52:38

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: [SOLVED]"pacman -r somedir -Sy base" installation, pacman slow?

True, i shortend the mirrorlisting after the suggestion was made.
Sorry, already started from scratch on my server which also runs arch. No errors so far.

Offline

Board footer

Powered by FluxBB