RPM Community Forums

Mailing List Message of <rpm-users>

Re: uninstalling old RPM 5.1 from Mac

From: Nicholas Chubrich <nchubrich@gmail.com>
Date: Fri 27 Apr 2012 - 08:46:21 CEST
Message-ID: <CACXo9pmCAjsUrwphNi0dKexeeF43EdX8WDYax4+4hHinLWUS7w@mail.gmail.com>

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

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:46:24 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.