Zypper dup adding extra repos

Hi,
getting confused here over repos. I did a clean install of TW on my PC - fine.

chris@asus-rog:~>$cat /etc/os-release 
NAME="openSUSE Tumbleweed"
# VERSION="20240524"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20240524"

I also did an edit of the repos to manually point to Germany as frankly the mirror system for Australia is wonky. Regardless I set up my repos as such -

chris@asus-rog:~>$zypper lr -d
# | Alias                                | Name                  | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  | Service
--+--------------------------------------+-----------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------+--------
1 | NVIDIA:repo-non-free                 | Nvidia                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                                      | NVIDIA
2 | Non-OSS                              | Non-OSS               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://ftp.gwdg.de/pub/opensuse/tumbleweed/repo/non-oss/                            | 
3 | Update                               | Update                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://ftp.gwdg.de/pub/opensuse/update/tumbleweed/                                  | 
4 | download.opensuse.org-oss            | Main Repository (OSS) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://ftp.gwdg.de/pub/opensuse/tumbleweed/repo/oss/                                | 
5 | ftp.gwdg.de-openSUSE_Tumbleweed      | Packman Repository    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                  | 
6 | https-download.opensuse.org-0bdacf72 | multimedia:proaudio   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/multimedia:/proaudio/openSUSE_Tumbleweed/ | 
chris@asus-rog:~>$

However, when I run a zypper dupthe process adds extra repos I don’t want -

chris@asus-rog:~>$sudo zypper dup -D 
[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Adding repository 'repo-oss' ............................................................................................................................................................................................................................................[done]
Adding repository 'repo-oss-debug' ......................................................................................................................................................................................................................................[done]
Adding repository 'repo-oss-source' .....................................................................................................................................................................................................................................[done]
Adding repository 'repo-non-oss' ........................................................................................................................................................................................................................................[done]
Adding repository 'repo-openh264' .......................................................................................................................................................................................................................................[done]
Adding repository 'update-tumbleweed' ...................................................................................................................................................................................................................................[done]
Retrieving repository 'repo-non-oss' metadata ...........................................................................................................................................................................................................................[done]
Building repository 'repo-non-oss' cache ................................................................................................................................................................................................................................[done]
Retrieving repository 'repo-openh264' metadata ..........................................................................................................................................................................................................................[done]
Building repository 'repo-openh264' cache ...............................................................................................................................................................................................................................[done]
Retrieving repository 'repo-oss' metadata ...............................................................................................................................................................................................................................[done]
Building repository 'repo-oss' cache ....................................................................................................................................................................................................................................[done]
Retrieving repository 'update-tumbleweed' metadata ......................................................................................................................................................................................................................[done]
Building repository 'update-tumbleweed' cache ...........................................................................................................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

which results in -

#  | Alias                                | Name                  | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  | Service
---+--------------------------------------+-----------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------+---------
 1 | NVIDIA:repo-non-free                 | repo-non-free         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                                      | NVIDIA
 2 | Non-OSS                              | Non-OSS               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://ftp.gwdg.de/pub/opensuse/tumbleweed/repo/non-oss/                            | 
 3 | Update                               | Update                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://ftp.gwdg.de/pub/opensuse/update/tumbleweed/                                  | 
 4 | download.opensuse.org-oss            | Main Repository (OSS) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://ftp.gwdg.de/pub/opensuse/tumbleweed/repo/oss/                                | 
 5 | ftp.gwdg.de-openSUSE_Tumbleweed      | Packman Repository    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                  | 
 6 | https-download.opensuse.org-0bdacf72 | multimedia:proaudio   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/multimedia:/proaudio/openSUSE_Tumbleweed/ | 
 7 | openSUSE:repo-non-oss                | repo-non-oss          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/non-oss                                      | openSUSE
 8 | openSUSE:repo-openh264               | repo-openh264         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                              | openSUSE
 9 | openSUSE:repo-oss                    | repo-oss              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/oss                                          | openSUSE
10 | openSUSE:repo-oss-debug              | repo-oss-debug        | No      | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/debug/tumbleweed/repo/oss                                    | openSUSE
11 | openSUSE:repo-oss-source             | repo-oss-source       | No      | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/source/tumbleweed/repo/oss                                   | openSUSE
12 | openSUSE:update-tumbleweed           | update-tumbleweed     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/update/tumbleweed                                            | openSUSE
chris@asus-rog:~>$

I have never seen this behaviour before and am quite baffled, especially as this is a clean install of TW.

Why are extra repos being added and how do I stop it?
Thanks.

I have found a reddit article about this. Apparently there are two services under /etc/zypp/services.d. Odd that the install puts them there yet when I spent time “debugging” in a fresh install of TW in a VM these files aren’t there.

chris@asus-rog:/etc/zypp/services.d>$ls
NVIDIA.service  openSUSE.service

Is it as simple as deleting the 2 service files?

You don‘t delete the services. You delete the standard repo management package openSUSE-repos-Tumbleweed and openSUSE-repos-Tumbleweed -NVIDIA which provides the service.

Well now I’m more confused. Those packages aren’t installed but the MicroOS ones are.

chris@asus-rog:/etc/zypp/services.d>$zypper se -s opensuse-repos
Loading repository data...
Reading installed packages...

S  | Name                             | Type    | Version              | Arch   | Repository
---+----------------------------------+---------+----------------------+--------+----------------------
i+ | openSUSE-repos-MicroOS           | package | 20240516.5431918-1.1 | x86_64 | Main Repository (OSS)
i+ | openSUSE-repos-MicroOS           | package | 20240516.5431918-1.1 | x86_64 | repo-oss
i+ | openSUSE-repos-MicroOS-NVIDIA    | package | 20240516.5431918-1.1 | x86_64 | Main Repository (OSS)
i+ | openSUSE-repos-MicroOS-NVIDIA    | package | 20240516.5431918-1.1 | x86_64 | repo-oss
   | openSUSE-repos-Slowroll          | package | 20240516.5431918-1.1 | x86_64 | Main Repository (OSS)
   | openSUSE-repos-Slowroll          | package | 20240516.5431918-1.1 | x86_64 | repo-oss
   | openSUSE-repos-Slowroll-NVIDIA   | package | 20240516.5431918-1.1 | x86_64 | Main Repository (OSS)
   | openSUSE-repos-Slowroll-NVIDIA   | package | 20240516.5431918-1.1 | x86_64 | repo-oss
   | openSUSE-repos-Tumbleweed        | package | 20240516.5431918-1.1 | x86_64 | Main Repository (OSS)
   | openSUSE-repos-Tumbleweed        | package | 20240516.5431918-1.1 | x86_64 | repo-oss
   | openSUSE-repos-Tumbleweed-NVIDIA | package | 20240516.5431918-1.1 | x86_64 | Main Repository (OSS)
   | openSUSE-repos-Tumbleweed-NVIDIA | package | 20240516.5431918-1.1 | x86_64 | repo-oss

Now weider - both openSUSE-repos-MicroOS and openSUSE-repos-MicroOS-NVIDIA provides the same file /etc/zypp/services.d/openSUSE.service

chris@asus-rog:/etc/zypp/services.d>$rpm -ql openSUSE-repos-MicroOS
/etc/zypp/services.d/openSUSE.service
/etc/zypp/vars.d/DIST_ARCH
/usr/share/zypp/local
/usr/share/zypp/local/service
/usr/share/zypp/local/service/openSUSE
/usr/share/zypp/local/service/openSUSE/repo
/usr/share/zypp/local/service/openSUSE/repo/opensuse-microos-repoindex.xml
/usr/share/zypp/local/service/openSUSE/repo/repoindex.xml
chris@asus-rog:/etc/zypp/services.d>$rpm -ql openSUSE-repos-MicroOS-NVIDIA 
/etc/zypp/services.d/openSUSE.service
/usr/share/zypp/local/service/NVIDIA
/usr/share/zypp/local/service/NVIDIA/repo
/usr/share/zypp/local/service/NVIDIA/repo/nvidia-microos-repoindex.xml
/usr/share/zypp/local/service/NVIDIA/repo/repoindex.xml
chris@asus-rog:/etc/zypp/services.d>$

OK, deleted both those packages and things look stable again.

Thank you.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.