Re: Standard way of updating 6.x ?
On 01/02/06, Eric Kjeldergaard [EMAIL PROTECTED] wrote: Wednesday 01 February 2006 10:56、RW さんは書きました: On Tuesday 31 January 2006 17:45, Garrett Cooper wrote: On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett I find that portmanager generally does a better job at keeping ports up to date without manual intervention. A notable example being its ability to upgrade Gnome without the help of a script. I also found portupgrade both more capable in many cases and more easy-to-use (just portmanager -u to do what one usually wants to do). Too bad it was pulled from ports. It added back into ports very shortly after it was pulled. Quite what its future is going to be do though I don't know as the author now seems to be concentrating on Linux as being portmanager's main platform. Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
Eric Kjeldergaard wrote: Wednesday 01 February 2006 10:56、RW さんは書きました: On Tuesday 31 January 2006 17:45, Garrett Cooper wrote: On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett I find that portmanager generally does a better job at keeping ports up to date without manual intervention. A notable example being its ability to upgrade Gnome without the help of a script. I also found portupgrade both more capable in many cases and more easy-to-use (just portmanager -u to do what one usually wants to do). Too bad it was pulled from ports. Hi everyone, I just checked the change log for portmanager. It appears the author has re-given permission to redistribute it. --Duane Whitty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: Is there a suggested method for updating a newly installed FreeBSD 6.0system? I have found several websites with similar but differing methods, often somehow specific to the author's configuration. What I usually do first is install from a CD and get a bare-bones system bootable. What I would like to do after that is update the kernel, system programs, user programs, and packages. I usually end up using cvsup, portsnap, and portupgrade with varying levels of success. What I would really like is a fool-proof method that works everytime, if there is such a thing. For example, rebuilding things at the lowest layer first, and working my way up. I was following a websites tutorial yesterday, and was confronted with a stale imagemagic dependency, where I chose to force an override. I didn't know if I was doing some wrong or not, and it seemed to work, but I would rather not have to force anything, if possible. Previously I had posted the steps I was using, and several people made annotations which I was able to integrate, but I was mostly curious if there wasn't some standard way. I am trying to use portsnap, since it seems much faster than cvsup, but the handbook doesn't seem to have portsnap integrated in to the rebuild steps yet (it is in the appendix I think). There seems to be updates steps for 4.x and 5.x, but not yet 6.x, or maybe I just have found them yet. There seems to be a lot of ways to update your system right now. Actually I think you're on the right track as to what method needs to be done to update your system. cvsup: Use for updating the ports tree and your system's source (base, docs, info, manpages, contrib, etc stuff available in sysinstall). portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
Xn Nooby wrote: Is there a suggested method for updating a newly installed FreeBSD 6.0system? I have found several websites with similar but differing methods, often somehow specific to the author's configuration. What I usually do first is install from a CD and get a bare-bones system bootable. What I would like to do after that is update the kernel, system programs, user programs, and packages. I usually end up using cvsup, portsnap, and portupgrade with varying levels of success. What I would really like is a fool-proof method that works everytime, if there is such a thing. For example, rebuilding things at the lowest layer first, and working my way up. I was following a websites tutorial yesterday, and was confronted with a stale imagemagic dependency, where I chose to force an override. I didn't know if I was doing some wrong or not, and it seemed to work, but I would rather not have to force anything, if possible. Previously I had posted the steps I was using, and several people made annotations which I was able to integrate, but I was mostly curious if there wasn't some standard way. I am trying to use portsnap, since it seems much faster than cvsup, but the handbook doesn't seem to have portsnap integrated in to the rebuild steps yet (it is in the appendix I think). There seems to be updates steps for 4.x and 5.x, but not yet 6.x, or maybe I just have found them yet. The standard way for upgrading the base system is described in the handbook, and uses cvsup along with the 'buildworld', 'buildkernel' 'installkernel' and 'installworld' targets to make(1). A reboot is involved, and any files under /etc/ that have changed must be updated with mergemaster(8), which, although quite automated, is in no way automagic IMHO. But, then, I'm probably not well-read/experienced enough with it. I would suggest that it is fool proof, inasmuch as nobody slips a finger during a CVS commit --- all bets are off when the source is bad. This method applies equally well to 4.X, 5.X and 6.X and higher systems. I have this scripted for use on most of my servers, although I've split the steps in two as I prefer to control when a host is rebooted. It can be done fully automatic in my experience, if you don't care when the machine gets rebooted. Incidentally, kernel and system programs, as you mention, would probably qualify as base system in FreeBSD lingo. User programs and packages are equivalent to ports or packages, or ports/packages, or 3rd party software in FBSD-speak. It's a minor point, but understanding this can go a long way toward understanding the documentation. There seems to be a lot of ways to update your system right now. There are several ways to update ports, that is, 3rd-party software that is not part of the base system, but there is really one way that is approved by the docs for the FreeBSD base [not counting old style usage of make --- the fact is, Unix is about tools, not policy, and that's the real reason why there are a lot of ways to foo(); ]... I have used both portupgrade and portmanager for upgrading ports/packages; both these programs do an awful lot of work for you, but occasionally situations may develop within the ports tree that cause either to have slight difficulties. Both of them take quite a little while on a system with lots of installed ports/packages, and I must admit that more than once I have fixed an issue with ports/packages in a less-than-perfect way (much as is common in MS land). Dru Lavigne wrote an excellent article on using portupgrade: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html HTH, Kevin Kinsey -- Everyone is a genius. It's just that some people are too stupid to realize it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
On Tuesday 31 January 2006 17:45, Garrett Cooper wrote: On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett I find that portmanager generally does a better job at keeping ports up to date without manual intervention. A notable example being its ability to upgrade Gnome without the help of a script. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
Wednesday 01 February 2006 10:56、RW さんは書きました: On Tuesday 31 January 2006 17:45, Garrett Cooper wrote: On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett I find that portmanager generally does a better job at keeping ports up to date without manual intervention. A notable example being its ability to upgrade Gnome without the help of a script. I also found portupgrade both more capable in many cases and more easy-to-use (just portmanager -u to do what one usually wants to do). Too bad it was pulled from ports. -- Emails appear more personalised with signatures. pgpnCSRjoMtI8.pgp Description: PGP signature