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 - 22:54:16 CEST
Message-ID: <CACXo9pmKbVoCoiZ7bg3X35V8d291AiKgnXMBcaYP3A3A5rZs4w@mail.gmail.com>

From lsbom it looks like there were some things in /private once, but no
more.  The Python packages are also gone.  The Perl package is still there,
and I wonder if I should leave it alone or get rid of it (would there be
any non-RPM dependencies it might break?).  And then once done should I
delete /Library/Receipts/RPM5.pkg itself?

I already followed the previous poster's advice, so I have already (mostly)
removed RPM.  It was so broken there was no way of querying what was
installed anyway.  A spotlight search for .rpm files has not turned up

(I did all this because brew doctor complained about the rpm files in

The mono installation was there, I think, because of Wine, but Wine is gone
because it was in a broken Macports installation (all these things seem to
break when the transfer to a new laptop happens).

If you know any good web sites that explain Mac software installation (the
pkg system, what all the various directories /usr/local, /private, etc. are
for), I'd love to hear about it.....



On Fri, Apr 27, 2012 at 9:42 AM, Anders F Björklund <afb@rpm5.org> wrote:

> Nicholas Chubrich wrote:
> > I have an old RPM 5.1 installation (most of it seems to be in
> /usr/local) that I need to remove.  I believe it was installed using a DMG
> installer.  Can anyone suggest a way to cleanly and completely uninstall it?
> The Mac OS X installer .pkg format does not feature an "uninstall"...
> But you can see which files were installed by the package, by using:
> lsbom -s /Library/Receipts/RPM5.pkg/Contents/Archive.bom
> The packages in BINARY install mostly under /usr/local and /var/local.
> There is also a module for /Library/Python, and one for /Library/Perl.
> > Parts of it that I have been able to find so far are in /usr/local/lib,
> /usr/bin/pkg-config, and /usr/local/src.
> >
> > I need to uninstall it in order to do homebrew.
> The /usr/bin/pkg-config was not installed by the regular RPM5 install.
> Most likely, you have a broken version installed by Mono.framework ?
> You don't need to uninstall rpm in order to use homebrew, unless you
> plan on installing rpm with brew and it somehow conflicts on files.
> If you installed any .rpm files, you should uninstall those before rpm.
> --anders
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Fri Apr 27 23:19:58 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.