Hi - I have two rpm(say , core_1.rpm and addon_1.rpm) installed on my system - where addon_1.rpm depends on core_1.rpm.
Now I need upgrade it -with new verison 2.
If i do #rpm -Uvh core_2.rpm it says core_1 is needed by (installed) addon_1.rpm
If i do #rpm -Uvh addon_2.rpm it says core_2 needed by addon_2.rpm
Does this needs to be handled in .spec file?Thanks for any help.
I think I got it, there is a field in spec file which says %package addon Requires: core = %{version}
I think changing this requirement
Requires: core >= %{version}
hopefully fix my issue.
On Thu, Feb 17, 2011 at 3:00 PM, Lakshmipathi.G lakshmipathi.g@gmail.comwrote:
Hi - I have two rpm(say , core_1.rpm and addon_1.rpm) installed on my system - where addon_1.rpm depends on core_1.rpm.
Now I need upgrade it -with new verison 2.
If i do #rpm -Uvh core_2.rpm it says core_1 is needed by (installed) addon_1.rpm
If i do #rpm -Uvh addon_2.rpm it says core_2 needed by addon_2.rpm
Does this needs to be handled in .spec file?Thanks for any help.
--
Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in
On 02/17/2011 03:00 PM, Lakshmipathi.G wrote:
Hi - I have two rpm(say , core_1.rpm and addon_1.rpm) installed on my system - where addon_1.rpm depends on core_1.rpm.
Now I need upgrade it -with new verison 2.
If i do #rpm -Uvh core_2.rpm it says core_1 is needed by (installed) addon_1.rpm
If i do #rpm -Uvh addon_2.rpm it says core_2 needed by addon_2.rpm
Does this needs to be handled in .spec file?Thanks for any help.
FWIW, in the general case, you do rpm -Uvh foo1.rpm bar2.rpm in a single line.
Rahul
Thanks for the reply , I edited the spec file too. Because ,that allows me to use different combinations(like core_2 with addon_1. etc)
On Thu, Feb 17, 2011 at 5:39 PM, Rahul Sundaram metherid@gmail.com wrote:
On 02/17/2011 03:00 PM, Lakshmipathi.G wrote:
Hi - I have two rpm(say , core_1.rpm and addon_1.rpm) installed on my system - where addon_1.rpm depends on core_1.rpm.
Now I need upgrade it -with new verison 2.
If i do #rpm -Uvh core_2.rpm it says core_1 is needed by (installed) addon_1.rpm
If i do #rpm -Uvh addon_2.rpm it says core_2 needed by addon_2.rpm
Does this needs to be handled in .spec file?Thanks for any help.
FWIW, in the general case, you do rpm -Uvh foo1.rpm bar2.rpm in a single line.
Rahul _______________________________________________ india mailing list india@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/india