From owner-freebsd-questions@FreeBSD.ORG Wed Mar 24 18:14:00 2004 Return-Path: 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 96D4516A4CE; Wed, 24 Mar 2004 18:14:00 -0800 (PST) Received: from mailhub.webcraft99.com (seagames.bernama.com [202.188.124.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1C8E43D1D; Wed, 24 Mar 2004 18:13:59 -0800 (PST) (envelope-from afu-subscribed-list@aeefyu.net) Received: from localhost (beta.webcraft99.com [127.0.0.1]) by mailhub.webcraft99.com (Postfix) with ESMTP id 656B819308; Thu, 25 Mar 2004 10:13:58 +0800 (MYT) Received: from mailhub.webcraft99.com ([127.0.0.1]) by localhost (beta.webcraft99.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33156-05; Thu, 25 Mar 2004 10:13:49 +0800 (MYT) Received: from aeefyu.net (unknown [202.157.203.86]) by mailhub.webcraft99.com (Postfix) with ESMTP id 6694419307; Thu, 25 Mar 2004 10:13:47 +0800 (MYT) Message-ID: <4062405A.2010001@aeefyu.net> Date: Thu, 25 Mar 2004 10:13:46 +0800 From: Aeefyu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040320 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kent Stewart References: <4060F9C0.5080102@aeefyu.net> <200403240732.22548.kstewart@owt.com> In-Reply-To: <200403240732.22548.kstewart@owt.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailhub.webcraft99.com cc: freebsd-questions@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: Probelms and Inconsistencies with Portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 02:14:00 -0000 Kent Stewart wrote: > On Tuesday 23 March 2004 07:00 pm, Aeefyu wrote: >> >>"portupgrade -Rv /" ie. upgrading a package seems to be >>working fine, however. It seems to only affect "portinstall" >> >>I have reinstall manually portupgrade and ruby* (using make install >>clean), rebuild INDEX with "portsdb -Uu" and "pkgdb -fu" or "pkgdb >>-F". Even went to the extent of blowing my /usr/ports and cvsup all >>over again. However, : >>1. my /usr/ports/INDEX has the following as its first few lines: >>*** Error code 1||||||| >>Stop in /usr/ports/databases.||||||| >>Stop in /usr/ports.|||||| >> >>2. portsdb -Uu reports hundred of make_index error. >> >>So, as it is - i cant install new stuff via portupgrade "portinstall >>-Rv ". I seem to be able to maintain it though i.e. >>"portupgrade -Rv ". Anyone can shed light on this matter? > > > There was a time where a "make index" was doing this. Have you tried > recvsuping ports-all. You need a good index for portupgrade to work. My > cron job that updated my mirror at 1020 UTC produced an INDEX that > built without any errors. Yes. Have blown /usr/ports twice and re-cvsup ports-all. /usr/ports/INDEX is correct upon update. "portsdb -Uu" will somehow introduce errors into it. > >>I think it might be related to my very very outdated >>/var/db/pkg/*/CONTENT .. but its just a guess . I cant blow it and >>start all over again, right? Too risky, this is a production machine. > > > That might affect something else in the pkgtools but not the index. I > have always used > cd /usr/ports > make index > portsdb -u > > The latest portsdb -U uses make index to build INDEX or INDEX-5. Yes, that was what I was led to believe the function of the command "portsdb -Uu" :) However, running that command nowadays seems to corrupt the INDEX :( I have found a new quirk with my portupgrade: Running "portinstall -Rv " will actually update all PACKAGE00 dependencies (if needed), however, it wont actually install PACKAGE00. No errors. No build. Strange. [1012][root@beta: ports]$ portinstall -Rv editors/vim-lite ---> Session started at: Thu, 25 Mar 2004 10:12:49 ** No need to upgrade 'libiconv-1.9.1_3' (>= libiconv-1.9.1_3). (specify -f to force) ** No need to upgrade 'libtool-1.3.5_2' (>= libtool-1.3.5_2). (specify -f to force) ---> Reporting the results (+:done / -:ignored / *:skipped / !:failed) - converters/libiconv (libiconv-1.9.1_3) - devel/libtool13 (libtool-1.3.5_2) ---> Session ended at: Thu, 25 Mar 2004 10:12:52 (consumed 00:00:03) -- Feisal Webcraft Solutions - http://www.webcraftsolutions.com -------------------------------------- Feel disillusioned? I've got some great new illusions ...