Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62708 - [curl] "Operation too slow" for pacman -Fy

Attached to Project: Arch Linux
Opened by Muflone (muflone) - Wednesday, 22 May 2019, 14:33 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 23 May 2019, 14:49 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.1.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

Using pacman -Fy the operation is interrupted if the repository file transfer will need more than 10 seconds.
Regardless the current transfer speed, the whole download is interrupted after 10 seconds

This doesn't depend from the used mirror, the issue happens using any mirror.

System fully updated with pacman 5.1.3-1


Steps to Reproduce:

0) Use an internet connection with 16 Mbit or slower that would need more than 10 seconds to download the community database file.
1) enable any mirror in /etc/pacman.d/mirrorlist
2) pacman -Fyy

:: Synchronizing package databases...
core 809.8 KiB 643K/s 00:01 [#############################################################################] 100%
extra 8.6 MiB 1208K/s 00:07 [#############################################################################] 100%
error: failed retrieving file 'community.files' from mex.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds########################-----------------------------] 63%
error: failed retrieving file 'community.files' from archlinux.surlyjake.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds#############----------------------------------------] 49%
error: failed retrieving file 'community.files' from archlinux.beccacervello.it : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds###############################################---] 97%
error: failed to update community (download library error)
error: failed to synchronize all databases

During the file transfer you could see the full speed download without any hiccup or stale.

Exactly after 10 seconds the download will be truncated
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 23 May 2019, 14:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  testing/curl-7.65.0-2
Comment by Dave Reisner (falconindy) - Wednesday, 22 May 2019, 17:43 GMT
Curl version? If you're using [testing], please try again with 7.64.1
Comment by Dave Reisner (falconindy) - Wednesday, 22 May 2019, 18:25 GMT
Reproduced this with slightly modified pacman source. Bisected curl to commit 3b06e68b7734cb10a555f9d7e804dd5d808236a4
Comment by Dave Reisner (falconindy) - Wednesday, 22 May 2019, 18:36 GMT

Loading...