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 - 09:35:42 CEST
Message-ID: <CACXo9pnS_LFQ_1-DUaQDnAuu51=xn4un=LyDBqbZf6dQ7q99_Q@mail.gmail.com>
Looks like my exposure was limited to /usr/local for the most part, but I
got peace of mind from checking those other directories too.  And now brew
works (so far).

Thanks for helping!

On Fri, Apr 27, 2012 at 12:07 AM, Nicholas Chubrich <nchubrich@gmail.com>wrote:

> Thanks, that's something to work with!  I'm trying it out right now----
>
> Nick.
>
>
> On Thu, Apr 26, 2012 at 11:58 PM, Jeffrey Johnson <n3npq@me.com> wrote:
>
>>
>> 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 09:35:45 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.