Re: uninstalling old RPM 5.1 from Mac

2012-04-27 Thread Nicholas Chubrich
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

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 n3...@me.com wrote:


 On Apr 27, 2012, at 2:39 AM, Jeffrey Johnson n3...@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 Managerhttp://rpm5.org
 User Communication List rpm-users@rpm5.org



Re: uninstalling old RPM 5.1 from Mac

2012-04-27 Thread Nicholas Chubrich
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 n3...@me.com wrote:


 On Apr 27, 2012, at 2:46 AM, Nicholas Chubrich nchubr...@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 n3...@me.com wrote:


 On Apr 27, 2012, at 2:39 AM, Jeffrey Johnson n3...@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 Managerhttp://rpm5.org
 User Communication List rpm-users@rpm5.org






Re: uninstalling old RPM 5.1 from Mac

2012-04-27 Thread Nicholas Chubrich
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 nchubr...@gmail.comwrote:

 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 n3...@me.com wrote:


 On Apr 27, 2012, at 2:46 AM, Nicholas Chubrich nchubr...@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 n3...@me.com wrote:


 On Apr 27, 2012, at 2:39 AM, Jeffrey Johnson n3...@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 Managerhttp://rpm5.org
 User Communication List rpm-users@rpm5.org