From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 11 01:01:59 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 7923716A41F for ; Mon, 11 Jun 2007 01:01:59 +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 6340E13C43E for ; Mon, 11 Jun 2007 01:01:59 +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 AA1261A4D84; Sun, 10 Jun 2007 18:01:46 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id B9A76511D0; Sun, 10 Jun 2007 21:01:58 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id 73E04BC90; Sun, 10 Jun 2007 21:01:58 -0400 (EDT) Date: Sun, 10 Jun 2007 21:01:58 -0400 From: Kris Kennaway To: Mike Meyer Message-ID: <20070611010158.GA36371@rot13.obsecurity.org> References: <20070610120017.645B116A4DA@hub.freebsd.org> <466C8611.5020009@hesiod.org> <18028.36946.981778.560346@bhuda.mired.org> <20070611000709.GA30241@rot13.obsecurity.org> <20070611000223.GA28536@rot13.obsecurity.org> <18028.37925.269776.104495@bhuda.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18028.37925.269776.104495@bhuda.mired.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org, Jeff Anton , Kris Kennaway 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 01:01:59 -0000 On Sun, Jun 10, 2007 at 08:15:33PM -0400, Mike Meyer wrote: > In <20070611000223.GA28536@rot13.obsecurity.org>, Kris Kennaway typed: > > > ---> Checking the package registry database > > > Stale dependency: Xaw3d-1.5E_1 -> xf86dgaproto-2.0.2 (x11/xf86dgaproto): > > > Install stale dependency? ([y]es/[n]o/[a]ll) [yes] n > > ^ > > > New dependency? (? to help): > > > Delete this? ([y]es/[n]o/[a]ll) [yes] > > ^^^^ > > Whee, you've deleted metadata that was required for correctness of > > future upgrades. > > Just out of curiosity, what should he have done? Yes, the data was > required for the correctness of future upgrades, but the data was > broken in ways that the automated tools couldn't deal with. Installing > the stale dependency would lead to incorrectly trying to install the > new x.org 7 ports. There's no right-looking new dependency to use, or > pkgdb would have suggested it. Leaving the dependency in place > wouldn't solve the problem that pkgdb was run to fix in the first > place. So what's the right alternative? I guess deleting it is probably the least bad alternative, followed by upgrading to xorg 7.2, followed by a pkgdb -L to repair the damage. Kris