RPM Community Forums

Mailing List Message of <rpm-users>

Re: uninstalling old RPM 5.1 from Mac

From: Anders F Björklund <afb@rpm5.org>
Date: Fri 27 Apr 2012 - 18:42:05 CEST
Message-Id: <98478DF4-B43A-4532-A4E7-C78DCACE55EE@rpm5.org>
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
Received on Fri Apr 27 18:42:41 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.