From owner-freebsd-questions@FreeBSD.ORG Wed Mar 24 15:49:30 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 A431616A4E3 for ; Wed, 24 Mar 2004 15:49:30 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 818CF43D39 for ; Wed, 24 Mar 2004 15:49:30 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (rwcrmhc12) with ESMTP id <2004032423492901400j2eiue>; Wed, 24 Mar 2004 23:49:30 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 0A1922B; Wed, 24 Mar 2004 18:49:29 -0500 (EST) Sender: lowell@be-well.ilk.org To: Aeefyu References: <4060F9C0.5080102@aeefyu.net> From: Lowell Gilbert Date: 24 Mar 2004 18:49:28 -0500 In-Reply-To: <4060F9C0.5080102@aeefyu.net> Message-ID: <441xnhkdpz.fsf@be-well.ilk.org> Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@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: Wed, 24 Mar 2004 23:49:30 -0000 Aeefyu writes: > Deal All, > > My problems surfaced when I updated Portupgrade with reference to item > 20040226 in /usr/ports/UPDATING (though I suspect this is just a > catalyst -- actual problem lies elsewhere) > > My production box is currently running on 4.9-RELEASE-p4 (this box is > originally a 3.3-RELEASE -and upgraded threreon over the years). A > testament to the longevity and upgrade-path of FreeBSD. Primarily > running HTTP, MySQL, and postfix > > After updating portupgrade to use ruby1.8, portupgrade refuses to > install anything! ie. "portinstall -fv editors/vim-lite" will output > the following (vim-lite is not installed currently]: > [1031][root@beta: ports]$ portinstall -fv editors/vim-lite > ---> Session started at: Wed, 24 Mar 2004 10:31:36 +0800 > ** No package has been installed or upgraded. > ---> Session ended at: Wed, 24 Mar 2004 10:31:37 +0800 (consumed 00:00:00) > > "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? > > 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. Right; don't do that. You're having trouble with building the INDEX file in the first place. Wait a while, re-cvsup, and re-run the "portsdb -Uu".