Click to See Complete Forum and Search --> : rpm problems


H. M. Murdock
03-17-2001, 07:49 PM
Hello,
I just upgraded to rpm 4.05 from 3.somthing and its causing problems. It seems to have erased my package database, because when I try to rpm -U or -i something, it gives me a list of dependencies a mile long, but these are packages I know are installed. I tried to rebuild the db, but instead of doing something, it does absolutely nothing. what can I do to get the database fixed?

Thanks,

Murdock

hungarian
03-17-2001, 09:05 PM
You need to give us more info.
Like which distro ?
Version ?

Are you sure you have the correct rpm installed for your distro and version ?

H. M. Murdock
03-17-2001, 09:15 PM
Redhat 6.1, and I would assume it is installed correctly, becuase until today, it worked fine.

Murdock

bdg1983
03-18-2001, 09:06 AM
I would have suggested you rebuild the db, but see you've already tried that.

Anything at Redhat on this? After all it is 'Redhat Package Management'.

H. M. Murdock
03-18-2001, 10:33 AM
I have looked all over, from searchin on search engines, to redhat and so far nothing. My system seems to work fine, except according to rpm now, i have nothing installed.

Murdock

Dan Duane
03-18-2001, 05:49 PM
I read that "upgrading" from 3.x to 4.x can definitely corrupt your RPM database. If you have problems reading ver 4 RPM's, upgrade to 3.0.5 or 3.0.6 they can read them and won't mess anything else up. Sorry about that, hope you backed up.............

Dan

H. M. Murdock
03-18-2001, 06:53 PM
Ok,
I got it fixed, it was my database that was hosed. Upgrading to rpm4 involves upgrading to db3 as well, which mean you have to convert your old rpm database to a new one. Someone on the redhat list kindly pointed me to this site:

http://www.execpc.com/~bgkuhn/linux/upgrade_to_rpm_4.html

I followed the direction on that website and now everything is working great!

Thanks,

Murdock