<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Is there a way to clean the metadata from bash?<br>
<br>
Tim<br>
<br>
<br>
<br>
Jesse Keating wrote:
<blockquote cite="mid:20080219165151.063881c0@redhat.com" type="cite">
  <pre wrap="">On Tue, 19 Feb 2008 15:09:54 -0500
Warren Togami <a class="moz-txt-link-rfc2396E" href="mailto:wtogami@redhat.com">&lt;wtogami@redhat.com&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">What do you use to expire the metadata?  That sounds very useful.  I 
would like to keep a single cachedir mainly for the RPMS and not 
necessarily the metadata.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I use a yum call to clean the metadata and sqlite data.

        self.ayum.cleanMetadata() # clean metadata that might be in the cache from previous runs
        self.ayum.cleanSqlite() # clean metadata that might be in the cache from previous runs


Some things to consider, don't allow multiple runs of livecd-creator to
use the same cache at the same time.  This could be... interesting.  So
a locking system is needed.  I don't actually have a locking system in
pungi yet, I've been playing fast and loose with it.

  </pre>
  <pre wrap="">
<hr size="4" width="90%">
--
Fedora-livecd-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Fedora-livecd-list@redhat.com">Fedora-livecd-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-livecd-list">https://www.redhat.com/mailman/listinfo/fedora-livecd-list</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
_________________________________
Tim Wood, CLP, RHCT
719.338.7484 (tel)

The Data Wranglers
Web,&nbsp;Database &amp; more since &nbsp; &nbsp;since 1994
<a class="moz-txt-link-abbreviated" href="http://www.datawranglers.com">www.datawranglers.com</a>
</pre>
</body>
</html>