MirrorCache icon indicating copy to clipboard operation
MirrorCache copied to clipboard

Very outdated mirror?

Open justinclift opened this issue 1 year ago • 8 comments

Hiyas,

Was looking to try out HPN-SSH on a Debian 12 (Bookworm) system, however clicking on the generic link here:

    https://download.opensuse.org/repositories/home:/rapier1

... bounces to a very outdated mirror for Australia:

    https://mirrorcache-au.opensuse.org/repositories/home:/rapier1/

The packages there are dated April 2023 (1 year out of date), and don't list the version of Debian I'm using.

With a bit more digging though, it turns out the packages are actually available:

    https://download.opensuse.org/repositories/home:/rapier1/

It looks like this mirror needs to be re-synced, or perhaps even taken out of the mirror selection rotation. (?)

Are you ok to get this looked at? :smile:

justinclift avatar Apr 15 '24 10:04 justinclift

mirrorcache-au is not a mirror, but a mirror redirector - it doesn't keep or serve files, but tries to sync info about files on mirrors and redirect requests to proper mirrors. What you see in https://mirrorcache-au.opensuse.org/repositories/home:/rapier1/ indeed looks outdated, but inside https://mirrorcache-au.opensuse.org/repositories/home:/rapier1/Debian_11/ or even https://mirrorcache-au.opensuse.org/repositories/home:/rapier1/Debian_12/ the files should look more recent.

So this is something to improve in MirrorCache, because currently it keeps fresh only folders with real files, which may be confusing for humans, but is perfectly ok for zypper.

andrii-suse avatar Apr 23 '24 08:04 andrii-suse

which may be confusing for humans, but is perfectly ok for zypper.

Ahh. I get it. "The humans using those pages aren't important, so lets disregard anyone who attempts to view that stuff."

Or am I misreading that? :wink:

justinclift avatar Apr 23 '24 11:04 justinclift

As an additional data point, I was attempting to make use of that repo from a Debian system, as that repo directory is where some OBS Debian builds end up.

Not real sure why what zypper happens to be ok with is even a consideration, as that directory isn't meant for zypper.

justinclift avatar Apr 23 '24 11:04 justinclift

Not real sure why what zypper happens to be ok with is even a consideration, as that directory isn't meant for zypper.

Oh, by zypper I meant package managers in general: for apt some outdated views (like that which you complained) is not a problem as well. All apt cares is uptodate Release and Packages files - and those should be fine.

andrii-suse avatar Apr 26 '24 07:04 andrii-suse

K. It'll be good when MirrorCache is updated so it works with the needs of the human users too. :wink:

justinclift avatar Apr 26 '24 08:04 justinclift

There is a small improvement - the page now shows state when the list was synced last (bottom under the list of files). And humans now can request the sync if needed. (login with opensuse account is required).

I agree that automatic sync would be good to have as well, but considering many factors involved (additional load on server trying to keep in sync all folders, relatively low priority with many other tasks pending, a workaround with manual request) - I don't plan to implement it at the moment. So I can close the ticket or it can remain open until resources allow a proper solution.

andrii-suse avatar Jul 04 '24 11:07 andrii-suse

Cool, that sounds like things are heading in the right direction. :smile:

justinclift avatar Jul 04 '24 14:07 justinclift

... or it can remain open until resources allow a proper solution.

Sorry for be a pain, and thank you for the time clearly spent on this already.

Personally I feel the right choice of the two options is to keep this open until (if :wink:) resources allow for a more complete solution. :smile:

justinclift avatar Jul 04 '24 14:07 justinclift