From owner-freebsd-questions Tue Oct 8 4: 0:48 2002 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 0B69937B401 for ; Tue, 8 Oct 2002 04:00:47 -0700 (PDT) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57C5343E42 for ; Tue, 8 Oct 2002 04:00:45 -0700 (PDT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id DAA22141 for ; Tue, 8 Oct 2002 03:58:43 -0700 (GMT) Message-Id: <3.0.6.32.20021008175957.007c7100@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 08 Oct 2002 17:59:57 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: Re: Proper way to upgrade packaes from ports In-Reply-To: <20021007223945.03BFB5D04@ptavv.es.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 03:39 PM 10/7/02 -0700, you wrote: >> From: "Andrew Knapp" >> Date: Mon, 7 Oct 2002 18:18:22 -0400 >> >> AFAIK, doesn't portupgrade come with another utility called portversion? >> I use portversion -r (for recursive) to figure out what packages I do >> need to upgrade. It gives a nice read-out of what to upgrade. > >Yes, portversion is a part of portupgrade. It should do almost >anything pkg_version does except -c. Excuse me? I've been using portversion -c since I installed the damned thing and it does for portupdate exactly what pkg_version -c did for pre-portupdate updating. I would regard it as a boon if the script didn't sometimes do things (at least when run remotely) that cause my machine to reboot spontaneously (fatal trap 12). > I use "portversion -vL=" to check >on what needs updating. But I then usually do "portupgrade -Rra" which >will upgrade all ports that are out of date and do so in the correct >bottom-up order. > wish I had that much disk space. I can only afford to install a few ports. >The biggest down-side is the requirement that I run portsdb -Uu to >update the databases after a cvsup of the ports tree. This is a pretty >CPU intensive operation and can take a while on an older system. > Yeah, it takes around 16 hours on my system, and usually causes a spontaneous reboot if I do it remotely (fatal trap 12). I haven't figured out a way to find out what it's doing to cause the reboots, since there seems to be no particular reason for fatal trap 12 (what I mean is the error message "fatal trap 12" does not indicate one particular type of failure; I usually get the further message "Page fault in kernel mode", which also doesn't seem to identify any particular type of problem). >R. Kevin Oberman, Network Engineer >Energy Sciences Network (ESnet) >Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) >E-mail: oberman@es.net Phone: +1 510 486-8634 > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message