From owner-freebsd-ports@FreeBSD.ORG Wed Jan 28 00:15:25 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 071A41065723 for ; Wed, 28 Jan 2009 00:15:25 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD678FC22 for ; Wed, 28 Jan 2009 00:15:24 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so289000fga.35 for ; Tue, 27 Jan 2009 16:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8h/18sv0k5/pj0dbDNr7MihCdQX/1FWYT+6N3VgXCDI=; b=XcB+nvVl/83a9j9ooAOzhvcbJYbU9AdYkrsxnKh+pdQ8vQDPIWLBBe0RYwsYI0AC1f S/ozfIVk6Ej/rPQ9lIfmS7Wc2DAb25YnRiLS+r2DxngdsqJCyOHFsjdoYgGijWssKI9c Txu3F0PWG8LY5YT57kag2q/LQeHxyV4oljfn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=otEWESTznSPZ9CGQy4NBcSqFLXkVsHXRXxVxlXd98uZDGplwHqhZCkbuPR23Ep4dvk cWomG2rLSjchI6WEWL8txntlt8i5UioUw3+XNpAEDaQ7sWgNbD394FDY9RlX/ihX3/oy Avtwo+vGkiyhWvR5iEGELVLXkG8Osz4nTdbkY= MIME-Version: 1.0 Received: by 10.181.60.13 with SMTP id n13mr1741597bkk.39.1233101723642; Tue, 27 Jan 2009 16:15:23 -0800 (PST) In-Reply-To: <20090127230054.162fa906@gumby.homeunix.com> References: <20090127141126.35d9004f@gumby.homeunix.com> <55F4ACB2-9A22-45D0-A74B-8440AA9CE730@gmail.com> <20090127230054.162fa906@gumby.homeunix.com> Date: Tue, 27 Jan 2009 16:15:23 -0800 Message-ID: <7d6fde3d0901271615x18d7e562rb3b01e5212464599@mail.gmail.com> From: Garrett Cooper To: RW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: pkgdb -F and obsolete packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 00:15:25 -0000 On Tue, Jan 27, 2009 at 3:00 PM, RW wrote: > On Tue, 27 Jan 2009 09:56:06 -0800 > Garrett Cooper wrote: > >> On Jan 27, 2009, at 6:11 AM, RW wrote: >> >> > >> > After updating my ports tree, pkgdb prompted me to remove a couple >> > of obsolete packages and then failed to delete them (see below). >> > >> > I deleted them manually, but I would have thought pkgdb should >> > either removed the dependencies first, or force the delete and then >> > handle the stale dependencies afterwards. > >> pkg_delete -f xphelloworld-1.0.1_1 (or make deinstall in the >> ports directory) will do the trick. > > As I said, I've already deleted them. I just not sure whether it's a bug > that's worth a PR, or just ultra-conservative design. At best it's a > rough edge. Agreed. Did you contact sem@ about this yet? >> Just make sure to upgrade after >> that ;). This is most likely a usage bug with pkg_install / pkgdb; I >> think there might be a -f option that you can use, but honestly >> that's like playing with fire. > > It doesn't have anything to do with pkg_install, pkgdb is part of > the portupgrade port. I meant pkg_deinstall. Thanks, -Garrett