Hello
I recently removed some channels using the GUI in 2021.09 and somehow I managed to fail to delete the associated packages with the result that I now have a large number of packages in the system which belong to no channel. Attempts to process these 23000+ packages through the GUI result in a timeout error message on the web interface and it isn't clear whether any background process has actually started to purge these packages...
Is there a command line way to deal with these packages now that they belong to no channel which will tell me what's going on without timing out?
I cannot immediately see a spacewalk-xxxx coammnd or a spacecmd subcommand which looks likely...
Many thanks!
T
*Please note I am now working part-time - Tuesdays and Wednesday only* ___________________________________________________________ TIM SHAW - MSD IT Systems & Network Services Medical Sciences Division - University of Oxford email : tim.shaw@medsci.ox.ac.uk tel : +44 (0)1865 289480
Hi Tim
I think this could be what you are looking for:
spacecmd {SSM:0}> package_removeorphans --help package_removeorphans: Remove packages that are not in a channel usage: package_removeorphans
Regards, Javier
-----Ursprüngliche Nachricht----- Von: Tim Shaw Tim.Shaw@medsci.ox.ac.uk Gesendet: Wednesday, November 10, 2021 12:59 PM An: uyuni-users@opensuse.org Betreff: Removing packages not assigned to a channel from the command line
Hello
I recently removed some channels using the GUI in 2021.09 and somehow I managed to fail to delete the associated packages with the result that I now have a large number of packages in the system which belong to no channel. Attempts to process these 23000+ packages through the GUI result in a timeout error message on the web interface and it isn't clear whether any background process has actually started to purge these packages...
Is there a command line way to deal with these packages now that they belong to no channel which will tell me what's going on without timing out?
I cannot immediately see a spacewalk-xxxx coammnd or a spacecmd subcommand which looks likely...
Many thanks!
T
*Please note I am now working part-time - Tuesdays and Wednesday only* ___________________________________________________________ TIM SHAW - MSD IT Systems & Network Services Medical Sciences Division - University of Oxford email : tim.shaw@medsci.ox.ac.uk tel : +44 (0)1865 289480