From owner-freebsd-questions Sun Oct 14 16:17: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id AF06537B401 for ; Sun, 14 Oct 2001 16:17:04 -0700 (PDT) Received: from dialup-209.247.143.60.dial1.sanjose1.level3.net ([209.247.143.60] helo=blossom.cjclark.org) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 15suV8-0007Dl-00; Sun, 14 Oct 2001 16:16:59 -0700 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id f9ENGX901056; Sun, 14 Oct 2001 16:16:33 -0700 (PDT) (envelope-from cjc) Date: Sun, 14 Oct 2001 16:16:33 -0700 From: "Crist J. Clark" To: Joe Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PKG_DELETE Saying "package not installed"...HELP Message-ID: <20011014161633.D309@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <01101408021500.00540@c595663-a> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01101408021500.00540@c595663-a>; from rootman22@home.com on Sun, Oct 14, 2001 at 07:51:59AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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/ 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