From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 11 00:07:10 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7DBE316A41F for ; Mon, 11 Jun 2007 00:07:10 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 69A1F13C4B7 for ; Mon, 11 Jun 2007 00:07:10 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id DC4821A4D90; Sun, 10 Jun 2007 17:06:57 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id C4D955119F; Sun, 10 Jun 2007 20:07:09 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id BA451BC90; Sun, 10 Jun 2007 20:07:09 -0400 (EDT) Date: Sun, 10 Jun 2007 20:07:09 -0400 From: Kris Kennaway To: Mike Meyer Message-ID: <20070611000709.GA30241@rot13.obsecurity.org> References: <20070610120017.645B116A4DA@hub.freebsd.org> <466C8611.5020009@hesiod.org> <18028.36946.981778.560346@bhuda.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18028.36946.981778.560346@bhuda.mired.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org, Jeff Anton Subject: Re: pkgdb -F calling portupgrade -a X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 00:07:10 -0000 On Sun, Jun 10, 2007 at 07:59:14PM -0400, Mike Meyer wrote: > In <466C8611.5020009@hesiod.org>, Jeff Anton 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