From owner-freebsd-ports@FreeBSD.ORG Tue Mar 23 19:00:44 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B57E16A4CE; Tue, 23 Mar 2004 19:00:44 -0800 (PST) Received: from mailhub.webcraft99.com (prwire.bernama.com [202.188.124.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A980E43D3F; Tue, 23 Mar 2004 19:00:37 -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 A58D61930A; Wed, 24 Mar 2004 11:00:33 +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 71710-09; Wed, 24 Mar 2004 11:00:20 +0800 (MYT) Received: from aeefyu.net (unknown [202.157.203.86]) by mailhub.webcraft99.com (Postfix) with ESMTP id 19B3519308; Wed, 24 Mar 2004 11:00:18 +0800 (MYT) Message-ID: <4060F9C0.5080102@aeefyu.net> Date: Wed, 24 Mar 2004 11:00:16 +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: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailhub.webcraft99.com Subject: Probelms and Inconsistencies with Portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 03:00:44 -0000 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. Thank you Feisal Webcraft Solutions - http://www.webcraftsolutions.com -------------------------------------- Your lucky color has faded.