Teen Programmers Unite  


Return to forum top

RPMs suck

Posted by grandsnafu [send private reply] at September 02, 2001, 03:34:48 PM

Running Redcarpet to update rpm appears to have been a bad idea because now I can't install anything through rpm. It squawks "error: cannot open Packages index using db1 - No such file or directory (2)" anytime I try to do anything, like verify or install. Anyone know what to do? I'll try downloading rpm and installing it that way...arghh...

Posted by sphinX [send private reply] at September 03, 2001, 01:13:06 AM

i'm sure rpm has a switch for rebuilding the rpm database...have a look at rpm --help or man rpm

Posted by buzgub [send private reply] at September 03, 2001, 02:38:37 AM

on a related note, can I get rpm to acknowledge a new version installed with "make install"???

Posted by gian [send private reply] at September 05, 2001, 01:59:10 AM

RPM is cool.... Yes, can be a pain in the ass, but think about it... RPM or GZip'd tar that requires manual installation and path changing.

Posted by grandsnafu [send private reply] at September 07, 2001, 10:36:31 AM

I was able to print out the 14 page manpage, and saw the Section "REBUILD DATABASE OPTIONS" It says, simply "The general form of an rpm rebuild database command is rpm --rebuilddb. To rebuild a new database, do : rpm --initdb. The only options for these modes are --dbpath and --root." I have no idea if these are the right commands to be using (the rebuild database part kind of hints at it though). Running rpm with --initdb creates packages.rpm under /var/lib/rpm. Running rpm with --rebuilddb just sits and does nothing for hours on end (started at 10 at night, still doing nothing at 7 in the morning). Are the commands meant for packaging your own rpms or something?
buzgub : what do you mean? notice the new program rpm or a new file you installed that was an .rpm?
gian : you're right. gzip'd tar stuff sucks too, and when rpms do work the usually work well. this is really frustrating though.

Posted by have_dinner [send private reply] at September 07, 2001, 10:47:08 AM

why did you leave that silly program running overnight??? why didn't u grep it to see if it was even moving?
anyway... maybe just re-install rpm thingie or just use gzippies!

Posted by CHollman82 [send private reply] at October 01, 2001, 09:51:11 PM

Posted by buzgub [send private reply] at September 07, 2001, 08:58:25 PM

grandsnafu: After installing a program from a g'zipped tarball and configuring, making, and installing it, can rpm be made to recognize that the program has been upgraded *outside* of rpm?

Posted by grandsnafu [send private reply] at September 08, 2001, 01:09:25 PM

buzgub : no, I don't think so. If I can ever get my rpm database to rebuild, maybe I'll find out.
chollman : haha

Posted by grandsnafu [send private reply] at September 09, 2001, 08:36:50 PM

ok, changing Packages to packages.rpm and running rpm --rebuilddb worked and Red Carpet is running happily as meg after meg is downloaded. Of course, evolution broke after downloading beta 3. something about "configuration database not found."

You must be logged in to post messages and see which you have already read.

Log on
Save for later automatic logon

Register as a new user
Copyright TPU 2002. See the Credits and About TPU for more information.