Updating packages list (using cvsup?)
o.greve at axis.nl
Fri Nov 26 06:22:26 PST 2004
Hi Thomas (and others),
First off: thanks a lot for your answer, this is indeed what I was
looking for... Then some specifics:
> Packages are pre-compiled so there is little ability to configure
> should you need to. Although I still know many people who prefer using
I find them handy at times, but indeed some of them are hopelessly
outdated (like Clamd)...:)
> Do not use sysinstall to accomplish this. Also, there is no need to
> update' your 'packages'. Simply follow the below command to install
the current package.
I know. I didn't express myself correctly: what I meant to say was to
update the tree of 'packages', but then, as you stated, what I actually
should have been referring to is the tree of 'ports'. :P
> 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
> to install them.
Yes, that's fine thanks!
So the below should do the trick.
> # 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
> # cvsup -g -L 2 /root/ports-supfile
Cool. Sounds easy enough. So I guess if I were to schedule the 'cvsup -g
-L 2 /root/ports-supfile' command using cron, a weekly task should do.
> Also there is a wealth of information in the FreeBSD handbook and I
> consider giving that a read.
Thanks, indeed I have printed that (for the 5.1 version, but that should
be o.k.) and I shall check that out as well...
More information about the freebsd-questions