Can I remove (already) listed as Disabled repos?

Running a current 15.6 - can I delete the extraneous, already “not enabled” repos?

I would never debug stuff, and can’t remember ever using source code stuff.
(just want to clean up the list of repos I’d never use (from the list).

(These were added automatically when I installed Leap 15.6)

#  zypper lr -u
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                       | Name                              | Enabled | GPG Check | Refresh | URI
---+-----------------------------+-----------------------------------+---------+-----------+---------+------------------------------------------------------------------------
 1 | brave-browser-beta          | Brave Browser - Beta              | Yes     | (r ) Yes  | Yes     | https://brave-browser-rpm-beta.s3.brave.com/x86_64
 2 | google-chrome               | google-chrome                     | Yes     | (r ) Yes  | Yes     | https://dl.google.com/linux/chrome/rpm/stable/x86_64
 3 | repo-backports-debug-update | Update repository with updates -> | No      | ----      | ----    | http://download.opensuse.org/update/leap/15.6/backports_debug/
 4 | repo-backports-update       | Update repository of openSUSE B-> | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/backports/
 5 | repo-debug                  | Debug Repository                  | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/
 6 | repo-debug-non-oss          | Debug Repository (Non-OSS)        | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.6/repo/non-oss/
 7 | repo-debug-update           | Update Repository (Debug)         | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.6/oss/
 8 | repo-debug-update-non-oss   | Update Repository (Debug, Non-O-> | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.6/non-oss/
 9 | repo-non-oss                | Non-OSS Repository                | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/
10 | repo-openh264               | Open H.264 Codec (openSUSE Leap)  | Yes     | (r ) Yes  | Yes     | http://codecs.opensuse.org/openh264/openSUSE_Leap/
11 | repo-sle-debug-update       | Update repository with debuginf-> | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.6/sle/
12 | repo-sle-update             | Update repository with updates -> | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/sle/
13 | repo-source                 | Source Repository                 | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/15.6/repo/oss/
14 | repo-update                 | Main Update Repository            | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/oss/
15 | repo-update-non-oss         | Update Repository (Non-Oss)       | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/non-oss/

#

Yes, you can (when you know how to do it).

I can say even more: when you remove them you would see no (negative) consequences on your present system.

But why should you? They are disabled, so will not be contacted when you install or update.

But it is of course up to you.

Each repo is represented by a file in /etc/zypp/repos.d/. Any *.repo file there whose name is changed to not end in .repo, or is deleted, represents removal of that repo, in functionally equivalent manner to disabling that repo. If you simply employ a filename change, it’s a just as simple matter to “recreate” that repo with another name change, if and when desired.

1 Like

Good to know and consider - thanks!

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