LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-26-2007, 02:40 PM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 482

Rep: Reputation: 31
rename rpm package


I have an RPM package I build (A.rpm). it's about 100M in size. I want to split it out into 3 or 4 packages. (B.rpm, C.rpm and D.rpm)


I know how to build the new packages but how to I tell yum/rpm that these new packages (B.rpm, C.rpm and D.rpm) replace the original one (A.rpm)?


Also how do I tell yum that my package is works like the kernel. (keep multiple versions)

Ie java_1.6.0_03-1.rpm and java_1.5.0-1.rpm can co-exist. But java_1.5.0-2.rpm replaces java_1.5.0-1.rpm

Last edited by MikeyCarter; 11-26-2007 at 02:43 PM.
 
Old 12-01-2007, 06:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
Quote:
Originally Posted by MikeyCarter View Post
how to I tell yum/rpm that these new packages (B.rpm, C.rpm and D.rpm) replace the original one (A.rpm)?
The "obsoletes" .spec tag?


Quote:
Originally Posted by MikeyCarter View Post
how do I tell yum that my package is works like the kernel. (keep multiple versions)
Isn't that just installing vs upgrading?
 
  


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
How to view content of RPM package using RPM command? Micro420 Linux - General 5 07-18-2010 04:03 PM
rpm -i --prefix=/home/user package.src.rpm doesn't work? registering Linux - Software 2 07-18-2007 12:28 PM
What is difference between an i386 rpm and an i686 rpm package? rajat Linux - Software 2 03-25-2007 11:55 PM
Removing an RPM package from within another RPM package jimwelc Linux - Software 7 05-12-2006 03:13 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 08:53 AM

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

All times are GMT -5. The time now is 03:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration