Slashdot Mirror


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."

5 of 119 comments (clear)

  1. No by cperciva · · Score: 5, Insightful

    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.

  2. Re:Wow by pillohead · · Score: 5, Insightful

    Are you a developer? I can't think of a reason why you need to cvsup nightly. Also you can have one machine do the cvsup then export /usr/ports via nfs to the other machines.

    I wouldn't edit the /etc/defaults/make.conf, in fact I wouldn't edit anything in the /etc/defaults folder. Copy that file to /etc/make.conf it will override the default without altering it.

  3. Re:I don't mean to be a jerk, by kruntiform · · Score: 5, Interesting

    portupgrade is at least 2 years old... It kicks ass, but it's hardly news

    portupgrade is not news, but new user documentation is news. Well, if it's good documentation, then it's news. I read a few sections of it just now, and I think it's pretty good. It's written in a direct, readable style and has lots of examples. Since it answered some questions I had about portupgrade, it seems to me to be comprehensive. So, this is pretty cool. One of the best things about BSD is the quality of the documentation.

  4. sense of humor by doiuf · · Score: 5, Funny
    Dru's written some excellent articles, and she manages to put in some humor as well. Keep up the good work :)
    "If you're ever asked to run pkgdb -F, do it. However, don't interrupt this command, or you'll end up with an inconsistent database. If you're ever in that unfortunate situation, this command will fix the inconsistencies:

    % pkgdb -fu

    That's a pretty easy switch combo to remember, as similar thoughts will probably be running through your head at the time."

  5. Re:But.... by OpperNerd · · Score: 5, Informative

    I always use the -P option:

    portupgrade -aRrPv

    this does check if there's a package available. Saves a lot of time.

    --
    -- unix is for people without a social life - Patrick van Eijk