From owner-freebsd-questions@FreeBSD.ORG Sat Jan 28 16:17:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7559016A420 for ; Sat, 28 Jan 2006 16:17:03 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F5D43D48 for ; Sat, 28 Jan 2006 16:17:02 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip03.eastlink.ca ([24.222.10.15]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0ITT0084A98TU3E0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sat, 28 Jan 2006 12:17:17 -0400 (AST) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.101]) ([24.224.199.230]) by ip03.eastlink.ca with ESMTP; Sat, 28 Jan 2006 12:17:01 -0400 Date: Sat, 28 Jan 2006 12:17:01 -0400 From: Duane Whitty In-reply-to: <43DB54F9.6050207@gmx.net> To: Evgeny Solovyov Message-id: <43DB98FD.9040404@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: <43DB54F9.6050207@gmx.net> User-Agent: Thunderbird 1.5 (Windows/20051201) Cc: freebsd-questions@freebsd.org Subject: Re: question on the firefox port... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: duane@greenmeadow.ca List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 16:17:03 -0000 Evgeny Solovyov wrote: > $ make -DFORCE_PKG_REGISTER install clean > > or > > $ make FORCE_PKG_REGISTER="YES" install clean > > will set the variable "FORCE_PKG_REGISTER" to YES > > mojo fms wrote: >> I am having an odd problem on the firefox port. This is a fresh >> install of Freebsd 6 and basicly what its doing ... >> >> ===> Generating temporary packing list >> ===> Checking if www/firefox already installed >> ===> firefox-1.5_5,1 is already installed >> You may wish to ``make deinstall'' and install this port again >> by ``make reinstall'' to upgrade it properly. >> If you really wish to overwrite the old port of www/firefox >> without deleting it first, set the variable "FORCE_PKG_REGISTER" >> in your environment or the "make install" command line. >> *** Error code 1 >> >> Stop in /usr/ports/www/firefox. >> *** Error code 1 >> >> Stop in /usr/ports/www/firefox. >> >> I have tried, make deinstall ; make reinstall same error. I am not >> sure of what i should set FORCE_PKG_REGISTER to but i tried, YES, >> www/firefox and NO for the settings on it. Running it like this : >> FORCE_PKG_REGISTER="NO" make reinstall ... i did this on make >> reinstall and make install and nothing still.. >> >> >> make deinstall ... >> >> root@# make deinstall >> ===> Deinstalling for www/firefox >> ===> firefox not installed, skipping >> root@# >> >> any suggestions please. >> >> Thanks >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > > Hi, this is my first time responding so forgive me if my etiquette is not as it should be. I'm certainly no expert and I genuinely mean that. Having made that clear up front here is what I would try: (I'm assuming you are building from the sources and not packages) 1: I guess I'd make sure there were no remnants remaining from previous failed firefox installs in directories like /usr/bin, /usr/local/bin, /usr/X11/bin etc. I don't think make clean takes care of this. 2: I believe there is a package database in use here but I'm not sure. If there is a database perhaps it is in an inconsistent state and needs to be rebuilt, if that is still possible. If you use a ports management utility like portupgrade (as an example I'm familiar with) then it is possible for the database to sometimes be broken or so I have read. To determine and fix this I have read (and this is what I do) that it is good to run pkgdb -F. This finds and fixes database inconsistencies. I ran into trouble using the make install clean routine when I was building KDE. I switched to using a combination of portsnap, portupgrade, and the port-maintenance-tools **** Warning: Use due diligence. Double check these procedures for yourself **** Let's make our ports management a little more robust cd /usr/ports/sysutils/portupgrade make install clean from any directory portupgrade -r portsnap portsnap fetch portsnap extract {only if you've never ran portsnap before} portsnap upgrade portupgrade -Nr port-maint {get port-maintenance-tools port} portupgrade -Nr portman {this gets portman and portmanager} portsdb -u pkgdb -F portaudit -dfa {man portaudit to verify f or F } portupgrade -Nr firefox **** Warning: Use due diligence. Double check these procedures for yourself **** There maybe tools here you don't absolutely need but you never know when they will be useful. The next ports management system I want to try out is using CVS instead of portsnap. This then allows a utility like portdowngrade to look at CVS commits to decide how to uninstall "rollback" a bad installation, so I've read. I hope this helps Best regards, --Duane Whitty