LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2011, 01:16 AM   #1
privateren
LQ Newbie
 
Registered: May 2009
Posts: 10

Rep: Reputation: 0
My rpm needs to install first in a list of RPMS


Hi,

I have a custom made rpm. I need to install my particular RPM in a list of rpms which are part of a program.
Say I have around 20 patch rpms which needs to be installed I need to install this through yum command. My particular RPM namely
Patch-list.1.1.1.2-1.noarch.rpm needs to be installed as the first rpm in the total list of 21 rpms. I can modify my spec files and Makefiles as per my wish.
Can anybody suggest what needs to be changed so that my rpm Patch-list.1.1.1.2-1.noarch.rpm will be installed first.
 
Old 01-24-2011, 03:12 AM   #2
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian32 stable, LFS 7.1
Posts: 385

Rep: Reputation: 44
If I understand you right, you can use rpm --nodeps -i Patch-list.1.1.1.2-1.noarch.rpm

The nodeps option will disable dependency checking (just for that package). Then when you've installed the known dependencies, try re-installing Patch-list.1.1.1.2-1.noarch.rpm without the nodeps option. If all the deps are installed, you should get no warning messages.
 
Old 01-25-2011, 03:19 AM   #3
privateren
LQ Newbie
 
Registered: May 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks Andy Alkaline for your reply. I will be using yum command as this should be installed form a repository. I will be using Patch-list.1.1.1.2-1.noarch.rpm for backing up the configuration files before the installation of the other rpms. On issuing yum command My rpm Patch-list.1.1.1.2-1.noarch.rpm needs to be automatically installed as the first rpm so that I can have the configuration backup
 
  


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
For loop to delete all RPMS except for RPMS on the list. keysorsoze Linux - Newbie 5 05-20-2008 03:42 PM
LIVNA: List of RPMs available? SlowCoder Linux - General 1 05-05-2007 10:13 PM
How do I install rpms from rpm.pbone.net & RPMSeek? erpe SUSE / openSUSE 11 07-27-2006 12:35 AM
List installed RPMs radam Linux - Software 4 07-21-2004 02:05 PM
RPM installation error: I'm using Fedora Core 1 and trying to install various RPMs, utts Linux - Software 2 04-23-2004 01:37 PM


All times are GMT -5. The time now is 08:51 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