LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Creating an RPM database (https://www.linuxquestions.org/questions/linux-software-2/creating-an-rpm-database-50842/)

Null 03-20-2003 10:03 AM

Creating an RPM database
 
I need to build an rpm on my deb system to deploy on some redhat systems (more specifically: I need to checkinstall realplayer's bin file to get a rpm), but I noticed debian's rpm install doesn't create a database. How can I create a database and tell rpm to us it?

Crashed_Again 03-20-2003 10:20 AM

I'm not sure if I understand exactly what your after here but the command:

rpm --rebuilddb

rebuilds the database.

MasterC 03-20-2003 01:43 PM

Whoa! Do you mean that you want to create a sort of rpm database of all files you've installed, whether it was via apt-get or source or rpm, then transfer that db to another computer?

Good luck...

Tinkster 03-20-2003 03:04 PM

MasterC, I've wondered a few times why
RPM doesn't have a feature like this ;)

If you install a package successfully (doesn't
happen too often but sometimes you can't
get source-tarballs but only binary-rpm's)
it would be nice if one could trigger RPM to
build a database that assumes the dependencies
had been met ;) and presents those to other
packages as present :}

Cheers,
Tink

AxeZ 03-20-2003 03:54 PM

Bah, who needs RPM anyway....:)

Crashed_Again 03-20-2003 05:26 PM

I'm still lost as to what exactly Null is trying to do here. Null are you coming back to respond? I'm losing sleep over this one.

Tinkster 03-20-2003 06:09 PM

Crashed:

From my understanding debian (like slackware)
doesn't use rpm to maintain software installations.

Therefore if you try to install RPMs you'll
have to use rpm -i --nodeps because there's
for instance no entry for your glibc in the
database... or any other package, for that
matter.

But I might have misunderstood him/
over-interpreted :}

Cheers,
Tink


All times are GMT -5. The time now is 01:57 AM.