Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2009 23:00:54 +0000
From:      RW <rwmaillists@googlemail.com>
To:        ports@freebsd.org
Subject:   Re: pkgdb -F and obsolete  packages
Message-ID:  <20090127230054.162fa906@gumby.homeunix.com>
In-Reply-To: <55F4ACB2-9A22-45D0-A74B-8440AA9CE730@gmail.com>
References:  <20090127141126.35d9004f@gumby.homeunix.com> <55F4ACB2-9A22-45D0-A74B-8440AA9CE730@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Jan 2009 09:56:06 -0800
Garrett Cooper <yanefbsd@gmail.com> 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.

> 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.



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