Click to See Complete Forum and Search --> : Oopsss, damn' RPM's!!


wzzrd
03-09-2001, 04:47 PM
After a whole lot of problems is finally managed to upgrade to RPM4 (I had RPM3, but a lot of prog do not install with RPM3 after having been packed with RPM4 i guess).

Then I found that I had 0 packages installed when I used Yast (I use SuSE7). "You must rebuild your database for db3" RPM said. So I did. But I still have only 9 packages installed in Yast, where I had 180. Can anyone tell me how to rebuild my RPM database from one of the backups in /var/adm/backup/package (or whatever).

I can't install anything anymore because of broken dependencies... :(

Oh, and one other thing: to which packages does libstdc++-libc6 belong? I thought libc of glib but after installing both netscape-installer still asks for it.
(this is b4 i messed up my rpm-deps, so that isn't the cause).

Hope you kept reading this misserable text and thanks in advance.

2thumbs
03-09-2001, 09:44 PM
man rpm reveals this:

REBUILD DATABASE OPTIONS
The general form of an rpm rebuild database command is

rpm --rebuilddb


good luck :)

I just checked up on that file, it's contained in the libstdc++-2.96.rpm file (version might vary) You can find it at http://www.rpmfind.net , just enter libstdc++-libc6 into the search box.

[ 09 March 2001: Message edited by: 2thumbs ]

bdg1983
03-10-2001, 10:45 AM
Did you try upgrading your database (db3) packages, too? I've heard that when you upgrade rpm, it's best to upgrade db3, too, because things can get messed. And after upgrading, remember to rebuild the database like 2thumbs said.

Another thing: though SuSE is an excellent distro and YaST rocks (IMHO :D) there are sometimes differencies between the RedHat's rpm packages and those packages that are made especially for SuSE. Don't know about 7.1, but when I used 7.0 and installed downloaded rpms with rpm, YaST didn't find them at all.