You are not logged in.

#1 2013-06-19 04:55:41

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

pacman: connectivity

Hi,

There's an office LAN, partly dysfunctional. Being no admin, I can't describe it in any precise way. It runs like this:

1. Files get downloaded as if nothing were wrong, mostly. At least, browser downloads and torrents run smoothly.
2. Internet site browsing is, shall we say, satisfactory. Should have been better, though.
3. pacman is all but disabled. 'All but' means that on a good day I can get my updates, with luck.

Typically, it looks like this:

...

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from archlinux.goodsoft.lv : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from mirrors.kernel.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from mirror.de.leaseweb.net : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from mirror.nl.leaseweb.net : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from archlinux.polymorf.fr : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from mirror.chmuri.net : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from ftp.tuxdroid.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from lug.mtu.edu : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'linux-firmware-20130610-1-any.pkg.tar.xz' from archlinux.limun.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds

...

$ ping -c 3 www.google.com
PING www.google.com (74.125.232.49) 56(84) bytes of data.
64 bytes from 74.125.232.49: icmp_seq=1 ttl=55 time=21.8 ms
64 bytes from 74.125.232.49: icmp_seq=2 ttl=55 time=14.0 ms
64 bytes from 74.125.232.49: icmp_seq=3 ttl=55 time=14.2 ms

--- www.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 14.091/16.739/21.866/3.625 ms

On a good day, it catches sporadically, showing excellent speed (10+ Mb/s) while at it. What's wrong with the LAN? I've got nothing of substance to tell the admin, that is.

Offline

#2 2013-06-19 05:04:59

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: pacman: connectivity

Llama wrote:

What's wrong with the LAN? I've got nothing of substance to tell the admin, that is.

That's something random people around the globe can't answer for you and definitely something the network admin needs to look at. Telling him/her what you've posted here is a good start.

EDIT: when pacman fails, are you able to wget the same file OK?

Last edited by fukawi2 (2013-06-19 05:06:02)

Offline

#3 2013-06-19 05:14:21

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pacman: connectivity

fukawi2 wrote:
Llama wrote:

What's wrong with the LAN? I've got nothing of substance to tell the admin, that is.

That's something random people around the globe can't answer for you and definitely something the network admin needs to look at. Telling him/her what you've posted here is a good start.

EDIT: when pacman fails, are you able to wget the same file OK?

The admin in question is seldom to be seen, very busy, and not very cooperative. He is not dogfooding it, too (which is the root of the problem, IMO). My only chance is to corner him with some test results, but I've no idea about the right tests.

How am I supposed to get, say, cups from a repository with wget?

Last edited by Llama (2013-06-19 05:34:38)

Offline

#4 2013-06-19 05:58:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: pacman: connectivity

Llama wrote:

How am I supposed to get, say, cups from a repository with wget?

Most mirrors allow directory listing, so opening the mirror in your browser (eg, http://archlinux.goodsoft.lv/) will let your browse for the file you want... Then it's just a matter of wget'ing it:

wget http://archlinux.goodsoft.lv/extra/os/x86_64/cups-1.6.2-3-x86_64.pkg.tar.xz

Offline

#5 2013-06-19 07:02:48

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pacman: connectivity

Thanks!

$ wget http://archlinux.goodsoft.lv/extra/os/x … pkg.tar.xz
--2013-06-19 10:58:48--  http://archlinux.goodsoft.lv/extra/os/x … pkg.tar.xz
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7112740 (6.8M) [application/x-xz]
Saving to: ‘cups-1.6.2-3-x86_64.pkg.tar.xz’

100%[==================================================>] 7,112,740   7.42MB/s   in 0.9s   

2013-06-19 10:59:11 (7.42 MB/s) - ‘cups-1.6.2-3-x86_64.pkg.tar.xz’ saved [7112740/7112740]

Success. Awaiting response took about 20 seconds.

Offline

#6 2013-06-19 07:08:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pacman: connectivity

Can you paste your .conf and mirrorlist?


And not an Arch discussion, moving to Pacman and Package Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-06-19 07:59:39

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pacman: connectivity

jasonwryan wrote:

Can you paste your .conf and mirrorlist?

/etc/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
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# 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
#   - URLs will have $arch replaced by the name of the architecture
#
# 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]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

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

/etc/pacman.d/mirrorlist:

##
## Arch Linux repository mirrorlist
## Sorted by mirror score from mirror status page
## Generated on 2013-05-01
##
## Score: 1.7, Finland
#Server = http://mirror.archlinux.fi/archlinux/$repo/os/$arch
## Score: 2.0, Latvia
Server = http://archlinux.goodsoft.lv/$repo/os/$arch
## Score: 2.6, United States
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
## Score: 0.5, Germany
Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.5, Netherlands
Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.5, France
Server = http://archlinux.polymorf.fr/$repo/os/$arch
## Score: 0.5, Poland
Server = http://mirror.chmuri.net/archmirror/$repo/os/$arch
## Score: 0.7, Germany
Server = http://ftp.tuxdroid.org/archlinux/$repo/os/$arch
## Score: 0.7, United States
Server = http://lug.mtu.edu/archlinux/$repo/os/$arch
## Score: 0.7, Germany
Server = http://archlinux.limun.org/$repo/os/$arch
## Score: 0.8, Belarus
Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch
## Score: 0.9, United States
Server = http://hive.ist.unomaha.edu/archlinux/$repo/os/$arch
## Score: 0.9, United Kingdom
Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
## Score: 0.9, Germany
Server = http://mirror.1favre.de/$repo/os/$arch
## Score: 0.9, Germany
Server = http://mirror.unitedcolo.de/archlinux/$repo/os/$arch
## Score: 0.9, France
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
## Score: 0.9, Germany
Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch
## Score: 0.9, Netherlands
Server = http://arch.apt-get.eu/$repo/os/$arch
## Score: 0.9, United Kingdom
Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
## Score: 0.9, Germany
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
## Score: 1.0, Greece
Server = http://foss.aueb.gr/mirrors/linux/archlinux/$repo/os/$arch
## Score: 1.0, United States
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
## Score: 1.0, Italy
Server = http://archlinux.openlabto.org/archlinux/$repo/os/$arch
## Score: 1.0, Germany
Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
## Score: 1.0, Taiwan, Province of China
Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
## Score: 1.0, France
Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$arch
## Score: 1.0, Sweden
Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
## Score: 1.0, Denmark
Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch
## Score: 1.1, United States
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
## Score: 1.1, Poland
Server = http://ftp.vectranet.pl/archlinux/$repo/os/$arch
## Score: 1.1, Netherlands
Server = http://fruk.org/archlinux/$repo/os/$arch
## Score: 1.1, Austria
Server = http://mirror1.htu.tugraz.at/archlinux/$repo/os/$arch
## Score: 1.2, Switzerland
Server = http://archlinux.puzzle.ch/$repo/os/$arch
## Score: 1.2, Czech Republic
Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch
## Score: 1.2, Netherlands
Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch
## Score: 1.2, Russian Federation
Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch
## Score: 1.2, France
Server = http://mir.archlinux.fr/$repo/os/$arch
## Score: 1.2, Norway
Server = http://mirror.archlinux.no/$repo/os/$arch
## Score: 1.3, Germany
Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
## Score: 1.4, Belgium
Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch
## Score: 1.4, Australia
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
## Score: 1.4, Germany
Server = http://ftp.neutrinopower.de/archlinux/$repo/os/$arch
## Score: 1.4, Brazil
Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
## Score: 1.5, Germany
Server = http://mirror.michael-eckert.net/archlinux/$repo/os/$arch
## Score: 1.6, Japan
Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
## Score: 1.6, Germany
Server = http://mirror.fluxent.de/archlinux/$repo/os/$arch
## Score: 1.6, United States
Server = http://mirror.nexcess.net/archlinux/$repo/os/$arch
## Score: 1.6, United States
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
## Score: 1.6, Macedonia, The Former Yugoslav Republic of
Server = http://arch.linux.net.mk/archlinux/$repo/os/$arch
## Score: 1.6, Brazil
Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch
## Score: 1.6, Germany
Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch
## Score: 1.7, Belarus
Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch
## Score: 1.7, United States
Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
## Score: 1.7, United States
Server = http://mirror.umd.edu/archlinux/$repo/os/$arch
## Score: 1.7, Worldwide
Server = http://mirror.brainfork.me/archlinux/$repo/os/$arch
## Score: 1.7, Sweden
Server = http://ftp.portlane.com/pub/os/linux/archlinux/$repo/os/$arch
## Score: 1.7, Brazil
Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
## Score: 1.8, Hungary
Server = http://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
## Score: 1.8, United States
Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
## Score: 1.9, United States
Server = http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch
## Score: 1.9, United States
Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
## Score: 1.9, United States
Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
## Score: 1.9, United States
Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
## Score: 1.9, Czech Republic
Server = http://archlinux.mirror.dkm.cz/pub/archlinux/$repo/os/$arch
## Score: 1.9, Germany
Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
## Score: 2.0, Luxembourg
Server = http://archlinux.mirror.root.lu/$repo/os/$arch
## Score: 2.0, Canada
Server = http://archlinux.mirror.rafal.ca/$repo/os/$arch
## Score: 2.1, United Kingdom
Server = http://mirror.cinosure.com/archlinux/$repo/os/$arch
## Score: 2.3, United States
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
## Score: 2.3, Canada
Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
## Score: 2.3, United Kingdom
Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/$arch
## Score: 2.3, Australia
Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch
## Score: 2.4, Israel
Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch
## Score: 2.5, Finland
Server = http://mirror.academica.fi/archlinux/$repo/os/$arch
## Score: 2.5, Viet Nam
Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/$arch
## Score: 2.5, Germany
Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
## Score: 2.5, Colombia
Server = http://www.laqee.unal.edu.co/archlinux/$repo/os/$arch
## Score: 2.6, Italy
Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch
## Score: 2.7, Estonia
Server = http://ftp.eenet.ee/pub/archlinux/$repo/os/$arch
## Score: 2.7, Norway
Server = http://archlinux.uib.no/$repo/os/$arch
## Score: 2.7, Netherlands
Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch
## Score: 2.7, Greece
Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch
## Score: 2.8, Serbia
Server = http://mirror.pmf.kg.ac.rs/archlinux/$repo/os/$arch
## Score: 3.0, United States
Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
## Score: 3.1, United States
Server = http://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch
## Score: 3.2, Greece
Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch
## Score: 3.2, Greece
Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
## Score: 3.2, Portugal
Server = http://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/$arch
## Score: 3.2, United States
Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch
## Score: 3.3, China
Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
## Score: 3.4, China
Server = http://mirror.bjtu.edu.cn/archlinux/$repo/os/$arch
## Score: 3.5, China
Server = http://mirror6.bjtu.edu.cn/archlinux/$repo/os/$arch
## Score: 3.6, China
Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
## Score: 3.6, United States
Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
## Score: 3.6, Germany
Server = http://linux.rz.rub.de/archlinux/$repo/os/$arch
## Score: 3.8, Germany
Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
## Score: 3.8, Sweden
Server = http://ftp.df.lth.se/pub/archlinux/$repo/os/$arch
## Score: 3.9, Ireland
Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch
## Score: 4.0, Kazakhstan
Server = http://archlinux.kz/$repo/os/$arch
## Score: 4.1, United States
Server = http://mirrors.lax1.thegcloud.com/arch/$repo/os/$arch
## Score: 4.1, South Africa
Server = http://ftp.wa.co.za/pub/archlinux/$repo/os/$arch
## Score: 4.1, Romania
Server = http://mirror.archlinux.ro/archlinux/$repo/os/$arch
## Score: 4.1, France
Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
## Score: 4.4, Bulgaria
Server = http://archlinux.igor.onlinedirect.bg/$repo/os/$arch
## Score: 4.8, Singapore
Server = http://mirror.nus.edu.sg/archlinux/$repo/os/$arch
## Score: 4.8, New Caledonia
Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch
## Score: 4.8, Australia
Server = http://mirror.optus.net/archlinux/$repo/os/$arch
## Score: 5.0, United Kingdom
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch
## Score: 5.1, Sweden
Server = http://ftp.availo.se/archlinux/$repo/os/$arch
## Score: 5.1, France
Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
## Score: 5.2, New Zealand
Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch
## Score: 5.2, Russian Federation
Server = http://mirror.rol.ru/archlinux/$repo/os/$arch
## Score: 5.5, China
Server = http://mirrors.stuhome.net/archlinux/$repo/os/$arch
## Score: 5.5, China
Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
## Score: 5.5, India
Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
## Score: 5.7, China
Server = http://mirrors6.ustc.edu.cn/archlinux/$repo/os/$arch
## Score: 6.8, United States
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
## Score: 7.4, United States
Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch
## Score: 7.4, Australia
Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
## Score: 7.4, Spain
Server = http://sunsite.rediris.es/mirror/archlinux/$repo/os/$arch
## Score: 7.5, China
Server = http://mirrors.163.com/archlinux/$repo/os/$arch
## Score: 7.6, Japan
Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch
## Score: 7.9, Taiwan, Province of China
Server = http://archlinux.cs.nctu.edu.tw/$repo/os/$arch
## Score: 8.6, Turkey
Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch
## Score: 8.7, United States
Server = http://mirror.metrocast.net/archlinux/$repo/os/$arch
## Score: 8.8, Ukraine
Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch
## Score: 9.4, Indonesia
Server = http://mirror.unej.ac.id/archlinux/$repo/os/$arch
## Score: 10.2, United States
Server = http://archlinux.supsec.org/$repo/os/$arch
## Score: 12.5, Germany
Server = http://artfiles.org/archlinux.org/$repo/os/$arch
## Score: 12.5, Kazakhstan
Server = http://mirror.neolabs.kz/archlinux/$repo/os/$arch
## Score: 12.6, Australia
Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
## Score: 12.7, Netherlands
Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
## Score: 12.7, Germany
Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
## Score: 12.9, Canada
Server = http://archlinux.mirror.vexxhost.com/$repo/os/$arch
## Score: 12.9, Ukraine
Server = http://mirrors.mithril.org.ua/linux/archlinux/$repo/os/$arch
## Score: 13.1, Germany
Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
## Score: 13.3, Spain
Server = http://osl.ugr.es/archlinux/$repo/os/$arch
## Score: 13.3, Sweden
Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/$arch
## Score: 13.4, Germany
Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/$arch
## Score: 13.6, Slovakia
Server = http://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch
## Score: 15.3, Korea, Republic of
Server = http://ftp.kaist.ac.kr/ArchLinux/$repo/os/$arch
## Score: 16.6, Chile
Server = http://mirror.archlinux.cl/$repo/os/$arch
## Score: 22.4, Uzbekistan
Server = http://mirrors.st.uz/archlinux/$repo/os/$arch
## Score: 58.1, Sri Lanka
Server = http://mirror.learn.ac.lk/archlinux/$repo/os/$arch

Offline

#8 2013-06-19 08:37:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: pacman: connectivity

Llama wrote:

Success. Awaiting response took about 20 seconds.

pacman waits 10 seconds.   Try another mirror.

Offline

#9 2013-06-19 09:00:41

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pacman: connectivity

Allan wrote:
Llama wrote:

Success. Awaiting response took about 20 seconds.

pacman waits 10 seconds.   Try another mirror.

That's exactly the trouble. Thanks to the faulty LAN configuration, all the mirrors lag.

Offline

#10 2013-06-19 10:58:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: pacman: connectivity

Well...  use XferCommand in pacman.conf.

Offline

#11 2013-06-19 22:05:56

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: pacman: connectivity

Have you considered using something like reflector to get the fastest mirrors for you? These will often, though not always, be closer to you. Obviously the suggestion above is the solution but this might be useful too.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2013-06-20 05:07:25

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pacman: connectivity

cfr wrote:

Have you considered using something like reflector to get the fastest mirrors for you? These will often, though not always, be closer to you. Obviously the suggestion above is the solution but this might be useful too.

This is not a case of an unresponsive mirror. This is a case of faulty LAN configuration. I have to deal with it as best I can: the admin is very good at making himself scarce.

Offline

#13 2013-06-20 05:15:35

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pacman: connectivity

Allan wrote:

Well...  use XferCommand in pacman.conf.

Thanks! It helps a lot (XferCommand = /usr/bin/wget -c --passive-ftp -c %u).

The working version output now looks like this:

$ yaourt -Syua --noconfirm
:: Synchronizing package databases...
--2013-06-20 08:45:59--  http://archlinux.goodsoft.lv/core/os/x86_64/core.db
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

--2013-06-20 08:45:59--  http://archlinux.goodsoft.lv/core/os/x86_64/core.db.sig
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-06-20 08:46:00 ERROR 404: Not Found.

--2013-06-20 08:46:02--  http://archlinux.goodsoft.lv/extra/os/x86_64/extra.db
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 1541441 (1.5M), 976 remaining [text/plain]
Saving to: ‘extra.db’

100%[+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>] 1,541,441   --.-K/s   in 0s      

2013-06-20 08:46:02 (93.4 MB/s) - ‘extra.db’ saved [1541441/1541441]

--2013-06-20 08:46:02--  http://archlinux.goodsoft.lv/extra/os/x86_64/extra.db.sig
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-06-20 08:46:03 ERROR 404: Not Found.

--2013-06-20 08:46:05--  http://archlinux.goodsoft.lv/community/os/x86_64/community.db
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.                                                                                                                                                        
HTTP request sent, awaiting response... 206 Partial Content                                                                                                                                                                                        
Length: 2006934 (1.9M), 250 remaining [text/plain]                                                                                                                                                                                                 
Saving to: ‘community.db’                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                   
100%[+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>] 2,006,934   --.-K/s   in 0s       
                                                                                                                                                                                                                                                   
2013-06-20 08:46:05 (25.1 MB/s) - ‘community.db’ saved [2006934/2006934]                                                                                                                                                                           
                                                                                                                                                                                                                                                   
--2013-06-20 08:46:05--  http://archlinux.goodsoft.lv/community/os/x86_64/community.db.sig                                                                                                                                                         
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74                                                                                                                                                                           
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.                                                                                                                                                        
HTTP request sent, awaiting response... 404 Not Found                                                                                                                                                                                              
2013-06-20 08:46:05 ERROR 404: Not Found.                                                                                                                                                                                                          
                                                                                                                                                                                                                                                   
--2013-06-20 08:46:07--  http://archlinux.goodsoft.lv/multilib/os/x86_64/multilib.db                                                                                                                                                               
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74                                                                                                                                                                           
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.                                                                                                                                                        
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable                                                                                                                                                                        
                                                                                                                                                                                                                                                   
    The file is already fully retrieved; nothing to do.                                                                                                                                                                                            
                                                                                                                                                                                                                                                   
--2013-06-20 08:46:08--  http://archlinux.goodsoft.lv/multilib/os/x86_64/multilib.db.sig                                                                                                                                                           
Resolving archlinux.goodsoft.lv (archlinux.goodsoft.lv)... 80.232.242.74                                                                                                                                                                           
Connecting to archlinux.goodsoft.lv (archlinux.goodsoft.lv)|80.232.242.74|:80... connected.                                                                                                                                                        
HTTP request sent, awaiting response... 404 Not Found                                                                                                                                                                                              
2013-06-20 08:46:08 ERROR 404: Not Found.                                                                                                                                                                                                          
                                                                                                                                                                                                                                                   
 Foreign packages: | 16 / 16

Would you suggest some test which I could run on demand to show the admin what exactly is wrong?

Offline

#14 2013-06-20 07:32:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pacman: connectivity

I would suggest you remove yaourt from the equation first...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2013-06-20 09:59:50

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pacman: connectivity

jasonwryan wrote:

I would suggest you remove yaourt from the equation first...

I did try that right at the start. The same thing, which stands to reason: yaourt calls pacman. The trouble has nothing to do with the package management, and everything to do with a peculiar LAN configuration.

Offline

#16 2013-06-20 23:31:51

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: pacman: connectivity

Llama wrote:

The trouble has nothing to do with the package management, and everything to do with a peculiar LAN configuration.

Moving to "Networking, Server & Protection"

Offline

#17 2013-06-21 00:22:54

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: pacman: connectivity

Llama wrote:
cfr wrote:

Have you considered using something like reflector to get the fastest mirrors for you? These will often, though not always, be closer to you. Obviously the suggestion above is the solution but this might be useful too.

This is not a case of an unresponsive mirror. This is a case of faulty LAN configuration. I have to deal with it as best I can: the admin is very good at making himself scarce.

Even so, the mirror you are using takes twice as long to respond to pings as the mirror which tops my reflector-generated mirrorlist. Of course, I am here and you are there and I would expect it to be faster for you. But twice as fast would get you much closer to a 10s timeout than 20s does. Your case will be stronger if you have done everything you can and simplified things as much as possible.

Last edited by cfr (2013-06-21 00:24:06)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB