From owner-freebsd-questions@FreeBSD.ORG Tue Jul 31 21:02:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C8EB16A41A for ; Tue, 31 Jul 2007 21:02:52 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 1C63513C46B for ; Tue, 31 Jul 2007 21:02:51 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so161621uge for ; Tue, 31 Jul 2007 14:02:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=TCKcLjLwKDSoTpdt+cMTlP+hS6xD0DxZJaQb7knpwlADwsPFDAI1OHRbFMG7+NxpO76eBjYXIkjqHWS/oJumcuw5QucRlAJMVNB+DW0ExNqMrvgFv9DHr96LHW+Eiyj/UR7u2cWe/KpWJXcy9BYPFQSTUFSa1r9An0ZyU/r1rlk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=hqjh4RFibuJrCzp8GL8wQRdGniPTVyNjfJ/TLhk1ZqSjnGRn64oq9aVzf4KczYkdjWXiTm6/oKxgA/7rAUEW6eQ9ubWCHJSlfl9+6FtHeELjGNbBnYRAm4rEaoup0AG+lToBBkGltmPY+G6bhHSBKFYElwGF8/+pCw/hpWBQhI0= Received: by 10.66.249.8 with SMTP id w8mr812974ugh.1185915770559; Tue, 31 Jul 2007 14:02:50 -0700 (PDT) Received: from monju-bosatsu.dreamtrack.dnsalias.com ( [86.18.88.217]) by mx.google.com with ESMTPS id c9sm4334458nfi.2007.07.31.14.02.48 (version=SSLv3 cipher=RC4-MD5); Tue, 31 Jul 2007 14:02:48 -0700 (PDT) Message-ID: <46AFA376.5020900@crackmonkey.us> Date: Tue, 31 Jul 2007 22:02:46 +0100 User-Agent: Thunderbird 2.0.0.0 (X11/20070421) MIME-Version: 1.0 To: Noah References: <46AF42C1.5000807@enabled.com> In-Reply-To: <46AF42C1.5000807@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Adam J Richardson Cc: User Questions Subject: Re: difficulties remove stale dependency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 21:02:52 -0000 Noah wrote: > > Hi, > > any clues on how to cure this situation. It appears I am having > difficulties removing stale dependencies. > > access1# portupgrade -a > Stale dependency: Xaw3d-1.5E_2 <-- emacs-21.3_9 -- manually run 'pkgdb > -F' to fix, or specify -O to force. > access1# portupgrade - > access1# pkgdb -F > ---> Checking the package registry database > access1# pkgdb -FO > ---> Checking the package registry database > access1# portupgrade -a > Stale dependency: Xaw3d-1.5E_2 <-- emacs-21.3_9 -- manually run 'pkgdb > -F' to fix, or specify -O to force. > > Cheers, > > Noah Hi Noah, I get this a lot on one of my systems. Just that one - no idea why. Anyway, I find including option -O allows most things to ignore stale links, including portupgrade. Oh - did you try installing portupgrade-devel and not portupgrade? That helped me out of a hole once and now I use it for everything. HtH, Adam J Richardson