I’ve been adding channels using mgr-sync add channel [channel name] with no problem, but I added one that I don’t want or need. Is there a way to uninstall/remove it ?
I thought mgr-sync delete channel [ channel name] would work but nope.
specifically I want to remove the sle11-sdk-sp3-pool-i586 & sle11-sdk-sp3-updates-i586 as we don’t have any 32bit linux systems.
Hi
Have you tried via the web interface or via the mgr-sync delete
command instead?
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.2 (Harlequin) (x86_64) GNOME 3.14.0 Kernel 3.16.7-7-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
# mgr-sync -h
usage: mgr-sync [-h] [--version] [-v] [-s]
{add,list,enable-scc,refresh,delete} ...
Synchronize SUSE Manager repositories.
optional arguments:
-h, --help show this help message and exit
--version Print mgr-sync version
-v, --verbose Be verbose
-s, --save-config Save the configuration to the local dot file.
Subcommands:
{add,list,enable-scc,refresh,delete}
list List channels, SCC organization credentials or
products
add add channels, SCC organization credentials or products
refresh Refresh product, channel and subscription
enable-scc Enable SUSE Customer Center (SCC)
delete Delete SCC organization credentials
# mgr-sync list credentials
Please enter the credentials of SUSE Manager Administrator.
Login: "[I]usernameSuseManager[/I]"
Password: "[I]passwordSuseManager[/I]"
Credentials:
"[I]IDNumberCredentials[/I]" (primary)
Finally, I’ve found one way to delete SUSE Channels from the Suse Manager. It seems that this funcionality is not available right now from the web interface.
First you need to identify what channels you want to delete. Use the “mgr-sync list channels” command to do this. In this example, we want to the delete all the 32 bits channels:
susemanager:~ # mgr-sync list channels
Available Channels:
Status:
- [I] - channel is installed
- [ ] - channel is not installed, but is available
- [U] - channel is unavailable
[I] SLES11-SP3-Pool for i586 SUSE Linux Enterprise Server 11 SP3 i686 [sles11-sp3-pool-i586]
[I] SLES11-SP3-SUSE-Manager-Tools i586 SUSE Manager Tools [sles11-sp3-suse-manager-tools-i586]
[I] SLES11-SP3-Updates for i586 SUSE Linux Enterprise Server 11 SP3 i686 [sles11-sp3-updates-i586]
[I] SLES11-SP3-Pool for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-pool-x86_64]
[I] SLE11-HAE-SP3-Pool for x86_64 SUSE Linux Enterprise High Availability Extension 11 SP3 x86_64 [sle11-hae-sp3-pool-x86_64]
[I] SLE11-HAE-SP3-Updates for x86_64 SUSE Linux Enterprise High Availability Extension 11 SP3 x86_64 [sle11-hae-sp3-updates-x86_64]
[ ] SLE11-SDK-SP1-Pool for x86_64 SDK-SP3 SUSE Linux Enterprise Software Development Kit 11 SP1 [sle11-sdk-sp1-pool-x86_64-sdk-sp3]
[ ] SLE11-SDK-SP1-Updates for x86_64 SDK-SP3 SUSE Linux Enterprise Software Development Kit 11 SP1 [sle11-sdk-sp1-updates-x86_64-sdk-sp3]
[ ] SLE11-SDK-SP2-Core for x86_64 SDK-SP3 SUSE Linux Enterprise Software Development Kit 11 SP2 [sle11-sdk-sp2-core-x86_64-sdk-sp3]
[ ] SLE11-SDK-SP2-Updates for x86_64 SDK-SP3 SUSE Linux Enterprise Software Development Kit 11 SP2 [sle11-sdk-sp2-updates-x86_64-sdk-sp3]
[I] SLE11-SDK-SP3-Pool for x86_64 SUSE Linux Enterprise Software Development Kit 11 SP3 [sle11-sdk-sp3-pool-x86_64]
[I] SLE11-SDK-SP3-Updates for x86_64 SUSE Linux Enterprise Software Development Kit 11 SP3 [sle11-sdk-sp3-updates-x86_64]
[ ] SLE11-Security-Module for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sle11-security-module-x86_64]
[I] SLE11-SMT-SP3-Pool for x86_64 SUSE Linux Enterprise Subscription Management Tool 11 SP3 [sle11-smt-sp3-pool-x86_64]
[I] SLE11-SMT-SP3-Updates for x86_64 SUSE Linux Enterprise Subscription Management Tool 11 SP3 [sle11-smt-sp3-updates-x86_64]
[ ] SLES11-SP2-SUSE-Manager-Tools x86_64 SP3 SUSE Manager Tools [sles11-sp2-suse-manager-tools-x86_64-sp3]
[ ] SLES11-SP2-Updates for x86_64 SLES-SP3 SUSE Linux Enterprise Server 11 SP2 x86_64 [sles11-sp2-updates-x86_64-sles-sp3]
[ ] SLES11-SP3-Extension-Store for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-extension-store-x86_64]
[I] SLES11-SP3-SUSE-Manager-Tools x86_64 SUSE Manager Tools [sles11-sp3-suse-manager-tools-x86_64]
[I] SLES11-SP3-Updates for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-updates-x86_64]
[I] SLES11-SP3-Pool for x86_64 Server 2.1 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-pool-x86_64-server-2.1]
[I] SLES11-SP3-Updates for x86_64 Server 2.1 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-updates-x86_64-server-2.1]
[I] SUSE-Manager-Server-2.1-Updates for x86_64 SUSE Manager Server 2.1 x86_64 [suse-manager-server-2.1-updates-x86_64]
First we need to delete all the subchannels from the parent channel that we want to delete. In this example, we want to delete the parent channel “SLES11-SP3-Pool for i586 SUSE Linux Enterprise Server 11 SP3 i686 [sles11-sp3-pool-i586]”.
So first, we delete its subchannles, like “SLES11-SP3-SUSE-Manager-Tools i586 SUSE Manager Tools [sles11-sp3-suse-manager-tools-i586]”. To do this, you need to use the command “spacewalk-remove-channel”: