i tried to remove the oss repo using the x86_64 url, but the service is keeping it it seems How can i keep only one oss repo ?
i have this message :
opensuse:~ # zypper rr 6
Suppression du dépôt ‘repo-oss (16.0)’ …[fait]
Le dépôt ‘repo-oss (16.0)’ a été supprimé. [volatil]
Avertissement : Le dépôt ‘openSUSE:repo-oss’ est géré par le service ‘openSUSE’. Les changements volatils seront annulés par le prochain rafraichissement du service !
translation :
Removing repository ‘repo-oss (16.0)’ …[done]
The repository ‘repo-oss (16.0)’ has been removed. [volatile]
Warning: The ‘openSUSE:repo-oss’ repository is managed by the ‘openSUSE’ service. Volatile changes will be discarded by the next service refresh!
For unexperinced users, the repository service is recommended, as it takes completely care about repo management. That means remove repo number 2 and 11 via sudo zypper rr 2 11
The repository service is provided via the package openSUSE-repos-Leap. It is there to ease the upgrade between different Leap versions, and prevents accidential removal/tinkering/breaking of repos by unexperienced users.
:~> zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Keep | Priority | Type | URI | Service
---+----------------------------+-------------------+---------+-----------+---------+------+----------+--------+----------------------------------------------------------+---------
1 | chrome1 | chrome1 | Ja | ( p) Ja | Ja | - | 99 | N/A | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
2 | chrome2 | chrome2 | Ja | ( p) Ja | Ja | - | 99 | N/A | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
3 | chrome4 | chrome4 | Ja | ( p) Ja | Ja | - | 99 | N/A | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
4 | chrome5 | chrome5 | Ja | ( p) Ja | Ja | - | 99 | N/A | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
5 | chrome6 | chrome6 | Ja | ( p) Ja | Ja | - | 99 | N/A | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
6 | chrome8 | chrome8 | Ja | ( p) Ja | Ja | - | 99 | N/A | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
7 | chrome9 | chrome9 | Ja | ( p) Ja | Ja | - | 99 | N/A | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
8 | openSUSE:repo-non-oss | repo-non-oss | Ja | (r ) Ja | Ja | - | 99 | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/non-oss | openSUSE
9 | openSUSE:repo-openh264 | repo-openh264 | Ja | (r ) Ja | Ja | - | 99 | rpm-md | https://codecs.opensuse.org/openh264/openSUSE_Tumbleweed | openSUSE
10 | openSUSE:repo-oss | repo-oss | Ja | (r ) Ja | Ja | - | 99 | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/oss | openSUSE
11 | openSUSE:repo-oss-debug | repo-oss-debug | Nein | ---- | ---- | - | 99 | N/A | http://cdn.opensuse.org/debug/tumbleweed/repo/oss | openSUSE
12 | openSUSE:repo-oss-source | repo-oss-source | Nein | ---- | ---- | - | 99 | N/A | http://cdn.opensuse.org/source/tumbleweed/repo/oss | openSUSE
13 | openSUSE:update-tumbleweed | update-tumbleweed | Ja | (r ) Ja | Ja | - | 99 | rpm-md | http://cdn.opensuse.org/update/tumbleweed | openSUSE
Now delete repos 1 to 7:
:~> sudo zypper rr 1 2 3 4 5 6 7
Repository 'chrome1' entfernen .......................................................................................................................................................................................................................................[fertig]
Repository 'chrome1' wurde entfernt.
Repository 'chrome2' entfernen .......................................................................................................................................................................................................................................[fertig]
Repository 'chrome2' wurde entfernt.
Repository 'chrome4' entfernen .......................................................................................................................................................................................................................................[fertig]
Repository 'chrome4' wurde entfernt.
Repository 'chrome5' entfernen .......................................................................................................................................................................................................................................[fertig]
Repository 'chrome5' wurde entfernt.
Repository 'chrome6' entfernen .......................................................................................................................................................................................................................................[fertig]
Repository 'chrome6' wurde entfernt.
Repository 'chrome8' entfernen .......................................................................................................................................................................................................................................[fertig]
Repository 'chrome8' wurde entfernt.
Repository 'chrome9' entfernen .......................................................................................................................................................................................................................................[fertig]
Repository 'chrome9' wurde entfernt.
Result:
:~> zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Keep | Priority | Type | URI | Service
--+----------------------------+-------------------+---------+-----------+---------+------+----------+--------+----------------------------------------------------------+---------
1 | openSUSE:repo-non-oss | repo-non-oss | Ja | (r ) Ja | Ja | - | 99 | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/non-oss | openSUSE
2 | openSUSE:repo-openh264 | repo-openh264 | Ja | (r ) Ja | Ja | - | 99 | rpm-md | https://codecs.opensuse.org/openh264/openSUSE_Tumbleweed | openSUSE
3 | openSUSE:repo-oss | repo-oss | Ja | (r ) Ja | Ja | - | 99 | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/oss | openSUSE
4 | openSUSE:repo-oss-debug | repo-oss-debug | Nein | ---- | ---- | - | 99 | N/A | http://cdn.opensuse.org/debug/tumbleweed/repo/oss | openSUSE
5 | openSUSE:repo-oss-source | repo-oss-source | Nein | ---- | ---- | - | 99 | N/A | http://cdn.opensuse.org/source/tumbleweed/repo/oss | openSUSE
6 | openSUSE:update-tumbleweed | update-tumbleweed | Ja | (r ) Ja | Ja | - | 99 | rpm-md | http://cdn.opensuse.org/update/tumbleweed | openSUSE
As it is one zypper transaction, the order does absolutely not matter. It ONLY matters, if you delete the repos one by one in separate transactions like:
sudo zypper rr 3
sudo zypper rr 7
This will lead to a renumbering of the repo list, as only repo 3 got removed in a transaction. When you now remove repo 7 it will not be the same as prior the first transaction.
Hello,
Is the service going to disable non-oss again or will it leave it enabled like I changed it ?
(Can we read ,or maybe modify, what the service does?)