Re: portupgrade and index

From: Conrad J. Sabatier (conrads_at_cox.net)
Date: 11/30/04

  • Next message: Kris Kennaway: "Re: portupgrade and index"
    Date: Mon, 29 Nov 2004 23:27:47 -0600
    To: Kris Kennaway <kris@obsecurity.org>
    
    

    On Mon, 29 Nov 2004 19:57:34 -0800, Kris Kennaway <kris@obsecurity.org>
    wrote:

    > On Mon, Nov 29, 2004 at 10:48:29PM -0500, dave wrote:
    > > Hello,
    > > I've got a box that runs portupgrade to keep the most current
    > > ports.
    > > I've lately switched to make fetchindex vs. portsdb -uU which goes
    > > much faster. My problem is whenever i do a make search for a port
    > > the index.5 file is regenerated and that takes an extremely long
    > > time. I was wondering if this is normal behavior, and what if
    > > anything i could do to speed it up?
    >
    > make fetchindex
    >
    > Kris

    You can also increase the concurrency of "portsdb -U"/"make index" by
    setting INDEX_JOBS in /etc/make.conf. The default number of parallel
    jobs is 2. Increasing this to, say, 8, will save some time in building
    the index.

    You can save yourself a lot of headaches if you do a nightly cvsup via
    cron and rebuild the index at that time.

    -- 
    Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Kris Kennaway: "Re: portupgrade and index"

    Relevant Pages

    • Re: Portupgrade fails to upgrade after using portsnap
      ... For a long time I've been using cvsup and portupgrade to update ... the ports tree once a week; this has worked well for years now. ... Recently though I changed to using portsnap to update the ports ... -arR' fails to upgrade anything. ...
      (freebsd-questions)
    • Re: Portupgrade fails to upgrade after using portsnap
      ... For a long time I've been using cvsup and portupgrade to update ... the ports tree once a week; this has worked well for years now. ... Recently though I changed to using portsnap to update the ports ... -arR' fails to upgrade anything. ...
      (freebsd-questions)
    • Re: Portupgrade fails to upgrade after using portsnap
      ... For a long time I've been using cvsup and portupgrade to update ... the ports tree once a week; this has worked well for years now. ... Recently though I changed to using portsnap to update the ports ... -arR' fails to upgrade anything. ...
      (freebsd-questions)
    • Re: Dependencies
      ... >> eliminating dependencies and requirements that really aren't. ... > I do really dislike the way that portupgrade seems to be creeping ... Look at the ports index ... applications, but some leave you scratching your head -- at least they ...
      (comp.unix.bsd.freebsd.misc)
    • portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)
      ... >> command to upgrade installed pkgs that needed to be updated. ... To make it usable as a shell script, ... > The portupgrade option -rRa will do some of it. ... the list of ports passed to portupgrade. ...
      (freebsd-questions)