[Spacewalk-list] Antwort: Re: Old spacewalk-channels in /var/cache/yum

Matthias Gruber MGruber at metzler.com
Thu Jun 8 11:04:29 UTC 2017


Hi!

I just seeked a bit around, yes /var/cache/yum seems only used by yum, 
spacewalk has no business in this part.

Found an old KB-Entry at RedHat concerning this problem.
yum clean all doesnt helped fully in that case because yum only has a look 
into rhnplugin.repos and deletes what it founds there, therefore it keeps 
the old channels because they are not listed  there.

Since it is only the cache I empties as stated in the KB-entry and simply 
did a yum repolist to recreate rhe rhnplugin.repos
I put that into my update-scripts

Cheers
Matthias


------------------------------------------------------------------------------------
METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
MGruber at metzler.com
www.metzler.com



Von:    "Lichtinger, Bernhard" <Bernhard.Lichtinger at lrz.de>
An:     "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Datum:  08.06.2017 12:57
Betreff:        Re: [Spacewalk-list] Old spacewalk-channels in 
/var/cache/yum
Gesendet von:   spacewalk-list-bounces at redhat.com



* PGP - S/MIME Signed: 06/08/2017 at 12:56:24 PM

Hi,

> 
>> /var/cache/yum which are eating up space, even if they are removed from 

>> spacewalk.
>> 

Isn't /var/cache/yum only used by yum? That is the cache for the machine 
itself and is not used by spacewalk-server.
This cache can be cleaned up by "yum clean all". More details are in "man 
yum".

The packages of spacewalk-server are in /var/satellite (or whatever you 
have as mount_point in /etc/rhn/rhn.conf). 
spacewalk-data-fsck will remove unneeded packages at this location.
> There are two tools which can help you:
> spacewalk-remove-channel
> spaceewalk-data-fsck

Regards,
Bernhard

* Bernhard Lichtinger <Bernhard.Lichtinger at lrz.de>
* Issuer: Leibniz-Rechenzentrum
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

 

Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von Metzler, Emmerich Müller, Dr. Johannes J. Reich, Gerhard Wiesheu
Vorsitzender des Aufsichtsrates: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept any liability for their contents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170608/d9d05d4b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170608/d9d05d4b/attachment.sig>


More information about the Spacewalk-list mailing list