Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Patching or Updating FreeBSD 2

Status
Not open for further replies.
Feb 20, 2002
265
GB
I have used CVSUP to update my ports, but say i want to upgrade my Apache to the latest version, do I just re-enter the port dir and "make && make install" or is there a more correct way of updating??? I dont want to lose my config on Apache.

Simon
 
Hi,

I suggest you install portupgrade package. Make your life easier. Then

1) cvsup -L 2 port-supfile
2) portsdb -Uu
3) portversion -l "<"
4) portupgrade -arR (upgrade all packages)
5) portupgrade -rR port_name
6) portsclean -DD (clean port distfiles)

......
dbase77
 
Hi,

Before you do that, make sure you do "man portupgrade" to understand the option that I used.

1) cvsup -L 2 port-supfile
2) portsdb -Uu
3) portversion -l "<"
4) portupgrade -arR (upgrade all packages)
5) portupgrade -rR port_name (or to upgrade single package)
6) portsclean -DD (clean port distfiles)

.....
dbase77
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top