portupgrade + make_ports.sh: Fixing everything in one go
martinkov at pobox.sk
Sat Sep 24 16:11:52 PDT 2005
Fafa Hafiz Krantz wrote:
> I thought I'd ask you all if my make_ports.sh is as convenient as I think
> it is, or if it's totally off track or what not:
> # cat make_ports.sh
> cvsup -g -L 2 /etc/cvsupfile
> cd /usr/ports
> make fetchindex
> portupgrade -raP
> portsdb -uU
> pkgdb -F
> portsclean -CDLP
> As for "portupgrade -raP" I want it to only use packages since my system
> is very slow, and recompiling all my ports is not an option. This command,
> however, doesn't seem to work at all.
> I get a lot of:
> ** The command returned a non-zero exit status: 1
> ** Failed to fetch ...
> And it ends up compiling my ports instead ...
> I truly hope anyone can help.
> Fafa Hafiz Krantz
> Research Designer @ http://www.bleed.com
try to use 'portupgrade -raPP'
More information about the freebsd-questions