[Spacewalk-list] Channel/repository deleted but packages remain.
Soham Chakraborty
dec.soham at gmail.com
Fri Mar 3 18:14:46 UTC 2017
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" <dyioulos at netatlantic.com> 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: 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
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170303/58861187/attachment.htm>
More information about the Spacewalk-list
mailing list