<div dir="auto">Not to nitpick did you run with --remove? In my case having --remove worked. Probably stupid suggestion but...</div><div class="gmail_extra"><br><div class="gmail_quote">On 3 Mar 2017 19:51, "Dimitri Yioulos" <<a href="mailto:dyioulos@netatlantic.com">dyioulos@netatlantic.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Michael,<br>
<br>
Thanks for the response.<br>
<br>
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?<br>
<br>
Thanks again.<br>
<br>
Dimitri<br>
<br>
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!<br>
<div class="elided-text"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.<wbr>com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-<wbr>bounces@redhat.com</a>] On Behalf Of Michael Mraka<br>
Sent: Friday, March 03, 2017 4:30 AM<br>
To: <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
Subject: Re: [Spacewalk-list] Channel/repository deleted but packages remain.<br>
<br>
> Hello, all.<br>
><br>
> 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?<br>
><br>
> With thanks.<br>
<br>
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?<br>
<br>
Regards,<br>
<br>
--<br>
Michael Mráka<br>
System Management Engineering, Red Hat<br>
<br>
______________________________<wbr>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/spacewalk-<wbr>list</a><br>
<br>
______________________________<wbr>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/spacewalk-<wbr>list</a></div></blockquote></div><br></div>