Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#74202 - Parallel -Sy hangs if database file is newer

Attached to Project: Pacman
Opened by Evangelos Foutras (foutrelis) - Tuesday, 22 March 2022, 23:10 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 01 April 2022, 13:54 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 6.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

With a fresh Arch installation, I was seeing behavior similar to  FS#73977  (but with our tier0 mirror). I was getting the same error but also frequent hangs during -Sy. After much poking around I noticed that core.db was 5 minutes newer than my other machine which worked fine. The issue was gone after an -Syy. :)

Steps to Reproduce:

Run 'make' inside the directory contained in the attached tarball. It should produce a significant delay the second time it does -Sy. It might complete successfully after several seconds of 100% usage of one CPU core.

The above test can be repeated after adding the tier0 mirror from [1] to the top of the included mirrorlist and/or trying other mirrors in the same manner.

With the tier0 mirror I can easily trigger "error: failed retrieving file 'core.db' from repos.archlinux.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds".

[1] https://archlinux.org/devel/tier0mirror/
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Friday, 01 April 2022, 13:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  curl 7.82.0-2
Comment by Evangelos Foutras (foutrelis) - Wednesday, 23 March 2022, 09:08 GMT
Kind of reproduced the same behavior using example curl code, so I reported it as an issue upstream: https://github.com/curl/curl/issues/8626

Loading...