I think the point is that you may run "install_cluster" multiple times --
even after the initial install.

So it seems reasonable that you might not want to rebuild it every time.
We certainly don't want to force the user to comment out code.  :-)


On Tue, 20 Apr 2004, Mat Garrett wrote:

> Jason Brechin wrote:
> > Matt and Dave -
> >
> > I'm noticing that update-rpms rebuild the cache every time
> > install_cluster is run.  There is no reason for this, esp. since you
> > said the cache updating code was there.  IT seems like update-rpms isn't
> > finding or reading the existing cache.  I can tell that the tool is
> > being run as `update-rpms --cache=u --url /tftpboot/rpm`.  I let it run
> > through once, and it got past the point where it wrote the package
> > cache.  The next time I ran install_cluster, update-rpms printed
> > "WARNING: No cache found".  The cache exists in /var/cache/update-rpms
> > (all 14MB of it).
> >
> > What's going on, and when can this be fixed?
> >
> > Thanks,
> > Jason
> >
>
> What's runing is the update-rpms prereq setup script. This should only
> be run at initial install (yes/no?), so it always assumes an
> unconditional build of the cache. When debugging, I let it build once
> naturally, then I go into the setup script and comment out the three
> lines that has to do with (re)building the cache. and uncomment them
> again when debugging is done.
>
> If anyone has opinions about the propriety of relying on whatever
> update-rpms cache might alreayd be there when a user starts their first
> install, I'd love to hear them.
>
>

-- 
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to