portupgrade + make_ports.sh: Fixing everything in one go

Fafa Hafiz Krantz fteg at london.com
Sat Sep 24 07:12:19 PDT 2005


Hello!

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.
Thanks!

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



More information about the freebsd-questions mailing list