atom feed5 messages in org.freebsd.freebsd-portsRe: update all installed ports
FromSent OnAttachments
Tim SmithApr 12, 2001 10:14 am 
Bruce A. MahApr 12, 2001 11:32 am 
Akinori MUSHAApr 12, 2001 12:24 pm 
Maxim SobolevApr 13, 2001 1:32 am 
Bruce A. MahApr 13, 2001 8:04 am 
Subject:Re: update all installed ports
From:Akinori MUSHA (kn@iDaemons.org)
Date:Apr 12, 2001 12:24:12 pm
List:org.freebsd.freebsd-ports

At Thu, 12 Apr 2001 13:14:43 -0400, Tim Smith wrote:

Hi. I've read the handbook and the porter's handbook, and have looked at /usr/ports/Mk/bsd.port.*, but still haven't found an answer to my question.

Is it possible, with a simple command or script, to update all of the ports I have installed at once? I mean, I want to make sure that all of the ports that I use are the latest version, but I don't want to install ports that I don't use.

If anyone has a good way of doing this automatically, please let me know. (I'm using -STABLE, if that matters.)

I wouldn't recomend doing all at once, but "portupgrade -u '*'" will do the job as long as all the installed ports have their origin info recorded. Relatively newly installed ones should have it. Try running "pkg_info -o /var/db/pkg/*" to see which ports lack that info. Currently there's no handy way to complement it, so upgrade it using portupgrade's -o option. (See portupgrade's README for details)

e.g.: portupgrade -fu -o shells/zsh-devel zsh portupgrade -ucCp '*' portupgrade -cC gnome\*

I've been planning to write a tool to complete origins and some people kindly submitted me suggestions, but unfortunately I don't have enough time to write a decent one...

Portupgrade is in the ports tree, address sysutils/portupgrade.

-- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message