RPM Community Forums

Mailing List Message of <rpm-users>

Re: uninstalling old RPM 5.1 from Mac

From: Jeffrey Johnson <n3npq@me.com>
Date: Fri 27 Apr 2012 - 08:58:34 CEST
Message-id: <733C3D96-E186-4BDC-BF44-DCB121C0F6C0@me.com>

On Apr 27, 2012, at 2:46 AM, Nicholas Chubrich <nchubrich@gmail.com> wrote:

> Jeff---
> 
> Thanks!  I tried this but my installation (which has been through three different laptops and three Mac OS upgrades) is pretty broken:
> 
> rpm -qal 
> --> error: cannot open Packages(0) index using db3 - No such file or directory (2)
>      error: cannot open Packages database in /var/local/lib/rpm
> 

Then you likely only need to remove rpm.

I haven't any idea what --prefix was passed into rpm
or where this version comes from.

But with --prefix=/usr, the main directories in use by rpm are
	/usr/lib/rpm/
	/var/lib/rpm/
Development directories/files with --prefix=/usr are
	/usr/include/rpm/
	/usr/lib/librpm*
Executables are
	/bin/rpm
	/usr/bin/rpm*
There's man pages and locales and python/perl modules which will have rpm in name like
	find /usr/local -name '*rpm*'
which is likely a good information gathering starting point.

RPM (and likely nothing else) uses libbeecrypt.

hth

73 de Jeff
> at this point I'm not even sure if I actually installed any RPMs.  Regardless, I need to get rid of any such packages and RPM itself.
> 
> On Thu, Apr 26, 2012 at 11:41 PM, Jeffrey Johnson <n3npq@me.com> wrote:
> 
> On Apr 27, 2012, at 2:39 AM, Jeffrey Johnson <n3npq@me.com> wrote:
> 
> >
> > Again redirect that output to a file, examine, and remove package by package using
> >       rpm -q PKG
> --------------^^ -e or --erase of course: its 3am here.
> 
> > for each PKG listed.
> >
> 
> 73 de Jeff
> 
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
> 
Received on Fri Apr 27 08:58:58 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.