[Spacewalk-list] Purging not related packages

Scott Worthington scott.c.worthington at gmail.com
Mon Dec 17 19:54:56 UTC 2012


On 12/17/2012 2:16 PM, Ciro Iriarte wrote:
> 2012/12/17 Michael Mraka <michael.mraka at redhat.com>
> 
>> Ciro Iriarte wrote:
>> % 2012/12/14 Michael Mraka <michael.mraka at redhat.com>
>> %
>> % > Ciro Iriarte wrote:
>> % > % Hi, give some recomendations in the list I decided to separate some
>> % > % packages from the main channel and create sub channels for them.
>> % > %
>> % > % For example, all official RHEL packages (from differente RHN
>> Channels)
>> % > % would go in one channel, the same for SLES but third party package
>> should
>> % > % go in different sub-channels (epel, obs, jpackage, etc).
>> % > %
>> % > % The thing is that after excluding the EPEL repository the main
>> % > RHEL5/RHEL6
>> % > % channels still include the EPEL packages.What's the best way to
>> purge the
>> % > % no longer related packages from the channel?.
>> % >
>> % > I'm afraid the only way is to create your own script which will remove
>> % > packages via API.
>> % >
>> % > Regards,
>> % >
>> % > --
>> % > Michael Mráka
>> % > Satellite Engineering, Red Hat
>> % >
>> % > _______________________________________________
>> % > Spacewalk-list mailing list
>> % > Spacewalk-list at redhat.com
>> % > https://www.redhat.com/mailman/listinfo/spacewalk-list
>> %
>> %
>> % Hmm, what about a one-shot command to delete all the packages from that
>> % channel?, I'm ok with downloading all the required packages again in this
>> % case....
>>
>> Then you can remove all packages from channel from in WebUI, go to
>>  Channels >
>>   Manage Software Channels >
>>    your_channel_name >
>>     Packages >
>>      List / Remove >
>>       Select All >
>>        Confirm Removal >
>>         Remove
>>
>> Regards,
>>
>> --
>> Michael Mráka
>> Satellite Engineering, Red Hat
>>
> 
> Thanks Michael, that did it. The weird thing is that /var/satellite didn't
> shrink at all...
> 
> Regards,

spacewalk-data-fsck -r -vvv

For details:

spacewalk-data-fsck -h





More information about the Spacewalk-list mailing list