[Spacewalk-list] Channel/repository deleted but packages remain.
Dimitri Yioulos
dyioulos at netatlantic.com
Fri Mar 3 14:14:24 UTC 2017
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: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Michael Mraka
Sent: Friday, March 03, 2017 4:30 AM
To: spacewalk-list at redhat.com
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
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list