Date: Fri, 26 Nov 2004 15:22:20 +0100 From: "Olaf Greve" <o.greve@axis.nl> To: "'Thomas S. Crum - AAA Web Solution, Inc.'" <tscrum@aaawebsolution.com>, <freebsd-questions@freebsd.org> Subject: RE: Updating packages list (using cvsup?) Message-ID: <005d01c4d3c3$57404610$1e01a8c0@sjees> In-Reply-To: <003d01c4d3c1$7d1eb5d0$0200a8c0@wolf>
next in thread | previous in thread | raw e-mail | index | archive | help
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 them, > should you need to. Although I still know many people who prefer using > packages. 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 'download or > 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 /usr/ports/whatever_port/whatever_program dir > 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 > broadband) > # 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 would > 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... Cheers! Olafo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005d01c4d3c3$57404610$1e01a8c0>