Removing channel
1. Use case
This workflow shows how to manually remove SUSE provided channels from SUSE Manager and to clean up end-of-life products, to reclaim space or for other purposes.
2. Step-by-step instructions
Manual channel removal consists of Preparing to remove a channel and Removing channel.
2.1. Preparing 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.
|
2.1.1. Identifying Channel labels
-
In the SUSE Manager Web UI, in the sidebar 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:
spacewalk-remove-channel -l
2.1.2. Verify channel system subscriptions
-
In the SUSE Manager Web UI, in the sidebar navigate to
. -
Locate
Systems
column on the right. -
Check the
Systems
column for the channel, or any child channels, that you want to remove.
-
Run the following command:
spacecmd -- softwarechannel_listsystems <Channel Label>
2.2. Removing channel
A channel, with its metadata, can be removed in the SUMA command line by using the spacewalk-remove-channel
command. This command does not remove the packages themselves from the filesystem.
Removing packages from the filesystem is described in Remove packages from the database via the Web UI.
2.2.1. Removing an individual channel
-
To remove an individual channel run the following command:
spacewalk-remove-channel -c channel-label
+
. To remove multiple channels at the same time, use -c
flag for each channel, followed by the channel-label
.
For example:
+
spacewalk-remove-channel -c channel-label1 -c channel-label2
2.2.2. Removing a parent and all its child channels
spacewalk-remove-channel -a sles12-sp5-pool-x86_64
3. Related topics
Package in no channel
, and delete the packages.-
For more information about deleting channels, see Delete channels.