Removing Channel
This chapter describes how to manually remove SUSE provided channels from SUSE Multi-Linux Manager and clean up end-of-life products, to reclaim space or for other purposes.
1. Prepare to Remove a Channel
Before removing a channel, you must identify the label for the channel to be removed. It can be done with Web UI or on the command line.
|
1.1. Identify Channel Labels
-
In the SUSE Multi-Linux Manager Web UI, navigate to .
-
This page displays the
Channel Name. If you select the link for a channel name, you will see the field forChannel Label. -
Identify the channel, and child channels, to be removed.
-
You can get a list of channels by running the following command on the SUSE Multi-Linux Manager container host:
mgrctl exec -ti -- spacewalk-remove-channel -l
1.2. Verify Channel System Subscriptions
-
In the SUSE Multi-Linux Manager Web UI, navigate to .
-
Locate
Systemscolumn on the right. -
Check the
Systemscolumn for the channel, or any child channels, that you want to remove.
-
Run the following command on the SUSE Multi-Linux Manager container host:
mgrctl exec -ti -- 'spacecmd -- softwarechannel_listsystems <Channel Label>'
2. Remove Channel
A channel, with its metadata, can be removed with command line tools only.
The spacewalk-remove-channel command automatically removes the software packages, if they are not referenced anymore by other channels.
Thus it removes the metadata from the database and the files from the storage medium.
2.1. Remove a Child Channel
-
To remove an individual channel run the following command on the SUSE Multi-Linux Manager container host:
mgrctl exec -ti -- spacewalk-remove-channel -c channel-label
-
To remove multiple channels at the same time, use
-cflag for each channel, followed by thechannel-label. For example:mgrctl exec -ti -- spacewalk-remove-channel -c channel-label1 -c channel-label2
2.2. Remove a Parent and All Its Child Channels
-
To remove a parent channel with all of the child channels run
spacewalk-remove-channelwith the-aoption and replaceparent-channel-labelwith a channel label such assles12-sp5-pool-x86_64:mgrctl exec -ti -- spacewalk-remove-channel -a parent-channel-label