the last days when i do a “zypper up” I get the following message: Repository ‘openSUSE:Backports:SLE-15-SP4’ appears to be outdated.
It does not seem to hurt the update process but I would like to know what is the reason of such a message and how I could fix it (for so far it could be needed).
As far as I know, this message is displayed when zypper/YaST > Software finds that the date of last change to the repo is “some time” ago. A warning because it could be that that repo is e.g. on a mirror that did not sync. But “some time” is arbitrary, so you have to check for yourself if it is plausible that the repo did not have any changes for some time (this would e.g. be logical for a repo of a no longer supported version of openSUSE)…
When Zypper runs the “Update” or “Patch” function, a “zypper refresh” is executed first to ensure that the repository cache is actual.
Catch-22 with Leap 15.4 (and Leap 15.3) →
You need to execute “zypper refresh --force” before executing either the “Update” or “Patch” function.
[INDENT=2]The reason being, there is (still) some (occasional) background activity being executed by the people who maintain the repositories which, affects affects each Repository’s meta-data.
Therefore, the (current) need to explicitly force the Refresh of each Repository’s local cache contents …
[/INDENT]
Probably yes. Those aliases being the URI with a hex addition instead of a short easy to use in a command word (what is the purpose of the Alias), realy a PITA.
But lousy alias or not, system managers should know why they have it. Even a 1-click installation is an installation and as system manger one should know what one did and why.
In any case, to the OP. You can use YaST > Software Software Management, choose from the View menu: Repositories, then select at left that repo and look at right what is installed from it.
Write that down, think it over if you still need it. And if there is no “nornal” version of those packages in the OSS repo.
So I took a look again to it. I had 2 repositories for the backports. One is the standard repository that comes with the installation (with the url mentionned above), the second one came from an addition I made myself manually: I added some repositories from Malcolm Lewis to be able to “play” with the files on my smartphone.
I just removed the second repository and the problem seems to be solved.
OK - Good to know all is well again, thanks for the feedback
There seems to be quite a few of the /SLE-15-SP4/ repositories causing the “Outdated” message at the moment.
With regard to repositories in general; over the years I’ve learnt that “Less is More”, only add additional repositories if it’s essential to due so, make a note of what you added, and why.