Bug 1687566 - sudo dnf install/makecache takes forever on aarch64
Summary: sudo dnf install/makecache takes forever on aarch64
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 30
Hardware: aarch64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2019-03-11 18:27 UTC by Ludovic Hirlimann [:Paul-muadib]
Modified: 2019-07-24 09:03 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-11 18:49:38 UTC


Attachments (Terms of Use)

Description Ludovic Hirlimann [:Paul-muadib] 2019-03-11 18:27:06 UTC
sudo dnf install on a newly updated raspberry pie 3  :

[ludovic@pie3b ~]$ sudo dnf install gcc git python3-fedora
[sudo] password for ludovic: 
Fedora 30 - aarch64   2% [                    ] 2.1 kB/s | 1.2 MB    438:05 ETA



ping google.com over v4 or v6 works properly.

tail /var/dnf.log looks like :
2019-03-11T18:23:54Z DEBUG error: Curl error (28): Timeout was reached for http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/09519f13546a31e0babef88f3682c79d143cf900b7a2e7fee12ef2883891db56-primary.xml.zck [Resolving timed out after 51315 milliseconds] (http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/09519f13546a31e0babef88f3682c79d143cf900b7a2e7fee12ef2883891db56-primary.xml.zck).
2019-03-11T18:24:45Z DEBUG error: Curl error (28): Timeout was reached for http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck [Resolving timed out after 51356 milliseconds] (http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck).


-rw-r--r--. 1 root   root            3079477 Mar 11 19:25 dnf.librepo.log
[root@pie3b log]# tail -f dnf.librepo.log
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirror.i3d.net/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirrors.netix.net/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://ftp.fi.muni.cz/pub/linux/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://ftp.cc.uoc.gr/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://ftp.lysator.liu.se/pub/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirror.vutbr.cz/fedora/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://fedora.tu-chemnitz.de/ftp/pub/linux/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG prepare_next_transfer: URL: http://fedora.mirror.root.lu/development/30/Everything/aarch64/os/repodata/09519f13546a31e0babef88f3682c79d143cf900b7a2e7fee12ef2883891db56-primary.xml.zck
2019-03-11T18:25:36Z DEBUG prep_zck_body: Chunks that still need to be downloaded: 25082
2019-03-11T18:26:28Z DEBUG check_transfer_statuses: Transfer finished: repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck (Effective url: http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck)
2019-03-11T18:26:28Z DEBUG check_finished_transfer_status: Serious error - Curl code (28): Timeout was reached for http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck [Resolving timed out after 51405 milliseconds]
2019-03-11T18:26:28Z DEBUG sort_mirrors: Mirror http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/ was moved at the end
2019-03-11T18:26:28Z DEBUG check_transfer_statuses: Error during transfer: Curl error (28): Timeout was reached for http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck [Resolving timed out after 51405 milliseconds]
2019-03-11T18:26:28Z DEBUG check_transfer_statuses: Ignore error - Try another mirror

Comment 1 Ludovic Hirlimann [:Paul-muadib] 2019-03-11 18:27:32 UTC
Could be an infra bug , but ain't sure where to file these.

Comment 2 Ludovic Hirlimann [:Paul-muadib] 2019-03-11 18:49:38 UTC
sudo dnf cached cleaned everything

Comment 3 Ludovic Hirlimann [:Paul-muadib] 2019-03-12 08:11:41 UTC
(In reply to Ludovic Hirlimann [:Paul-muadib] from comment #2)
> sudo dnf cached cleaned everything

Spoke too soon.

[ludovic@pie3b ~]$ sudo dnf makecache
Fedora Modular 30 - aarch64                      37 kB/s | 120 kB     00:03    
Fedora Modular 30 - aarch64 - Updates            88  B/s | 257  B     00:02    
Fedora Modular 30 - aarch64 - Test Updates      570 kB/s | 2.2 MB     00:04    
Fedora 30 - aarch64 - Test Updates              931 kB/s | 2.3 MB     00:02    
Fedora 30 - aarch64 - Updates                   103  B/s | 257  B     00:02    
Fedora 30 - aarch64   1% [                    ] 6.2 kB/s | 984 kB    149:31 ETA

[ludovic@pie3b yum.repos.d]$ ls -ltr
total 36
-rw-r--r--. 1 root root 1364 Feb 20 15:05 fedora-updates-testing.repo
-rw-r--r--. 1 root root 1411 Feb 20 15:05 fedora-updates-testing-modular.repo
-rw-r--r--. 1 root root 1306 Feb 20 15:05 fedora-updates.repo
-rw-r--r--. 1 root root 1441 Feb 20 15:05 fedora-updates-modular.repo
-rw-r--r--. 1 root root 1260 Feb 20 15:05 fedora.repo
-rw-r--r--. 1 root root 2031 Feb 20 15:05 fedora-rawhide.repo
-rw-r--r--. 1 root root 2101 Feb 20 15:05 fedora-rawhide-modular.repo
-rw-r--r--. 1 root root 1323 Feb 20 15:05 fedora-modular.repo
-rw-r--r--. 1 root root  681 Feb 20 15:05 fedora-cisco-openh264.repo

This is on a normal plain install, I haven't started to use the box yet.

Comment 4 Ludovic Hirlimann [:Paul-muadib] 2019-03-12 12:11:05 UTC
[ludovic@pie3b yum.repos.d]$ sudo rm -rf /var/cache/dnf/*
[sudo] password for ludovic: 
[ludovic@pie3b yum.repos.d]$ sudo dnf makecache
Fedora Modular 30 - aarch64                     814 kB/s | 2.4 MB     00:03    
Fedora Modular 30 - aarch64 - Updates           170  B/s | 257  B     00:01    
Fedora Modular 30 - aarch64 - Test Updates      982 kB/s | 2.2 MB     00:02    
Fedora 30 - aarch64 - Test Updates              605 kB/s | 2.3 MB     00:03    
Fedora 30 - aarch64 - Updates                    80  B/s | 257  B     00:03    
Fedora 30 - aarch64                             2.1 kB/s |  15 MB    124:14    
Failed to synchronize cache for repo 'fedora'
Error: Failed to synchronize cache for repo 'fedora'


Note You need to log in before you can comment on or make changes to this bug.