nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

How Do I upgrade FreeBSD version 5.0 port collection?

This is a discussion on How Do I upgrade FreeBSD version 5.0 port collection? within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; many of my ports in /usr/ports are not working because of this update so I would like to know how ...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-17-2005, 12:34 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 0
tom is an unknown quantity at this point
Default How Do I upgrade FreeBSD version 5.0 port collection?

many of my ports in /usr/ports are not working because of this update
so I would like to know how to get my ports collection updated so that I
can get packages for me?

I gone through FreeBSD docs but I'm not able to understand the whole
process; can anyone point to me with commands or resources
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-17-2005, 08:23 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 481
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Following are commands

Install cvsup to upgrade ports (assuming that you are on server i.e. no X window
Code:
# cd /usr/ports/net/cvsup-without-gui
# make 
# make install 
# make clean
Update ports tree src so that you can install latest versions of applications:
Code:
# cp /usr/src/share/examples/cvsup/ports-supfile /tmp/ports-supfile
# vi  /tmp/ports-supfile
Find CHANGE_THIS.FreeBSD.org and replace with cvsup3.FreeBSD.org
Code:
# /usr/local/bin/cvsup -g -L 2 /tmp/ports-supfile
# cd /usr/ports
# make fetchindex
Now install portupgrade:
Code:
# cd /usr/ports/sysutils/portupgrade
# make 
# make install 
# make clean
# pkgdb -F
And you are done. Please read freebsd handbook and man page for more.
Reply With Quote
  #3 (permalink)  
Old 01-11-2006, 10:55 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 564
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Heh vivek wrote new small howto called FreeBSD keep ports collection up to date in two easy steps http://www.cyberciti.biz/nixcraft/vi...tion-up-to.php
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How To Upgrade PHP sweta Ubuntu / Debian 0 05-02-2008 11:18 PM
Backup/Upgrade of Harddisk ricc Linux software 6 03-24-2008 07:04 PM
upgrade fedora7 to fedora8 with yum shabakeh CentOS / RHEL / Fedora 1 11-18-2007 08:17 AM
How to solve apt-get upgrade problem sweta Getting started tutorials 3 01-19-2006 06:21 PM
Freebsd how to find out kernel version? bob All about FreeBSD/OpenBSD/NetBSD 1 12-24-2005 12:40 PM


All times are GMT +5.5. The time now is 04:29 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36