LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Closed Thread
  Search this Thread
Old 10-21-2015, 03:45 AM   #1
tejasvinnakota
LQ Newbie
 
Registered: Oct 2015
Posts: 4

Rep: Reputation: Disabled
How to install two versions of same rpm , its conflicting currently


Hi
Currently Iam trying to install a rpm secured_soft_2.0.0.rpm and iam unable to install it as we already have secured_soft_1.3.0 installed.

Requirement is that we need to have both the versions installed.

Complexities :

These packeage inturn have dependent rpm's (lot of them ) and all these interdependent rpm's also have versions
ex: secured_soft_1.3.0 works only with packages which are of version 1.3, and secured_soft_2.0.0.rpm work only with dependecies of version 2.0 only.
So all these dependencies also need to be reinstalled and even these dependenies should be parallely installed, without deleting old.

Finally , both these versions contain shared libraries and these shared lib's do not have version numbers in their name.

# rpm -ivh secured_soft_2.0.0.rpm
error: Failed dependencies:
init-class >= 1.4.17.1-1 is needed by secured_soft_2.0.0.rpm
init-connection-interface >= 2.0.11.0 is needed by secured_soft_2.0.0.rpm
init-logger >= 2.0.11.0 is needed by secured_soft_2.0.0.rpm
init-security >= 2.0.11.0 is needed by secured_soft_2.0.0.rpm

As i have specified we already have secured_soft_1.3.0.rpm installed and above dependencies are also available but of different version.
So we need the to install above dependencies and also need the old version's of dependencies for the old rpm's to work

ex : secured_soft_2.0.0.rpm has libArt.so libSec.so and so on which are copied to /usr/lib

Similarly secured_soft_1.3.0.rpm also has libArt.so libSec.so and so on which are already available in /usr/lib

I tried to rename the so's but still iam not able to install.

Is it possible to change the location for these so's and get the things done
Is there any way we can do it.

At the moment, iam stuck here and would need advice on this
Appreciate any help on this.
 
Old 10-21-2015, 06:06 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Create two separate chroot environments and install the separate rpms in each. Or run in VMs.
 
Old 10-21-2015, 06:55 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 10-21-2015, 03:58 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...duplicate of https://www.linuxquestions.org/quest...rk-4175556759/ closed.
 
  


Closed Thread



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
Accidentally installed conflicting versions of C++ Boost library - CMake issues..... datahead8888 Ubuntu 1 05-24-2014 01:41 PM
2 versions of Gutenprint conflicting CartersAdvocate Slackware 4 01-01-2009 09:37 PM
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
Can rpm/yum uninstall conflicting packages automatically? Akhran Red Hat 1 04-09-2007 01:46 AM
RPM Conflicting Package Error kougar Linux - Newbie 1 09-01-2004 08:21 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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