Portupgrade on FreeBSD
BSD Forums writes "In her previous article, OnLamp's Dru Lavigne took a look at the built-in utilities that can be used to manage the FreeBSD ports collection. In this article, she'd like to continue in that vein. She takes a look at portupgrade, a feature-rich port designed to help you get the most out of the ports collection."
but is this a slow news day or something? portupgrade is at least 2 years old... It kicks ass, but it's hardly news (or, imho, as good as portage)
Sitting Walrus Blog
The thing that tweaks me is that portupgrade should be part of the base system. Portupgrade and friends should be writen in something aside from ruby (becuse we dont' want ruby in base). It is probably the most usefull and powerfull package/port managment tool ever created since the freebsd ports is already the best package system in all of open source. FreeBSD ports is always immitated, yet never replicated in full glory. It nice that portupgrade traces down dependancies automatically (forward, or reverse), and can cleanout stale lib's and such.
It isn't a lie if you belive it.
I'm humbled. I used ports forever, even dabbled with portupgrade on FreeBSD and still was of the opinion that Gentoo portage was "better". If anything, I'd say they are neck and neck now. VERY good article. From someone that has to manage a whole bunch of FreeBSD machines, this article hit the spot. Now I'll just add portsdb -Uu and pkgdb -F to my nightly cvsup cron job. If you take the time to set up your cvsup stuff in /etc/defaults/make.conf, updating your sources and ports is as easy as:
/usr/src
cd
make update
To translate for Gentoo users:
emerge -upD world becomes:
portversion -L "="
and emerge -uD world becomes:
portupgrade -arR
Oh, and etc-update has always been:
mergemaster
Though mergemaster does kinda suck until you get used to it. Not that etc-update is an e-ticket ride either.
For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
The ports tree is good. Better than the base system; stuff in the ports tree is split into nice self-contained packages, while the base system is a single monolithic mess.
We need to hack parts of the base system off and put them into ports (like kerberos), not add more stuff into the base system.
Tarsnap: Online backups for the truly paranoid
Dru Lavigne writes so many really useful articles. Has she got a book on the way?
Saying your OS is the best because more people use it is like saying MacDonalds make the best food
Reasonable article.... But running an automatic portupgrage without paying attention to what's actually being upgraded is a really bad move.
Upgrading Apache for instance will trash your running config. Whereas MySQL is a bitch to upgrade as by default it will fail if there is an existing DB.
I find portupgrade -ai is a much better option.
And a backup of /etc/ and /usr/local/etc would be a good idea first....
Do you mind, your karma has just run over my dogma.