Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2001 16:16:33 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Joe <rootman22@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PKG_DELETE Saying "package not installed"...HELP
Message-ID:  <20011014161633.D309@blossom.cjclark.org>
In-Reply-To: <01101408021500.00540@c595663-a>; from rootman22@home.com on Sun, Oct 14, 2001 at 07:51:59AM -0600
References:  <01101408021500.00540@c595663-a>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 14, 2001 at 07:51:59AM -0600, Joe wrote:
> 
> Hi,
> 
> I'm running FreeBSD 4.4-STABLE and have recently
> upgraded my ports with CVSUP.
> 
> I recently moved from KDE 1.X to Blackbox and I'm 
> having trouble getting the bbpager to work.
> 
> It turns out that I installed the incorrect version of
> bbpager (0.1.8) when I should have installed version
> 0.3.0
> 
> When I tried a "make deinstall" or PKG_DELETE on
> bbpager, it always comes back and says "package
> not installed".  It is installed though, because when
> I do a "whereis bbpager", it finds it in /usr/local/bin
> 
> If I do a PKG_INFO, it's not listed.
> 
> I'm having this problem on a few other previously
> installed ports/packages.
> 
> I've read man pkg_delete, the handbook and even
> The Complete FreeBSD and can't figure out how to
> fix this.  I've also searched the archives and didn't
> find anything.
> 
> Can anyone help me fix this?

Look in /var/db/pkg. If there is an entry in there for it, just do,

  # pkg_delete /var/db/pkg/<packge_name>

To remove it.

If there is no entry in /var/db/pkg, there is no longer any record of
how the package on your system. There is nothing pkg_delete(8) can do
to help you. You can try to figure out what files are installed by the
package and remove them by hand. You can also just install the new
package/port. It should clobber most or all of the old files... unless
names/locations of files has changed between versions.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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