Updating packages list (using cvsup?)

Thomas S. Crum - AAA Web Solution, Inc. tscrum at aaawebsolution.com
Fri Nov 26 06:09:09 PST 2004


Packages are pre-compiled so there is little ability to configure them,
should you need to. Although I still know many people who prefer using
packages. Do not use sysinstall to accomplish this.  Also, there is no need
to 'download or update' your 'packages'.  Simply follow the below command to
install the current package.

# pkg_add -r some_package

I would recommend ports and cvs to anyone.

Below is a config to install cvsup and run it to update your ports
collection.  Remember though, ports are not precompiled and you will
actually need to move into the /usr/ports/whatever_port/whatever_program dir
to install them.

# pkg_add -r cvsup-without-gui
# cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile
// change 'changethis' to cvsup2, cvsup3, etc.
# ee /root/ports-supfile
// REBOOT SERVER
# shutdown -r now
// Run CVsup to make ports current. (will take approx. 1 hour over
broadband)
# cvsup -g -L 2 /root/ports-supfile

Also there is a wealth of information in the FreeBSD handbook and I would
consider giving that a read.

Best,

Thomas S. Crum

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Olaf Greve
Sent: Friday, November 26, 2004 8:45 AM
To: freebsd-questions at freebsd.org
Subject: Updating packages list (using cvsup?)

Hi all,

I was wondering about a thingy.

Whenever I use sysinstall to add a package, the list seems to be
constantly the same (i.e. often outdated), whereas more recent versions
should be available of several of the packages. Of course I can manually
d/l the packages and if necessary compile them and install them, but I
have also heard of the possibility of using cvsup to automatically
update the packages tree.

Now, I have installed cvsup, and I quickly browsed over the man pages (I
have to admit that I have not yet been able to spend much time on this),
but I was wondering if this is really the best way to go. Sure, it does
automatically update collections, etc., but is this really the handiest
tool out there for this particular task?

If not, can anyone please name me an alternative (approach)?
If it is, OTOH, can anyone please give me some quick pointers for
setting this up correctly, and/or point me to a page where this process
is explained.

Thanks in advance, and cheers!
Olafo


_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"





More information about the freebsd-questions mailing list