-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local packages are newer than in a repository #73
Comments
For now I set predefined mirrors generated with |
Thanks for reporting this!
I think so. Flexo already makes use of the {
"url": "https://arlm.tyzoid.com/",
"protocol": "https",
"last_sync": "2021-09-26T03:08:30Z",
"completion_pct": 0.759493670886076,
"delay": 114,
"duration_avg": 0.50416832168897,
"duration_stddev": 0.2286094097319996,
"score": 1.0065184574820543,
"active": true,
"country": "United States",
"country_code": "US",
"isos": true,
"ipv4": true,
"ipv6": true,
"details": "https://archlinux.org/mirrors/arlm.tyzoid.com/1028/"
} Notice that the
According to https://archlinux.org/mirrors/moson.org/1566/, this mirror was always up-to-date in the last few days, so I'm not entirely sure what to make out of this. Maybe it was another mirror that Flexo has used to serve the database file. But in any case, using the |
Thank you for the great tool and for the support!
Yes, in the logs on |
Yes, that's correct, but it's not a problem at this moment because the mirrors don't provide db.sig files anyway. With or without Flexo, pacman just receives 404's and ignores them when it attempts to fetch those files. But I need to put some thought into how to improve the downloads of those database files to avoid those kinds of errors. I currently imagine something like a "mirror-stickiness" for database files where it chooses one primary mirror to fetch all database files (and db.sig files), and then doesn't change the mirror unless there's a good reason to do so. |
I was also able to reproduce this issue by running |
After switching to flexo I start seeing such warning messages during system upgrades:
The list of warnings changes if I re-run an upgrade. Sometimes it mentions a few packages, sometimes it mentions a lot of packages. I also noticed that so far those warnings appear only for a particular database (extra or community).
As far as I understood, there is currently no way to tell flexo to prioritize more up-to-date mirrors. I can manually select mirrors for the predefined list, but I'm concerned that it'll require manual maintenance in the future.Is it make sense to amend the logic of selecting mirrors to make it to pay attention todelay
values?UPD:
I checked the mirror (https://mirror.moson.org/arch/) that was used last time and emitted the warnings for
community
database.The delay value for it is
0:04
which is quite small already. However, I'm not sure that this particular mirror was used to downloadcommunity
database. In the logs I see that there was an attempt to downloadcommunity.db.sig
file from it, that's why I thought that it was also used to download the database file too.Any ideas what could be the problem?
The text was updated successfully, but these errors were encountered: