Re: How-to maintain upgrade??

2006-10-10 Thread Gerard Seibert
On Tuesday 10 October 2006 00:38, Gary Kline wrote:

 On Mon, Oct 09, 2006 at 06:35:37PM -0400, Gerard Seibert wrote:
  On Monday 09 October 2006 17:53, Gary Kline wrote:
 
 
  I kind of do the same thing on a weekly basis. I created a shell script
  that runs the following:
 
  cd /usr/ports/distfiles # Change to ports distfile 
  directory
  rm -rdf *   # Clean it out

   Why, exactly, you remove the distfiles?  (I'm thnking of times
   when I haven't moved the hard-to-retrieve files [JAVA, e.g]
   to my other FBSD servers.)  Is there something lurking there
   than might muck up builds??

I just like to remove files that are neither needed or more than likely 
outdated. No special reason other than that. I keep the files needed to 
build JAVA in a separate directory and copy them to the distfiles directory 
when required. It is pretty much up to the end user how they want to 
maintain their ports system I suppose.

  /usr/local/sbin/portsclean -CDLP# make sure the ports are clean

   I do this after an upgrade.  ---Wouldn't hurt here, tho.

  /usr/sbin/portsnap cron # Run portsnap from CRON
  /usr/sbin/portsnap update   # Install new updated ports tree
  /usr/local/bin/portmanager -u -l -y # Run portmanager to update the
  system

   I've come to prefer p'manager to portupgrade; each run takes
   endless hours--at least three days.  Do you know if there is
   a way to upgrade only the dependencies that need it??  I used
   -f and portmanager seemed to upgrade eerything.  Yes, it may
   have been my imagination!

Portmanager -f will rebuild the system. I would only do that if it was 
absolutely necessary. The normal: portmanager -u -l -y will only update out 
of date items, create a log file and gives portmanager permission to handle 
moved items.

  I only run this weekly. If something like Open Office needs to be
  updated alone with KDE for instance, my system would not complete the
  process in 24 hours. Updating the ports tree while running an updating
  utility like portmanager or portupgrade is generally considered a bad
  thing.

   Thanks for your script ideas,

   gary


-- 
Gerard Seibert
[EMAIL PROTECTED]

Whistler's mother is off her rocker.


pgpiItxjvVlcD.pgp
Description: PGP signature


Re: How-to maintain upgrade??

2006-10-10 Thread Robert Huff

Gerard Seibert writes:

  Why, exactly, you remove the distfiles?
  
  I just like to remove files that are neither needed or more than likely 
  outdated.

Are you aware of the DD option for portsclean?


Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How-to maintain upgrade??

2006-10-10 Thread Gerard
Robert Huff [EMAIL PROTECTED]

   Are you aware of the DD option for portsclean?

Yes, I have read the 'man' pages, or as they are routinely referred to:
'Much About Nothing' documentation.


-- 
Gerard


Bookkeeper is the only word in the English language with three
consecutive double letters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How-to maintain upgrade??

2006-10-09 Thread Brian

Gary Kline wrote:

Last night (08 Oct 06) pkgdb -Fv ran without errors.  This after
five weeks of rebuilding.  And now, I still haven't install
gnome-lite; still waiting to get the ports upgrade issue
resolved.

I do a ports cvsup nightly and would like to run, say, portupgrade
utils nightly as well.  Among  the upgraders-elite on this list,
which is the best way to cron this.  Just a few (5, 6) years ago
I only bothered with this weekly, sending myself weekend
reminders to upgrade.   Now I want to put something into cron.
Suggestions on using port* and whatever very welcome indeed!

thanks up front, people,

gary


  
Some ports when you upgrade them require answers to questions, so I 
wouldn't portupgrade -aP via cron.


Brian

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How-to maintain upgrade??

2006-10-09 Thread Gary Kline
On Mon, Oct 09, 2006 at 06:35:37PM -0400, Gerard Seibert wrote:
 On Monday 09 October 2006 17:53, Gary Kline wrote:
 
 
 I kind of do the same thing on a weekly basis. I created a shell script that 
 runs the following:
 
 cd /usr/ports/distfiles   # Change to ports distfile 
 directory
 rm -rdf * # Clean it out


Why, exactly, you remove the distfiles?  (I'm thnking of times 
when I haven't moved the hard-to-retrieve files [JAVA, e.g]
to my other FBSD servers.)  Is there something lurking there 
than might muck up builds??

 /usr/local/sbin/portsclean -CDLP  # make sure the ports are clean

I do this after an upgrade.  ---Wouldn't hurt here, tho.

 /usr/sbin/portsnap cron   # Run portsnap from CRON
 /usr/sbin/portsnap update # Install new updated ports tree
 /usr/local/bin/portmanager -u -l -y   # Run portmanager to update the system
 

I've come to prefer p'manager to portupgrade; each run takes
endless hours--at least three days.  Do you know if there is 
a way to upgrade only the dependencies that need it??  I used
-f and portmanager seemed to upgrade eerything.  Yes, it may 
have been my imagination!


 I only run this weekly. If something like Open Office needs to be updated 
 alone with KDE for instance, my system would not complete the process in 24 
 hours. Updating the ports tree while running an updating utility like 
 portmanager or portupgrade is generally considered a bad thing.


Thanks for your script ideas,

gary

 
 -- 
 Gerard Seibert
 [EMAIL PROTECTED]
 
 And that's the way it is...
 
   Walter Cronkite



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]