From owner-freebsd-questions@FreeBSD.ORG Fri Dec 24 03:55: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 2563516A4CE for ; Fri, 24 Dec 2004 03:55:30 +0000 (GMT) Received: from out008.verizon.net (out008pub.verizon.net [206.46.170.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F92843D1D for ; Fri, 24 Dec 2004 03:55:29 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out008.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041224035528.ULQ17379.out008.verizon.net@ringworm.mechee.com>; Thu, 23 Dec 2004 21:55:28 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 14B072CE740; Thu, 23 Dec 2004 19:52:35 -0800 (PST) From: "Michael C. Shultz" To: "Noah" Date: Thu, 23 Dec 2004 19:52:31 -0800 User-Agent: KMail/1.7.2 References: <20041224030502.M78256@enabled.com> In-Reply-To: <20041224030502.M78256@enabled.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412231952.34173.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out008.verizon.net from [4.26.84.7] at Thu, 23 Dec 2004 21:55:28 -0600 cc: freebsd-questions@freebsd.org Subject: Re: dri install failing with portmanager 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: Fri, 24 Dec 2004 03:55:30 -0000 On Thursday 23 December 2004 07:12 pm, you wrote: > sending the portInstalled.dri.log > > > also here is the error'ed output: > > --- snip --- > > > pmupgrade 0.2.0_3 command: #3 ( cd /tmp; pkg_create -b > xfree86-dri-4.4.0 ) ------------------------------------------------ > pkg_create: can't find package 'xfree86-dri-4.4.0' installed! > ------------------------------------------------ > cd /usr/ports/graphics/xfree86-dri; make deinstall > ===> Deinstalling for graphics/xfree86-dri > ===> xfree86-dri not installed, skipping > ------------------------------------------------ > cd /usr/ports/graphics/xfree86-dri; make reinstall > ===> Installing for xfree86-dri-4.4.0 > > ===> xfree86-dri-4.4.0 conflicts with installed package(s): > dri-6.2,2 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/graphics/xfree86-dri. > *** Error code 1 > > Stop in /usr/ports/graphics/xfree86-dri. > pmupgrade 0.2.0_3 error: make reinstall returned an error, cannot > continue > > > --- snip --- > > > cheers, > > Noah OK, acording to the log you attached: [snippette] docbook-sk-4.1.2_3 docbook-xml-4.2_1 docbook-xsl-1.66.1_1 doom-1.8_1 dri-6.2,2 emacs-21.3_3 esound-0.2.35_1 evolution-2.0.3 evolution-data-server-1.0.3 expat-1.95.8 dri-6.2,2 is still installed, you need to do pkg_delete -f dri-6.2,2 and then make sure /var/db/pkg/dri-6.2,2 is gone. With the information you provided I can duplicate the looping problem so now I can make a modification to portmanager to handle it better. Hopefully when its done portmanager will exit with an error message that tells which package needs to be manually deleted and why it needs to be deleted. So thanks for your help here! That will be portmanager-0.2.1_1 or portmanager-0.2.2 and will probably be about a week before it is in the port tree. Mean while I am hoping you understand what needs to be done when this looping problem occurs, let me know how it goes with dri-6.2,2, if for sime reason pkg_delete -f dri-6.2,2 won't get rid of it you can always rm -r /var/db/pkg/dri-6.2,2 but that leads to another problem, the files from dri-6.2,2 would still be installed on your system but not attached to any port, so rm -r /var/db/pkg/dri-6.2,2 is a very sloppy solution, try to avoid it if you can. -Mike ps. One final thing Noah, I prefer to keep this on list so others with similar problems can find it with google so please cc freebsd-questions@freebsd.org in your replies.