Not to nitpick did you run with --remove? In my case having --remove worked. Probably stupid suggestion but...
On 3 Mar 2017 19:51, "Dimitri Yioulos" <[email protected]> wrote: Michael, Thanks for the response. I did run spacewalk-data-fsck. The channels were for rpmforge which, as we know, has ridden off into the sunset. Perhaps I didn't remove the channels/repositories/packages in proper order? What I ended up doing is deleting the packages manually e.g. " find . -type f -name '*rf.noarch.rpm' -exec rm {} +". After I did that, I ran spacewalk-data-fsck, but got no output. I know I should rtfm, but I'll ask anyway - what's the proper way to remove a channel and its associated packages? Thanks again. Dimitri editorial: Rpmforge, originally created in 2002 by Dag Wieers, and known as the Dag RPM Repository for a long time, was the first non-Redhat repository. I used it from its inception, and it saved my bacon lots of times. Thanks, Dag! -----Original Message----- From: [email protected] [mailto:spacewalk-list- [email protected]] On Behalf Of Michael Mraka Sent: Friday, March 03, 2017 4:30 AM To: [email protected] Subject: Re: [Spacewalk-list] Channel/repository deleted but packages remain. > Hello, all. > > I recently did some maintenance to our Spacewalk 2.6 server, which included removing some no longer needed channels, and their associated repositories. I thought this would also remove the packages associated with the channels. Wrong. The packages are still on the server, and running my standard clean-up tools (swalk-clean-old-packages.py and spacewalk-data-fsck) aren't removing them. I'd like to remove these packages and reclaim disk space. How can I accomplish this? > > With thanks. spacewalk-data-fsck --remove should do it. If not then packages are still referenced from the database. Maybe they were linked to more channels and one of them is still alive? Regards, -- Michael Mráka System Management Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
