From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 02:55:31 2003 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 2AF9137B401 for ; Tue, 15 Jul 2003 02:55:31 -0700 (PDT) Received: from server.sirtis.org.uk (dsl-217-155-170-59.zen.co.uk [217.155.170.59]) by mx1.FreeBSD.org (Postfix) with SMTP id AD5F743FAF for ; Tue, 15 Jul 2003 02:55:28 -0700 (PDT) (envelope-from jonathan@sirtis.org.uk) Received: (qmail 16564 invoked by uid 1006); 15 Jul 2003 09:55:26 -0000 Received: from jonathan@sirtis.org.uk by server.sirtis.org.uk by uid 1011 with qmail-scanner-1.15 spamassassin: 2.43. Clear:SA:0(-2.1/5.0):. Processed in 3.044007 secs); 15 Jul 2003 09:55:26 -0000 X-Spam-Status: No, hits=-2.1 required=5.0 Received: from unknown (HELO sirtis.org.uk) (webmail%sirtis.org.uk@217.155.170.58) by 0 with SMTP; 15 Jul 2003 09:55:22 -0000 Message-ID: <3F13CF91.6080404@sirtis.org.uk> Date: Tue, 15 Jul 2003 10:55:29 +0100 From: Jonathan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: rs1_9c98b83100d, rs2_0492abec4e2, rs3_cd142b81ab MIME-Version: 1.0 To: Tim Kellers References: <20030713083946.H7537-100000@serv1.wallnet.com> <200307141430.13839.timothyk@wallnet.com> <3F12FC20.6040207@sirtis.org.uk> <200307141929.59141.timothyk@wallnet.com> In-Reply-To: <200307141929.59141.timothyk@wallnet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: make install, portupgrade, etc broken 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: Tue, 15 Jul 2003 09:55:31 -0000 Tim Kellers wrote: I think we've got 2 threads mixed here, but to review. > > I cvsupped July 11 and did a make buildworld, make buildkernel > KERNCON=CHANGLING, reboot make installworld, mergemaster on 3 different > boxes. All is/was well on 2 of the 3 boxes, but on the third any/every make > install or portupgrade [filename] errors out with Error Code 1 right after > make install checks for a previous installation. The option > FORCE_PKG_REGISTER="yes'" allows the installation to completesuccessfully, > the portupgrade -m FORCE_PKG_REGISTER="yes'" switch also succeeds. I NFS > mounted /usr/ports from the broken fileserver on a laptop (4.8-STABLE from > same cvs updated sources) and I can make install or portupgrade with no > errors at all. > > pkg_info -q -O some/port on the laptop returns the package name of the > installed port > > pkg_info -q -O some/port on the fileserver returns: > > pkg_info: package cvsupd-bin-16.1 has no origin recorded > pkg_info: package ghostscript-6.01_1 has no origin recorded > pkg_info: /var/db/pkg/jdk-tutorial-1.1.8/+CONTENTS: No such file or directory I found this on Google which might help: http://lists.freebsd.org/pipermail/freebsd-questions/2003-March/000349.html which says: ######################################################################## > Upon attempts to use 'pkg_add' utility, I get a string of error messages > such as the following: > > pkg_add: package wterm-6.2.7a1 has no origin recorded > pkg_add: package wmtime-1.0b2 has no origin recorded >[...] > 2) Theories about what causes this condition. > (Least important) That's easy - the packages are old enough that they didn't record their origin. > 1) The methodology by which I can correct this error condition. > (Most important) Installing newer versions of the packages is the obvious way. You can also go into /var/db/pkg/wterm-6.2.7a1/+CONTENTS and add a line that says "@comment ORIGIN:x11/wterm" after the @name line. There may be other magic required as well, but this worked for the one I did it to. ######################################################################## Regards, Jonathan