Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2007 20:07:09 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
Cc:        freebsd-hackers@freebsd.org, Jeff Anton <antonfb@hesiod.org>
Subject:   Re: pkgdb -F calling portupgrade -a
Message-ID:  <20070611000709.GA30241@rot13.obsecurity.org>
In-Reply-To: <18028.36946.981778.560346@bhuda.mired.org>
References:  <20070610120017.645B116A4DA@hub.freebsd.org> <466C8611.5020009@hesiod.org> <18028.36946.981778.560346@bhuda.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 10, 2007 at 07:59:14PM -0400, Mike Meyer wrote:
> In <466C8611.5020009@hesiod.org>, Jeff Anton <antonfb@hesiod.org> typed:
> > I'm very surprised and upset that running pkgdb -F has started a whole
> > upgrade of my stable machine.  I'm sure hacker's isn't the right list
> > for this but it is so amazing that I don't know what the right list
> > would be and I think just calling attention to some very bizarre 
> > behavior is maybe the best thing.  This machine should only have X11
> > clients...  Anyhow output below...
> 
> Hi Jeff,
> 
> Long time no see. The only wierd thing I see is right here:
> 
> > Stale dependency: Xaw3d-1.5E_1 -> libXv-1.0.3,1 (x11/libXv):
> > libXft-2.1.7_1 (score:22%) ? ([y]es/[n]o/[a]ll) [no]
> > Install stale dependency? ([y]es/[n]o/[a]ll) [yes] n
> > --->  Installing 'libXv-1.0.3,1' from a port (x11/libXv)
> > --->  Building '/usr/ports/x11/libXv'
> 
> Where it starts installing the port even though you told it not
> to. That's a pkgdb issue, and the right person to talk to is the
> portupgrade maintainer, sem@FreeBSD.org.
> 
> For the rest of it - you've apperently got x.org 6.9 installed on the
> system and x.org 7.0 in the ports tree. So once it starts installing
> ports, it's pretty much going to install the entire xorg ports
> set. Since they install in different prefixes (7.0 moved to
> /usr/local), that will actually work.

Unfortunately it will not work and will actually lead to package
database corruption due to a portupgrade bug.  That's why the more
extensive upgrade process in UPDATING is necessary.

Kris



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