-
-
Hauptkategorie: Linux
-
Kategorie: SLE
Enable a disabled repository
localhost:/etc/zypp/repos.d # zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.
# | Alias | Name | Enabled | GPG Check | Refresh
--+-----------------------------------+-----------------------------------+---------+-----------+--------
1 | Basesystem-Module_15.2-0 | Basesystem-Module 15.2-0 | Yes | (r ) Yes | No
2 | Live-Patching_15.2-0 | Live-Patching 15.2-0 | No | ---- | ----
3 | SLES15-SP2-15.2-0 | SLES15-SP2-15.2-0 | No | ---- | ----
4 | Server-Applications-Module_15.2-0 | Server-Applications-Module 15.2-0 | No | ---- | ----
5 | Web-Scripting-Module_15.2-0 | Web-Scripting-Module 15.2-0 | No | ---- | ----
localhost:/etc/zypp/repos.d # zypper mr -e SLES15-SP2-15.2-0
Repository 'SLES15-SP2-15.2-0' has been successfully enabled.
localhost:/etc/zypp/repos.d # zypper lr
Repository priorities in effect: (See 'zypper lr -P' for details)
99 (default priority) : 1 repository
100 (lowered priority) : 1 repository
# | Alias | Name | Enabled | GPG Check | Refresh
--+-----------------------------------+-----------------------------------+---------+-----------+--------
1 | Basesystem-Module_15.2-0 | Basesystem-Module 15.2-0 | Yes | (r ) Yes | No
2 | Live-Patching_15.2-0 | Live-Patching 15.2-0 | No | ---- | ----
3 | SLES15-SP2-15.2-0 | SLES15-SP2-15.2-0 | Yes | (r ) Yes | No
4 | Server-Applications-Module_15.2-0 | Server-Applications-Module 15.2-0 | No | ---- | ----
5 | Web-Scripting-Module_15.2-0 | Web-Scripting-Module 15.2-0 | No | ---- | ----