<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'>
<p class='MsoNormal' style='BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 0cm 0cm 1.0pt 0cm'><span lang='PT'><font face='Verdana' size='2'>Date: Thu, 24 Nov 2005 14:16:53 +0000 </font></span></p></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>From: Paul Howarth <paul@city-fan.org> </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>Subject: Re: Manage software with yum </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font size='2'><font face='Verdana'> <?xml:namespace prefix = o ns = 'urn:schemas-microsoft-com:office:office' /><o:p></o:p></font></font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>Tim wrote: </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>> James Wilkinson wrote: </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>> </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>>>One of the big users of disk space is yum's cache. The command </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>>>yum clean packages will delete the cache of packages that yum has </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>>>downloaded (normally it stores a copy of everything it downloads). The </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>>>command yum clean all deletes everything yum has deleted, which means </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>>>it will have to re-download headers next time you do a yum update. </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>> </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>> Which may take a very long time, and the obvious remedy is to not do </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>> that, but manually delete the RPMs, leaving the headers alone, in </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>> the /var/cache/yum/name-of-repo/packages/ directories. </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>Or simply do 'yum clean packages', which deletes the rpms but not the </font></span></p>
<p class='MsoNormal' style='MARGIN: 0cm 0cm 0pt'><span lang='PT'><font face='Verdana' size='2'>metadata (headers). </font></span><span lang='PT' style='FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Arial Unicode MS'; mso-ansi-language: PT; mso-fareast-language: EN-US; mso-bidi-language: AR-SA'>Paul. <br />--------------<br />In fact I used today 'yum clean all'. Any problem deleting metadata (headers)? Best regards, Joao.</span></p>