packages
Chris
racerx at makeworld.com
Sat Oct 11 17:07:31 PDT 2003
On Saturday 11 October 2003 01:47 pm, Peter Schuller wrote:
> > i would like to know when will FreeBSD crew update packages.. for
> > example: flashplugin for mozilla is still version 4, linux allready has
> > 6; mozilla 1.4b is beta?? there is gnome 2.4 out.. getta move on guys...
>
> Sounds like you want to keep and up-to-date ports collection:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
>
> The easiest way is probably the cvsup method, if you wish to always have
> access to the latest ports with a minimum of fuss. Combine that with
> "portupgrade -arP" and you have a pretty efficient mechanism of upgrading
> all your packages.
Some things that I do:
First and foremost, ensure you have this -
1. Edit /etc/make.conf, add WITHOUT_GUI=yes
2. cd /usr/ports/net/cvsup-without-gui ; make install && make clean
3. cd /usr/ports/sysutils/portupgrade ; make install && make clean
4. Ensure all sup files reflect cvsup2.FreeBSD.org as the cvs server (or your
fav)
This part assumes you have your sup files somewhere in /root
1. /usr/local/bin/cvsup -g -L2 /root/ports-supfile && /usr/local/sbin/portsdb
-uU
2. /usr/local/sbin/pkgdb -fuF && /usr/local/sbin/portversion |grep "<"
3. /usr/local/sbin/portupgrade -arR
The above line is important - this will upgrade ALL of your installed ports
and ALL dependencies.
I have put these routine into scripts and into /etc/periodic/daily - all
execpt the portupgrade -arR
--
Best regards,
Chris
______________________________________________________________________
PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363
PGP Mail encouraged / preferred - keys available on common key servers
______________________________________________________________________
01010010011000010110001101100101011100100101100000000000
More information about the freebsd-questions
mailing list