You are not logged in.

#1 2013-11-21 11:44:56

djomla
Member
Registered: 2013-05-27
Posts: 28

Pacman update tooooooo slow

I have problem 4 days in a row. I tried with mirror list change, last mirror list, tried also with various mirrors to put on top of list, from Germany, USA, Australia, France...none of them are working. When I try to do pacman -Syu , some of error that i got is:

error: failed retrieving file 'core.db' from mirror.de.leaseweb.net : Resolving timed out after 10519 milliseconds
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.de.leaseweb.net : Resolving timed out after 10519 milliseconds
error: failed to update extra (download library error)

This is my pacman.conf file:

#
# /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   = audacity
#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

#[archlinuxfr]
#SigLevel = PackageOptional
#Server= http://repo.archlinux.fr/$arch

#[archlinuxcn]
#The Chinese Arch Linux communities packages.
#SigLevel = PackageOptional
#Server = http://repo.archlinuxcn.org/$arch

#[herecura-stable]
# additional apps not found in community
#SigLevel = PackageOptional
#Server = http://repo.herecura.be/herecura-stable/$arch

# 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

and last server that I`m using in mirror list file is Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch

I tried also with deleting all cache from pacman cache folder, with *.part file.

Last night was working fine, but this morning again, same issue.

Offline

#2 2013-11-21 11:54:24

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

Re: Pacman update tooooooo slow

Try a different mirror.

Offline

#3 2013-11-21 11:56:03

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: Pacman update tooooooo slow

That is the last mirror that is showing on Arch site that is the fastest. I tried with USA, Australia, France...same issue. Toooooo slow, < 1Kb/s. My internet connection works fine, hdd is fine...I really don`t know what could be the problem.

Offline

#4 2013-11-21 13:40:15

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

Re: Pacman update tooooooo slow

djomla, you'll need to give us some more info.


what ping-times do you get with those mirrors ?
What ping times do you get from other sites that do work ?

If you download files manually from those mirrors, do they give normal dowloadspeed ?

Last edited by Lone_Wolf (2013-11-21 13:40:54)


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

#5 2013-11-21 13:43:04

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Pacman update tooooooo slow

Try a different download agent. Experiment with the "XferCommand" option in pacman.conf.

Offline

#6 2013-11-22 09:53:10

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: Pacman update tooooooo slow

For example, thism orning :: Synchronizing package databases... went fine, but when it gets to the point where download should start, my download speed was bellow 1Kb/s:

error: failed retrieving file 'iana-etc-2.30-4-any.pkg.tar.xz' from mirror.de.leaseweb.net : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds---------------------------------------]   9%
warning: failed to retrieve some files
error: failed retrieving file 'youtube-dl-2013.11.21-1-any.pkg.tar.xz' from mirror.de.leaseweb.net : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds-------------------------------]   7%
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

This is happening also when I change mirror.

Last edited by djomla (2013-11-22 09:54:12)

Offline

#7 2013-11-22 09:59:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman update tooooooo slow

You have to comment out mirror.de.leaseweb.net and try again.
Post the output of 'pacman -Syu --debug'.

Offline

#8 2013-11-22 10:07:40

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: Pacman update tooooooo slow

But when I comment it out, It cannot update, because I`m using this mirror.
Output of --debug is too long and I cannot select it all, here it is last lines of it:

updating database
debug: adding database entry 'youtube-dl'
debug: writing youtube-dl-2013.11.21-1 DESC information back to db
debug: writing youtube-dl-2013.11.21-1 FILES information back to db
debug: adding entry 'youtube-dl' in 'local' cache
debug: running ldconfig
debug: executing "/usr/bin/ldconfig" under chroot "/"
debug: call to waitpid succeeded
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: unregistering database 'multilib'
debug: freeing package cache for repository 'multilib'

Offline

#9 2013-11-22 10:15:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman update tooooooo slow

Try using a different mirror ...
Save the output to a file and post it here or upload it somewhere else and post a link.

Offline

#10 2013-11-22 10:26:58

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: Pacman update tooooooo slow

Somehow it wont put all output into log or txt file, so I set up terminal to show thousands of line to scroll big_smile

https://app.box.com/s/ry3azvoi7p6nkqjzvh5m

Offline

#11 2013-11-22 11:26:23

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: Pacman update tooooooo slow

And this is when I try to do Syy:

sudo pacman -Syy
:: Synchronizing package databases...
 core                                                                                                 105.8 KiB   121K/s 00:01 [#############################################################################] 100%
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
 extra                                                                                               1454.8 KiB   365K/s 00:04 [#############################################################################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
 community                                                                                           2029.5 KiB   133K/s 00:15 [#############################################################################] 100%
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
 multilib                                                                                             112.2 KiB   101K/s 00:01 [#############################################################################] 100%
error: GPGME error: No data
error: failed to update multilib (invalid or corrupted database (PGP signature))
error: failed to synchronize any databases
error: failed to init transaction (invalid or corrupted database (PGP signature))

Offline

#12 2013-11-22 11:30:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman update tooooooo slow

Are you using any XferCommand now?
https://bbs.archlinux.org/viewtopic.php … 7#p1115667

Offline

#13 2013-11-22 11:52:55

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: Pacman update tooooooo slow

Following that thread, I found out that I don`t using any XferCommand, but there is .db.sig files into my /var/lib/pacman/sync/ directory. Followed post #23, I deleted those files, and after -Syy they came back again. So, I deleted them again and changed mirrors to Netherlands first in the list, and now it works fine. I just wonder if it going to be for good. Because this problem is appeared by itself, I have nothing changed into mirrors list.

Offline

#14 2013-11-22 11:56:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman update tooooooo slow

Changing the mirrors was the solution to most such threads, some people said it went away w/o them doing anything.

Offline

#15 2013-11-22 12:00:35

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: Pacman update tooooooo slow

i`ll mark this treat as solved, but if I got some other errors, is it OK to ask here again?

Offline

#16 2013-11-22 12:41:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Pacman update tooooooo slow

Yes, it's okay to ask again, but only if you have tried all the things you learnt this time wink

Offline

Board footer

Powered by FluxBB