2010/11/16 Jan Pazdziora <[email protected]>: > On Fri, Nov 05, 2010 at 04:24:26PM -0500, Ronald Parker wrote: >> >> >> Deleting packages in 25 steps might take a long time if you have about >> >> 60'000 :/ >> >> > I hacked up a script which pulled the orphan package IDs out of the >> > database >> > directly then deleted them one by one with the removePackage API call. If >> > you >> > left it running overnight it did the business. Unfortunately, I cannot >> > find it, but it >> > didn't take very long to write so maybe you could explore this approach. >> >> I'm in a similar situation. Can anyone point to some documentation for the >> API >> so I can look into this approach? > > On you Spacewalk, go to > > https://FQDN/rhn/apidoc/handlers/PackagesHandler.jsp#removePackage > > Hope this helps,
You still have to hack orphan package IDs out of the database directly which is quite annoying. -- Greets Marcus _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
