Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-20-2003, 10:03 AM
|
#1
|
Member
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52
Rep:
|
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?
|
|
|
03-20-2003, 10:20 AM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
I'm not sure if I understand exactly what your after here but the command:
rpm --rebuilddb
rebuilds the database.
|
|
|
03-20-2003, 01:43 PM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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...
|
|
|
03-20-2003, 03:04 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
03-20-2003, 03:54 PM
|
#5
|
Member
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386
Rep:
|
Bah, who needs RPM anyway.... 
|
|
|
03-20-2003, 05:26 PM
|
#6
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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.
|
|
|
03-20-2003, 06:09 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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 12:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|