zypper up - outdated repository (?)

Hello,

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).

Check your repos (eg. with yast-software) and make sure that you have autorefresh for this repo enabled.

Autorefresh is already enabled for this repo

A related discussion is running in https://forums.opensuse.org/showthread.php/574870-Expired-suse-package-signing-key-for-non-oss-repo?p=3155359

On Tumbleweed I see also an openSUSE:Backports OBS Project key being expired but it is not trigger other warnings.

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)…

Post your Repo list:

zypper lr -d

to see all URL’s because:
openSUSE:Backports:SLE-15-SP4

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]

Here it is:

 #  
| Alias                                | Name                                                                                        | Enab-> | GPG Check        | Refresh    | Priority | Type   | URI        
                                                                          | Service 
---+--------------------------------------+---------------------------------------------------------------------------------------------+--------+------------------+------------+----------+--------+------------
--------------------------------------------------------------------------+-------- 
 1 | NVIDIA                               | NVIDIA                                                                                      | Oui    | (r ) Oui         | Non        |   99     | rpm-md | https://dow
nload.nvidia.com/opensuse/leap/15.4                                       |  
 2 | beid-candidate                       | Belgian eID package archive - unsupported prerelease builds (candidate)                     | Non    | ----             | ----       |   99     | NONE   | https://fil
es.eid.belgium.be/rpm/candidate/opensuse/15.4                             |  
 3 | beid-continuous                      | Belgian eID package archive - unsupported prerelease builds (continuous)                    | Non    | ----             | ----       |   99     | NONE   | https://fil
es.eid.belgium.be/rpm/continuous/opensuse/15.4                            |  
 4 | beid-release                         | Belgian eID package archive                                                                 | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | https://fil
es.eid.belgium.be/rpm/opensuse/15.4                                       |  
 5 | games                                | games                                                                                       | Oui    | (r ) Oui         | Oui        |   85     | rpm-md | http://down
load.opensuse.org/repositories/games/15.4                                 |  
 6 | https-download.opensuse.org-11fc2729 | openSUSE:Backports:SLE-15-SP4                                                               | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | https://dow
nload.opensuse.org/repositories/openSUSE:/Backports:/SLE-15-SP4/standard/ |  
 7 | https-download.opensuse.org-78521ee2 | home:malcolmlewis:TESTING                                                                   | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | https://dow
nload.opensuse.org/repositories/home:/malcolmlewis:/TESTING/15.4/         |  
 8 | openSUSE-Leap-15.4-1                 | openSUSE-Leap-15.4-1                                                                        | Non    | ----             | ----       |   99     | rpm-md | hd:/?device
=/dev/disk/by-id/usb-Specific_STORAGE_DEVICE_072300903203-0:0-part2       |  
 9 | packman                              | packman                                                                                     | Oui    | (r ) Oui         | Oui        |   90     | rpm-md | https://ftp
.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/                  |  
10 | repo-backports-debug-update          | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | Non    | ----             | ----       |   99     | NONE   | http://down
load.opensuse.org/update/leap/15.4/backports_debug/                       |  
11 | repo-backports-update                | Update repository of openSUSE Backports                                                     | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://down
load.opensuse.org/update/leap/15.4/backports/                             |  
12 | repo-debug                           | Debug Repository                                                                            | Non    | ----             | ----       |   99     | NONE   | http://down
load.opensuse.org/debug/distribution/leap/15.4/repo/oss/                  |  
13 | repo-debug-non-oss                   | Debug Repository (Non-OSS)                                                                  | Non    | ----             | ----       |   99     | NONE   | http://down
load.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/              |  
14 | repo-debug-update                    | Update Repository (Debug)                                                                   | Non    | ----             | ----       |   99     | NONE   | http://down
load.opensuse.org/debug/update/leap/15.4/oss/                             |  
15 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS)                                                          | Non    | ----             | ----       |   99     | NONE   | http://down
load.opensuse.org/debug/update/leap/15.4/non-oss/                         |  
16 | repo-non-oss                         | Dépôt Non-OSS                                                                               | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://down
load.opensuse.org/distribution/leap/15.4/repo/non-oss/                    |  
17 | repo-oss                             | Dépôt principal                                                                             | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://down
load.opensuse.org/distribution/leap/15.4/repo/oss/                        |  
18 | repo-sle-debug-update                | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | Non    | ----             | ----       |   99     | NONE   | http://down
load.opensuse.org/debug/update/leap/15.4/sle/                             |  
19 | repo-sle-update                      | Update repository with updates from SUSE Linux Enterprise 15                                | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://down
load.opensuse.org/update/leap/15.4/sle/                                   |  
20 | repo-source                          | Source Repository                                                                           | Non    | ----             | ----       |   99     | NONE   | http://down
load.opensuse.org/source/distribution/leap/15.4/repo/oss/                 |  
21 | repo-update                          | Dépôt principal de mise à jour                                                              | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://down
load.opensuse.org/update/leap/15.4/oss                                    |  
22 | repo-update-non-oss                  | Dépôt de mises à jour (Non-OSS)                                                             | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://down
load.opensuse.org/update/leap/15.4/non-oss/                               | 

 

‘zypper refresh --force’ does not help, I still get the same message

Why do you have that repository at [noparse]https://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-15-SP4/standard/[/noparse]?

I don’t know, I suppose it came automatically during the installation of the OS.

I think we’re back to the Alias containing an 8 character hex number again - one click install?

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.

I do not remember to have done a one click install the last years… (or maybe is Alzheimer getting me)

It seems that nearly all kde packages are installed from this repository and so I do not think it would be a good idea to remove it…

That’s an “interesting” list of repositories you have there in post #8

I’ve no idea how you ( it / they ) added the backports URL https://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-15-SP4/standard/ (although I’m still of the opinion it was the result of a 1-click install)

The backports base URL as defined by the package “openSUSE-release” is http://download.opensuse.org/update/leap/$releasever/backports/

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 :slight_smile:

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.