RPM under Mac OS?

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
I'm not sure what's up. I've installed the 5.x dmg and whatever, but it doesn't really do anything. I get the following error:

error: cannot open Packages(0) index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/local/lib/rpm

I've posted this in the Apple forum, but no one has any idea.

Any thoughts?


 

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
Originally posted by: Nothinman
Does /var/local/lib/rpm exist?

Yes, but there's nothing in there. I also tried to install an older version via darwinports, so I'm not sure which one made the directory. By the date, I'm guessing the new version/DMG install of RPM.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I'm using Debian and I have RPM installed as well but it came with an empty database in /var/lib/rpm.

Have you used initdb? From the man page:

Use --initdb to create a new database if one doesn?t already exist (existing database is not overwritten), use --rebuilddb to rebuild the database indices from
the installed package headers.