From owner-freebsd-gnome Thu Mar 6 5:33: 9 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4544237B401; Thu, 6 Mar 2003 05:33:07 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id B407543FAF; Thu, 6 Mar 2003 05:33:05 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 9DEA1766B7; Thu, 6 Mar 2003 14:33:03 +0100 (CET) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1:10024]) (amavisd-new) with ESMTP id 00319-09; Thu, 6 Mar 2003 14:33:01 +0100 (CET) Received: from [212.41.243.28] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id AF5A076429; Thu, 6 Mar 2003 14:33:01 +0100 (CET) Subject: Re: Failure building x11-fonts/fontconfig [LONG] - now shortened From: Franz Klammer To: Stijn Hoop Cc: Stefan Bethke , freebsd-ports@freebsd.org, FreeBSD-gnome In-Reply-To: <20030306131312.GC211@pcwin002.win.tue.nl> References: <41686EB8-4FCA-11D7-A623-000393496BE8@lassitu.de> <1046953533.651.89.camel@ds9.webonaut.com> <20030306130125.GB211@pcwin002.win.tue.nl> <1046956191.626.5.camel@ds9.webonaut.com> <20030306131312.GC211@pcwin002.win.tue.nl> Content-Type: text/plain Organization: Message-Id: <1046957582.998.19.camel@ds9.webonaut.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 06 Mar 2003 14:33:02 +0100 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am Do, 2003-03-06 um 14.13 schrieb Stijn Hoop: > On Thu, Mar 06, 2003 at 02:09:51PM +0100, Franz Klammer wrote: > > Am Do, 2003-03-06 um 14.01 schrieb Stijn Hoop: > > > On Thu, Mar 06, 2003 at 01:25:34PM +0100, Franz Klammer wrote: > > > > also i've seen that you have many ports up to in triplicate > > > > and more (docbook even 6x). which can cause many problems. > > > > > > > > you have portupgrade installed. did this happens while updateing > > > > with portupgrade? i've avoid this with setting > > > > > > > > sanity_checks = false > > > > > > > > in usr/local/etc/pkgtools.conf > > > > > > > > it's maybe not the perfect solution, but since i've > > > > (as good as) never problems with double installations. > > > > > > The right solution would be to remove the duplicate directories from > > > /var/db/pkg. Running pkgdb -F should let you do this. > > > It asks something along the lines of 'duplicate origin, unregister > > > any of them? [y/n]'. You should unregister all but the one with the > > > highest numbers. > > > > are you sure? if i have this problem i prefer to do a > > pkg_deinstall -f portname\* and the reinstall the > > latest one. > > I'm pretty sure. Your solution will also work. If you run pkgdb -F > after you've deinstalled everything and reinstalled the port, you > can even let pkgdb restore the +REQUIRED_BY files. It will say > > stale dependency foo-1.0 -> bar-0.9. Correct? [y/n] y > bar-1.0? [y/n] y > Corrected. > > (note that this is paraphrased, not copy & paste output but you get the idea). > ok! i understand. now - after i read you answer - i can remember that i've seen something about restoring +REQUIRED_BY :-) but on thing won't go into my mind: what happens with the outdated files. e.g.: port-1.0 installs file.ext port-1.1 didn't install file.ext if i only delete the old directories from /var/db/pkg file.ext will not be removed an may cause further problems. what if this not only a file instead a directory: port-1.0 install includes into /usr/local/include/ port-1.1 changes to /usr/local/include/port1 configure will in most cases first find the headers in include. if i only delete the directory port-1.0 the files will never be removed. i saw such problems serval times since i'm list-member of gnome@. franz. > --Stijn -- WEBONAUT.com http://webonaut.com mailto:klammer@webonaut.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message