LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-20-2003, 10:03 AM   #1
Null
Member
 
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52

Rep: Reputation: 15
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?
 
Old 03-20-2003, 10:20 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

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

rpm --rebuilddb

rebuilds the database.
 
Old 03-20-2003, 01:43 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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...
 
Old 03-20-2003, 03:04 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 03-20-2003, 03:54 PM   #5
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
Bah, who needs RPM anyway....
 
Old 03-20-2003, 05:26 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 03-20-2003, 06:09 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a webform to populate a database Doug.Gentry Linux - General 3 01-25-2005 06:57 PM
creating man page database student04 Linux - General 4 01-03-2005 07:08 PM
creating database using awk RajaRC Linux - General 11 07-30-2004 05:33 AM
creating database for phpbb2 installation? Virtualhate Linux - Newbie 3 07-02-2004 05:46 AM
creating mysql database Robin01 Linux - Newbie 1 10-28-2003 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration