updates not working

A few months ago I updated to Leap 15.4. Since then I never had any updates which seems strange to me. There aro no errors

Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                       | Name                                                                                        | Enabled | GPG Check | Refresh | URI
--+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+-----------------------------------------------------------------------------
1 | Leap_15.4_update            | Main Update Repository (OSS)                                                                | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.4/oss/
2 | non-oss                     | Main Update Repository (NON-OSS)                                                            | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.4/non-oss/
3 | non-oss-addon_15.2-0        | Main Repository (NON-OSS)                                                                   | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/
4 | openSUSE-Leap_15.2-1        | Main Repository (OSS)                                                                       | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.4/repo/oss/
5 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    | http://download.opensuse.org/update/leap/15.4/backports_debug/
6 | repo-backports-update       | Update repository of openSUSE Backports                                                     | No      | ----      | ----    | http://download.opensuse.org/update/leap/15.4/backports/
7 | repo-sle-debug-update       | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.4/sle/
8 | repo-sle-update             | Update repository with updates from SUSE Linux Enterprise 15                                | No      | ----      | ----    | http://download.opensuse.org/update/leap/15.4/sle/
9 | snappy                      | snappy                                                                                      | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.


I do Zypper ref and Zypper Up, but the answer is always Nothing To Do. I’ve tried zypper clean -a.

Anyone who has a clue?

Enable repositories #6 and #8 Those are where your updates will come from… :slight_smile:

Edit: And welcome to the openSUSE forums.

Hi and welcome to the Forum :slight_smile:
Seems you have repositories disabled, hence no updates…

I don’t use non-oss, but have the follwing enabled on my Leap 15.4 system;


zypper -lr -dE

4 | repo-backports-update              | Update repository of openSUSE Backports                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://mirrorcache-us.opensuse.org/update/leap/15.4/backports/               | 
10 | repo-oss                           | Main Repository                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://mirrorcache-us.opensuse.org/distribution/leap/15.4/repo/oss/          | 
12 | repo-sle-update                    | Update repository with updates from SUSE Linux Enterprise 15 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://mirrorcache-us.opensuse.org/update/leap/15.4/sle/                     | 
14 | repo-update                        | Main Update Repository                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://mirrorcache-us.opensuse.org/update/leap/15.4/oss

You need to enable repositories 6 and 8 on your system, I would force a refresh,then try updating again.


zypper mr -e 6 8
zypper -vvv ref -f
zypper -vvv up

Thanks both. Now it works.

It was confusing for me as I thought that the updates would come from 1 & 2.

And I don’t understand why OpenSuse doesn’t have a feature to load default repositories into the system. I think that would be quite useful. The repositories can get messed up after a while.

I doubt that is the case. Those two repos where “automagicaly” added when I updated from one Leap version to the next and they will be added also during a fresh installation like all the other standard ones.

After that only repos are added when you do that yourself. But maybe you did some one-click installs and that seems to be broken in that it adds repos it should not. And when you then do not check what happens …