Skip site navigation (1)Skip section navigation (2)
Date:      06 Mar 2003 14:33:02 +0100
From:      Franz Klammer <klammer@webonaut.com>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        Stefan Bethke <stb@lassitu.de>, freebsd-ports@freebsd.org, FreeBSD-gnome <gnome@freebsd.org>
Subject:   Re: Failure building x11-fonts/fontconfig [LONG] - now shortened
Message-ID:  <1046957582.998.19.camel@ds9.webonaut.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1046957582.998.19.camel>