pacman -Syu operation too slow

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

pacman -Syu operation too slow

Postby Sniker » Sat Oct 20, 2018 6:17 pm

Hello,
I trying to update Arch Linux with "pacman -Syu" and install package in general, and I always get
this error :
$this->bbcode_second_pass_quote('', '[')root@framboise pacman.d]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
error: failed retrieving file 'community.db' from fr.mirror.archlinuxarm.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds-----------------------------------------------------] 15%
error: failed to update community (download library error)
alarm is up to date
aur is up to date
error: failed to synchronize all databases


I've tried to change mirrors... here's my mirrorlist file :

$this->bbcode_second_pass_quote('', '
')# Arch Linux ARM repository mirrorlist
# Generated on 2018-09-03
#

## Geo-IP based mirror selection and load balancing
#Server = http://mirror.archlinuxarm.org/$arch/$repo

### Mirrors by country

### Australia (not Austria!)
## Sydney
# Server = http://au.mirror.archlinuxarm.org/$arch/$repo

### Brazil
## Sao Paulo
# Server = http://br2.mirror.archlinuxarm.org/$arch/$repo

### Denmark
## Aalborg
# Server = http://dk.mirror.archlinuxarm.org/$arch/$repo

### France
## Ain

#Server = https://mirrors.celianvdb.fr/archlinux/$repo/os/$arch
#Server = http://de3.mirror.archlinuxarm.org/$repo/os/$arch
Server = http://fr.mirror.archlinuxarm.org/$arch/$repo


I trying on a French server because Geo-IP based one does not work. Maybe you can help me ?
Sniker
 
Posts: 2
Joined: Sat Oct 20, 2018 6:07 pm

Re: pacman -Syu operation too slow

Postby TheSaint » Sat Oct 20, 2018 8:57 pm

Have you try by rankmirrors ?
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: pacman -Syu operation too slow

Postby Sniker » Tue Oct 23, 2018 12:24 pm

Rankmirror isn't installed, and it won't install, same error :/
Sniker
 
Posts: 2
Joined: Sat Oct 20, 2018 6:07 pm

Re: pacman -Syu operation too slow

Postby WarheadsSE » Tue Oct 23, 2018 5:26 pm

Have you confirmed raw access to the mirrors with `curl` or `wget`? This would ensure you're not hitting a forced proxy gateway or a captive portal system that is blocking.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: pacman -Syu operation too slow

Postby anarki » Fri Dec 21, 2018 10:10 am

Same issue here: pacman refuses to retrieve 'community.db' from any server.

Using an up to date 'pacman-mirrorlist-20180903-1' from core, pacman syncs core, extra, alarm and aur but keeps complaining about slow operation on 'community.db'. Direct download works, though:

$this->bbcode_second_pass_code('', 'curl http://de5.mirror.archlinuxarm.org/aarch64/community/community.db --output /var/lib/pacman/sync/community.db')

I successfully downloaded packages and database directly from 3 servers on the mirrorlist using curl. Then, I tried each url as a server within /etc/pacman.conf:
$this->bbcode_second_pass_code('', '
[community]
Server = http://de5.mirror.archlinuxarm.org/aarch64/community
Include = /etc/pacman.d/mirrorlist
')

But no luck so far.

Edit: Solved

Direct downloads by curl sometimes took suspiciously long to initialize, although the data rate while actually downloading looked good. But that initial delay was annoying pacman. Resolved by putting into /etc/pacman.conf:
$this->bbcode_second_pass_code('', '
[options]
DisableDownloadTimeout
')
anarki
 
Posts: 4
Joined: Fri Dec 21, 2018 9:56 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 6 guests