DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th October 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default How do you update ports?

I know this sounds stupid and I have been using FreeBSD for almost a year but how do you update the collection @ /usr/ports ?

Note that I am not talking about upgrading INSTALLED ports, I am asking how to update the port tree available on /usr/ports

To my greater surprise, The handbook doesn't cover this topic either!?
Reply With Quote
  #2   (View Single Post)  
Old 30th October 2008
sverreh's Avatar
sverreh sverreh is offline
Real Name: Sverre Hval
Port Guard
 
Join Date: Apr 2008
Location: Norway
Posts: 36
Default

#portsnap fetch
#portsnap update
Reply With Quote
  #3   (View Single Post)  
Old 30th October 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by disappearedng
To my greater surprise, The handbook doesn't cover this topic either!?
Two different methods (csup and portsnap) are detailed here: http://www.freebsd.org/doc/en_US.ISO...rts-using.html
__________________
Kill your t.v.
Reply With Quote
  #4   (View Single Post)  
Old 31st October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Default

cvsup. (csup is a tool implementing cvsup, cvsup is the protocol it uses.)

We used to use a tool called cvsup, but it was written in Modula3, which made the Modula3 stuff a pre-req to using it. csup was written in C so that we'd have a tool that worked without that behemoth of a pre-req.
Reply With Quote
  #5   (View Single Post)  
Old 5th November 2008
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Default

I have simple script which is executed every night and this script run cvsup


Quote:
Originally Posted by disappearedng View Post
To my greater surprise, The handbook doesn't cover this topic either!?
http://www.freebsd.org/doc/en_US.ISO...ook/cvsup.html
Reply With Quote
  #6   (View Single Post)  
Old 7th November 2008
hydra's Avatar
hydra hydra is offline
Port Guard
 
Join Date: May 2008
Location: Slovakia (Europe)
Posts: 41
Default

I also use portsnap, it's great.
Reply With Quote
  #7   (View Single Post)  
Old 8th November 2008
snes-addict's Avatar
snes-addict snes-addict is offline
Real Name: Ken
BSD gamer
 
Join Date: Oct 2008
Location: Minnesota, USA
Posts: 34
Default

I believe that
Code:
# portsnap fetch update
will do both operations together, which is great considering that it tends to take awhile to fetch and install nearly 20,000 patches (that is, if you're like me and don't update for several months at a time ).
__________________
"Experience is what you get when you were expecting something else." - /usr/games/fortune
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot update with CVS guitarscn OpenBSD Installation and Upgrading 3 7th September 2009 11:12 PM
Broken ports in /usr/ports/x11 DNAeon FreeBSD Ports and Packages 3 5th July 2009 08:20 PM
CVSup src-all update and relevant ports vigol FreeBSD Installation and Upgrading 5 20th November 2008 06:34 AM
Automating ports update with portmaster jaymax FreeBSD Ports and Packages 3 12th June 2008 06:56 AM
Update from 6.1 to 6.3 did nothing? alanthing FreeBSD Installation and Upgrading 4 8th June 2008 02:28 PM


All times are GMT. The time now is 08:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick