From owner-freebsd-questions Mon Oct 15 4:51:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail34.sdc1.sfba.home.com (femail34.sdc1.sfba.home.com [24.254.60.24]) by hub.freebsd.org (Postfix) with ESMTP id 7011537B40D for ; Mon, 15 Oct 2001 04:51:16 -0700 (PDT) Received: from c595663-a ([24.254.67.120]) by femail34.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20011015115116.DEWZ15013.femail34.sdc1.sfba.home.com@c595663-a>; Mon, 15 Oct 2001 04:51:16 -0700 From: Joe To: cjclark@alum.mit.edu, "Crist J. Clark" Subject: It's fixed! (was: PKG_DELETE Saying "package not installed"...HELP) Date: Mon, 15 Oct 2001 05:24:40 -0600 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain; charset="us-ascii" Cc: freebsd-questions@FreeBSD.ORG References: <01101408021500.00540@c595663-a> <20011014161633.D309@blossom.cjclark.org> In-Reply-To: <20011014161633.D309@blossom.cjclark.org> MIME-Version: 1.0 Message-Id: <01101505502002.00335@c595663-a> Content-Transfer-Encoding: 8bit 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 Thanks for responding. > # pkg_delete /var/db/pkg/ This doesn't work. bbpager isn't listed. >You can try to figure out what files are installed by the > package and remove them by hand. OK, I looked at /usr/ports/x11-wm/bbpager/pkg-plist to find out what files were installed and then deleted them. After that, I went to http://portal.alug.org/blackbox/ , downloaded and installed the 0.3.0 version of bbpager. Now, when I do $bbpager -v I see bbpager version 0.3.0 Thanks for your help. It looks like this fixed the problem. Joe On Sun, 14 Oct 2001, Crist J. Clark wrote: > 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