Tips on how to take away product channels in Suse Supervisor
Fast publish about how one can take away the merchandise channels in Suse Supervisor
Delete channels in Suse Supervisor
There’s manner you possibly can add merchandise and their channels in Suse Supervisor server utilizing command line and webpage GUI. However as soon as added its not simple to get them faraway from net console. Net console don’t present direct choice to take away product channels from Suse Supervisor. Additionally command used for including channel i.e.. mgr-sync additionally doesn’t help any choice to take away channels.
So a lot of first time Suse Supervisor directors encounter roadblock on how one can take away product channels which aren’t any extra wanted.
So lets get began on course of to take away product channels (utilizing command spacewalk-remove-channel) you might need added by mistake on Suse Supervisor or that are not wanted and consuming up your disk area.
First it’s essential listing out all of the channels in your Suse Supervisor utilizing mgr-sync listing command –
root@kerneltalks # mgr-sync listing channels
Obtainable Channels:
Standing:
– [I] – channel is put in
– [ ] – channel is just not put in, however is accessible
– [U] – channel is unavailable
[ ] RHEL6-Pool for x86_64 RHEL6 Base x86_64 [rhel6-pool-x86_64]
[I] SLE-Product-HPC-15-Pool for x86_64 SUSE Linux Enterprise Excessive Efficiency Computing 15 x86_64 [sle-product-hpc-15-pool-x86_64]
[ ] SLE-Module-Basesystem15-Debuginfo-Pool for x86_64 Basesystem Module 15 x86_64 [sle-module-basesystem15-debuginfo-pool-x86_64-hpc]
[ ] SLE-Module-Basesystem15-Debuginfo-Updates for x86_64 Basesystem Module 15 x86_64 [sle-module-basesystem15-debuginfo-updates-x86_64-hpc]
[I] SLE-Module-Basesystem15-Pool for x86_64 Basesystem Module 15 x86_64 [sle-module-basesystem15-pool-x86_64-hpc]
[I] SLE-Module-Basesystem15-Updates for x86_64 Basesystem Module 15 x86_64 [sle-module-basesystem15-updates-x86_64-hpc]
…
1
2
three
four
5
6
7
eight
9
10
11
12
13
14
15
16
17
18
root@kerneltalks # mgr-sync listing channels
Obtainable Channels:
Standing:
– [I] – channel is put in
– [ ] – channel is not put in, however is out there
– [U] – channel is unavailable
[ ] RHEL6–Pool for x86_64 RHEL6 Base x86_64 [rhel6–pool–x86_64]
[I] SLE–Product–HPC–15–Pool for x86_64 SUSE Linux Enterprise Excessive Efficiency Computing 15 x86_64 [sle–product–hpc–15–pool–x86_64]
[ ] SLE–Module–Basesystem15–Debuginfo–Pool for x86_64 Basesystem Module 15 x86_64 [sle–module–basesystem15–debuginfo–pool–x86_64–hpc]
[ ] SLE–Module–Basesystem15–Debuginfo–Updates for x86_64 Basesystem Module 15 x86_64 [sle–module–basesystem15–debuginfo–updates–x86_64–hpc]
[I] SLE–Module–Basesystem15–Pool for x86_64 Basesystem Module 15 x86_64 [sle–module–basesystem15–pool–x86_64–hpc]
[I] SLE–Module–Basesystem15–Updates for x86_64 Basesystem Module 15 x86_64 [sle–module–basesystem15–updates–x86_64–hpc]
...
Right here let’s take into account we have to take away channel sle-product-hpc-15-pool-x86_64. So first it’s essential take away all of the baby channels from this base product channel & then it is possible for you to to take away base channel. If you attempt to take away dad or mum channel instantly with out eradicating baby channels you’ll hit under error –
root@kerneltalks # spacewalk-remove-channel -c sle-product-hpc-15-pool-x86_64
Error: can’t take away channel sle-product-hpc-15-pool-x86_64: subchannel(s) exist:
sle-module-basesystem15-pool-x86_64-hpc
sle-module-basesystem15-updates-x86_64-hpc
sle-module-devtools15-pool-x86_64-hpc
….
root@kerneltalks # spacewalk-remove-channel -c sle-product-hpc-15-pool-x86_64
Error: can’t take away channel sle–product–hpc–15–pool–x86_64: subchannel(s) exist:
sle–module–basesystem15–pool–x86_64–hpc
sle–module–basesystem15–updates–x86_64–hpc
sle–module–devtools15–pool–x86_64–hpc
....
You possibly can clearly see baby channels to be eliminated earlier than you strive for dad or mum channel. That is additionally a great way to get baby channel listing shortly!
Then go forward, take away baby channel adopted by base one. For instance see under baby channel elimination output –
root@kerneltalks # spacewalk-remove-channel -c sle-module-devtools15-pool-x86_64-hpc
Deleting bundle metadata (204):
________________________________________
Eradicating: ######################################## – full
root@kerneltalks # spacewalk-remove-channel -c sle-module-devtools15-pool-x86_64-hpc
Deleting bundle metadata (204):
________________________________________
Eradicating: ######################################## – full
Repeat the method and take away all baby channels one after the other. You should use shell loops to get it accomplished faster. Lastly take away your dad or mum channel and you’re accomplished.
root@kerneltalks # spacewalk-remove-channel -c sle-product-hpc-15-pool-x86_64
Deleting bundle metadata (three):
________________________________________
Eradicating: ######################################## – full
root@kerneltalks # spacewalk-remove-channel -c sle-product-hpc-15-pool-x86_64
Deleting bundle metadata (three):
________________________________________
Eradicating: ######################################## – full
As soon as accomplished you possibly can affirm that channel isn’t any extra enabled in webpage console or utilizing mgr-sync listing command.