From owner-freebsd-questions@FreeBSD.ORG Sat Sep 24 16:52:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D711716A41F for ; Sat, 24 Sep 2005 16:52:53 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from smtpout1.ywave.com (ycomradius.yelmtel.com [216.227.100.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F10C43D48 for ; Sat, 24 Sep 2005 16:52:53 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: (qmail 23187 invoked by uid 502); 24 Sep 2005 16:52:52 -0000 Received: from dsl-12-178-99-132.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@12.178.99.132) by 0 with SMTP; 24 Sep 2005 16:52:52 -0000 X-CLIENT-IP: 12.178.99.132 X-CLIENT-HOST: dsl-12-178-99-132.ywave.com Message-ID: <43358463.6030803@ywave.com> Date: Sat, 24 Sep 2005 09:52:51 -0700 From: Micah User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050908) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fafa Hafiz Krantz , freebsd-questions@freebsd.org References: <20050924141218.CE8F416415C@ws1-4.us4.outblaze.com> In-Reply-To: <20050924141218.CE8F416415C@ws1-4.us4.outblaze.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: portupgrade + make_ports.sh: Fixing everything in one go X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 16:52:54 -0000 Fafa Hafiz Krantz wrote: > 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 Personally I broke my updating script into two stages. One updates the ports tree and generates a report on what's out of date (via port_version). The second stage runs a script that was generated by the first stage that actually does the portupgrade. This gives me a chance to review the updates and postpone any major ones (openoffice, KDE) until it's convenient. > 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! Which version of FreeBSD are you running? Seems that pre-compiled packages are only available for the latest release (5.4 right now). Later, Micah