Whenever I review repositories in my leap 15.6 system, there are a half-of-a-dozen source code and debug repos installed. They are installed but not enabled,
I manually delete them but next time I review the repos they are back. I do not know what is reinstalling them. Is there some setting where I am asking for them?? I do not remember seeing such a thing.
Just a minor annoyance but do not like something installing repos without my knowledge.
This was already discussed and mentioned several times. The repo definitions are now in most cases managed by a service which is part of the package openSUSE-repos-Leap. You can’t modify the base repos when the package is installed.
This is to help unexperienced users to manage their repos and prevent destructive changes to the standard repos.
I still need to review this.
If I leave things as they are all I will have is “not enabled” source code and debug repos added, right?
So, No harm- no foul.
Ah, well. Forgot that, sorry. I did a zypper lr -d:
pluto:~ # zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+--------------------------------------+-----------------------------------------------------+---------+-----------+---------+----------+----------+-----------------------------------------------------------------------------------------------------------+--------
1 | Network | Network | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/network/15.5/ |
2 | download.nvidia.com-leap | nVidia Graphics Drivers | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.5 |
3 | download.opensuse.org-non-oss_1 | Aktualisierungs-Repository (Nicht-Open-Source-Sof-> | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.5/non-oss/ |
4 | download.opensuse.org-oss_1 | Hauptaktualisierungs-Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.5/oss |
5 | games | openSUSE Games | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.opensuse.org/repositories/games/15.5/ |
6 | https-download.opensuse.org-427e2937 | home:wolfi323:branches:KDE:Frameworks5 | Nein | ---- | ---- | 99 | rpm-md | https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Leap_15.5/ |
7 | install | Lokale Quellen | Ja | ( p) Ja | Ja | 99 | plaindir | dir:/home/kasi/unsers/install |
8 | openSUSE_Leap_${releasever}_2 | Mozilla | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.5/ |
9 | opensuse-guide.org-repo | Libdvdcss Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.5/ |
10 | packman | Packman Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.5/ |
11 | systemsmanagement_cockpit | systemsmanagement:cockpit | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.opensuse.org/repositories/systemsmanagement:/cockpit/15.5/ |
12 | teamviewer | TeamViewer - x86_64 | Ja | (r ) Ja | Ja | 99 | rpm-md | https://linux.teamviewer.com/yum/stable/main/binary-x86_64/ |
pluto:~ #
Too late for “LANG=C” as I immediately reinstalled the package. I found the repo list a bit too sparse. I’m still on 15.5 but I assume the effect is the same.
And after reinstall:
pluto:~ # zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+--------------------------------------+----------------------------------------------------+---------+-----------+---------+----------+----------+-----------------------------------------------------------------------------------------------------------+---------
1 | Network | Network | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/network/15.5/ |
2 | download.nvidia.com-leap | nVidia Graphics Drivers | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.5 |
3 | download.opensuse.org-non-oss_1 | Aktualisierungs-Repository (Nicht-Open-Source-So-> | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.5/non-oss/ |
4 | download.opensuse.org-oss_1 | Hauptaktualisierungs-Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/15.5/oss |
5 | games | openSUSE Games | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.opensuse.org/repositories/games/15.5/ |
6 | https-download.opensuse.org-427e2937 | home:wolfi323:branches:KDE:Frameworks5 | Nein | ---- | ---- | 99 | rpm-md | https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Leap_15.5/ |
7 | install | Lokale Quellen | Ja | ( p) Ja | Ja | 99 | plaindir | dir:/home/kasi/unsers/install |
8 | openSUSE:repo-non-oss | repo-non-oss (15.5) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://cdn.opensuse.org/distribution/leap/15.5/repo/non-oss | openSUSE
9 | openSUSE:repo-non-oss-debug | repo-non-oss-debug (15.5) | Nein | ---- | ---- | 99 | N/A | http://cdn.opensuse.org/debug/distribution/leap/15.5/repo/non-oss | openSUSE
10 | openSUSE:repo-openh264 | repo-openh264 (15.5) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap | openSUSE
11 | openSUSE:repo-oss | repo-oss (15.5) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://cdn.opensuse.org/distribution/leap/15.5/repo/oss | openSUSE
12 | openSUSE:repo-oss-debug | repo-oss-debug (15.5) | Nein | ---- | ---- | 99 | N/A | http://cdn.opensuse.org/debug/distribution/leap/15.5/repo/oss | openSUSE
13 | openSUSE:repo-oss-source | repo-oss-source (15.5) | Nein | ---- | ---- | 99 | N/A | http://cdn.opensuse.org/source/distribution/leap/15.5/repo/oss | openSUSE
14 | openSUSE:update-backports | update-backports (15.5) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://cdn.opensuse.org/update/leap/15.5/backports | openSUSE
15 | openSUSE:update-backports-debug | update-backports-debug (15.5) | Nein | ---- | ---- | 99 | N/A | http://cdn.opensuse.org/update/leap/15.5/backports_debug | openSUSE
16 | openSUSE:update-non-oss | update-non-oss (15.5) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://cdn.opensuse.org/update/leap/15.5/non-oss | openSUSE
17 | openSUSE:update-non-oss-debug | update-non-oss-debug (15.5) | Nein | ---- | ---- | 99 | N/A | http://cdn.opensuse.org/debug/update/leap/15.5/non-oss | openSUSE
18 | openSUSE:update-oss | update-oss (15.5) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://cdn.opensuse.org/update/leap/15.5/oss | openSUSE
19 | openSUSE:update-oss-debug | update-oss-debug (15.5) | Nein | ---- | ---- | 99 | N/A | http://cdn.opensuse.org/debug/update/leap/15.5/oss | openSUSE
20 | openSUSE:update-sle | update-sle (15.5) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://cdn.opensuse.org/update/leap/15.5/sle | openSUSE
21 | openSUSE:update-sle-debug | update-sle-debug (15.5) | Nein | ---- | ---- | 99 | N/A | http://cdn.opensuse.org/debug/update/leap/15.5/sle | openSUSE
22 | openSUSE_Leap_${releasever}_2 | Mozilla | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.5/ |
23 | opensuse-guide.org-repo | Libdvdcss Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.5/ |
24 | packman | Packman Repository | Ja | (r ) Ja | Ja | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.5/ |
25 | systemsmanagement_cockpit | systemsmanagement:cockpit | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.opensuse.org/repositories/systemsmanagement:/cockpit/15.5/ |
26 | teamviewer | TeamViewer - x86_64 | Ja | (r ) Ja | Ja | 99 | rpm-md | https://linux.teamviewer.com/yum/stable/main/binary-x86_64/ |
pluto:~ #
I’m not sure what I see in post #12, as I only read English. Please use LANG=C for command output to be posted here.
These include all files reponsible for the list in my previous comment:
# ls -gGt /etc/zypp/repos.d/*.repo
-rw-r--r-- 1 153 Jun 12 15:06 /etc/zypp/repos.d/NonOSS.repo
-rw-r--r-- 1 143 Jun 12 15:06 /etc/zypp/repos.d/OSS.repo
-rw-r--r-- 1 239 Jun 12 15:06 /etc/zypp/repos.d/UpdateBP.repo
-rw-r--r-- 1 145 Jun 12 15:06 /etc/zypp/repos.d/UpdateNonOSS.repo
-rw-r--r-- 1 129 Jun 12 15:06 /etc/zypp/repos.d/Update.repo
-rw-r--r-- 1 135 Jun 12 15:06 /etc/zypp/repos.d/UpdateSLE.repo
---------- 1 0 May 24 00:53 /etc/zypp/repos.d/repo-sle-update.repo
---------- 1 0 May 24 00:53 /etc/zypp/repos.d/repo-sle-debug-update.repo
---------- 1 0 May 24 00:53 /etc/zypp/repos.d/repo-backports-update.repo
---------- 1 0 May 24 00:53 /etc/zypp/repos.d/repo-backports-debug-update.repo
-rw-r--r-- 1 192 Feb 8 2023 /etc/zypp/repos.d/openh264.repo
# lsattr /etc/zypp/repos.d/repo-*
----i---------e------- /etc/zypp/repos.d/repo-backports-debug-update.repo
----i---------e------- /etc/zypp/repos.d/repo-backports-update.repo
----i---------e------- /etc/zypp/repos.d/repo-sle-debug-update.repo
----i---------e------- /etc/zypp/repos.d/repo-sle-update.repo
#
Note all enabled repos have filenames that differ from OEM repo files. I have about 20 15.6 installations. Each uses a copy of each of the .repo files kept on my LAN server. If I find the timestamps have changed, I know something besides me changed something. There are no repo services enabled here. As the now empty files are originally provided by the openSUSE-release package, their existence is forced whenever the package is installed or re-installed. The only way that I’m aware of to not have them affect matters of importance to me is forcing them to remain empty in the manner exhibited above.
I just tried removing the package “openSUSE-repos-Leap” (which also removed “openSUSE-repos-Leap-NVIDA”). All the repos that have been mentioned in the output I posted here have actually been removed. That’s shown by the “zypper lr -d” which shouldn’t be too hard too check without “LANG=C”. It’s just missing the relevant repos.
Using yours that remain as templates and/or starting points you can construct the rest by using the URLs already provided here. Or, reinstall package openSUSE-repos-Leap, copy the files it creates, remove the package, then copy the files back, preferably using different filenames and editing each file’s repo name (like I do and showed). Or, copy from one of your backups, or another Leap computer. You also have the option to substitute $releasever for 15.6 in each file’s URL.
Thanks for the advice. That’s what I have done immediately. I don’t really have an issue. I just wanted to point out that repos actually get removed along with the package openSUSE-repos-Leap. No more, no less.
I was actually surprised that repos that I had in my regular repo list for years have been removed along. On the other hand, I don’t know anymore if I actually installed the package openSUSE-repos-Leap manually and what the output had been. So, in my specif case it might be a simple PEBKAC.
Perhaps it is the meaning of your term “repo definitions” that keeps me from understanding the point you are making and what is wrong with my step-wise procedure.
Would you amplify the meaning of the term “repo definitions”? Yes, the “repo definitions” from the repo packages would be cooked into the current /etc/zypp/repos.d directory items. But, what are they?