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. |
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. |
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
|
All times are GMT -5. The time now is 01:02 PM. |