LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-30-2015, 12:43 PM   #1
linu07
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Rep: Reputation: Disabled
Yum Package Dependency issue


Team,

when i install pacemaker package it throws dependency error it was


--> Processing Dependency: cluster-glue-libs-devel for package: pacemaker-libs-devel-1.1.6-3.el6.x86_64
--> Processing Dependency: libtool-ltdl-devel for package: pacemaker-libs-devel-1.1.6-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: pacemaker-libs-1.1.6-3.el6.i686 (/pacemaker-libs-1.1.6-3.el6.i686)
Requires: libpils.so.2
Error: Package: pacemaker-cluster-libs-1.1.6-3.el6.x86_64 (/pacemaker-cluster-libs-1.1.6-3.el6.x86_64)
Requires: libplumb.so.2()(64bit)
Error: Package: pacemaker-1.1.6-3.el6.x86_64 (/pacemaker-1.1.6-3.el6.x86_64)
Requires: libpils.so.2()(64bit)
Error:

Error: Package: pacemaker-cluster-libs-1.1.6-3.el6.x86_64 (/pacemaker-cluster-libs-1.1.6-3.el6.x86_64)
Requires: libstonith.so.1()(64bit)
Error: Package: pacemaker-1.1.6-3.el6.x86_64 (/pacemaker-1.1.6-3.el6.x86_64)
Requires: libfenced.so.3()(64bit)
You could try using --skip-broken to work around the problem
** Found 40 pre-existing rpmdb problem(s), 'yum check' output follows:
pacemaker-1.1.6-3.el6.x86_64 has missing requires of cluster-glue
pacemaker-1.1.6-3.el6.x86_64 has missing requires of libcman.so.3()(64bit)
pacemaker-1.1.6-3.el6.x86_64 has missing requires of libfenced.so.3()(64bit)
pacemaker-1.1.6-3.el6.x86_64 has missing requires of liblrm.so.2()(64bit)
pacemaker-1.1.6-3.el6.x86_64 has missing requires of libpils.so.2()(64bit)
pacemaker-1.1.6-3.el6.x86_64 has missing requires of libplumb.so.2()(64bit)
pacemaker-1.1.6-3.el6.x86_64 has missing requires of libstonith.so.1()(64bit)
pacemaker-1.1.6-3.el6.x86_64 has missing requires of resource-agents


-> Running transaction check
---> Package pacemaker.x86_64 0:1.1.6-3.el6 will be reinstalled
--> Processing Dependency: cluster-glue for package: pacemaker-1.1.6-3.el6.x86_64
--> Processing Dependency: resource-agents for package: pacemaker-1.1.6-3.el6.x86_64
--> Processing Dependency: libcman.so.3()(64bit) for package: pacemaker-1.1.6-3.el6.x86_64
--> Processing Dependency: libfenced.so.3()(64bit) for package: pacemaker-1.1.6-3.el6.x86_64
--> Processing Dependency: liblrm.so.2()(64bit) for package: pacemaker-1.1.6-3.el6.x86_64
--> Processing Dependency: libpils.so.2()(64bit) for package: pacemaker-1.1.6-3.el6.x86_64
--> Processing Dependency: libplumb.so.2()(64bit) for package: pacemaker-1.1.6-3.el6.x86_64
--> Processing Dependency: libstonith.so.1()(64bit) for package: pacemaker-1.1.6-3.el6.x86_64
---> Package pacemaker-cli.x86_64 0:1.1.6-3.el6 will be reinstalled
--> Processing Dependency: libcman.so.3()(64bit) for package: pacemaker-cli-1.1.6-3.el6.x86_64
--> Processing Dependency: libfenced.so.3()(64bit) for package: pacemaker-cli-1.1.6-3.el6.x86_64
--> Processing Dependency: liblrm.so.2()(64bit) for package: pacemaker-cli-1.1.6-3.el6.x86_64
--> Processing Dependency: libpils.so.2()(64bit) for package: pacemaker-cli-1.1.6-3.el6.x86_64
--> Processing Dependency: libplumb.so.2()(64bit) for package: pacemaker-cli-1.1.6-3.el6.x86_64
---> Package pacemaker-cluster-libs.i686 0:1.1.6-3.el6 will be reinstalled
--> Processing Dependency: libcman.so.3 for package: pacemaker-cluster-libs-1.
============================

As per above error I got like it needs cluster-glue, libcman.so.3()(64bit) and many more.. when i tried to install cluster-glue package it shows again below error.. kindly advice..


Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
file /usr/include/heartbeat/glue_config.h conflicts between attempted installs of cluster-glue-libs-devel-1.0.5-2.el6.i686 and cluster-glue-libs-devel-1.0.5-2.el6.x86_64
file /usr/share/cluster-glue/lrmtest/LRMBasicSanityCheck conflicts between attempted installs of cluster-glue-libs-devel-1.0.5-2.el6.i686 and cluster-glue-libs-devel-1.0.5-2.el6.x86_64
 
Old 07-30-2015, 01:28 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i would guess that you have INCOMPATIBLE repos installed and turned on

now you ARE using yum and NOT!!!!!! doing a local install of some random rpm you downloaded ?
-- right--

as in this is the command you are using
Code:
su -
yum install pacemaker
and you ARE NOT doing this
-- DO NOT DO!!!! ---
Code:
cd /to/the/location/of/the/download
yum install pacemaker-1.1.6-3.el6.x86_64.rpm
please post the output of this command
Code:
su -
yum repolist all
that will tell us what repos are installed and it they are ON or OFF

and this is 6.6 ? the ONLY supported version in the CentOS 6 series ? right?
please also post the output of this
Code:
su -
cat /etc/redhat-release

Last edited by John VV; 07-30-2015 at 01:30 PM.
 
Old 07-30-2015, 02:00 PM   #3
linu07
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi John,

I guess it would be incompatible . earlier i have removed openldap package through rpm with --nodeps option from that time this issue persists.
Please find below command o/p as requested.

@server Packages]# yum install pacemaker
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Nothing to do
-----------------------------
@server Packages]# yum install pacemaker-1.1.6-3.el6.x86_64.rpm
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Examining pacemaker-1.1.6-3.el6.x86_64.rpm: pacemaker-1.1.6-3.el6.x86_64
pacemaker-1.1.6-3.el6.x86_64.rpm: does not update installed package.
Error: Nothing to do
--------------------------------
@server Packages]# yum repolist all
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
repo id repo name status
InstallMedia Red Hat Enterprise Linux 6.2 disabled
rhel-source Red Hat Enterprise Linux 6Server - x86_64 - Source disabled
rhel-source-beta Red Hat Enterprise Linux 6Server Beta - x86_64 - Source disabled
test test enabled: 3,529
repolist: 3,529
[root@server Packages]#
----------------------------------------------
@server Packages]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
[root@server Packages]#
---------------------------------------


As I could see above test repolist status is enabled. and below are more details regarding test repolist. Advice how this issue would be resolved.

@server Packages]# df -h | grep /mnt
/dev/sr0 3.4G 3.4G 0 100 /mnt
-----------
@server Packages]# mount | grep mnt
/dev/sr0 on /mnt type iso9660 (ro)
----------
Packages]# cat /etc/yum.repos.d/test.repo
[test]
name=test
baseurl=file:///mnt
gpgcheck=0
-------------------------
 
Old 07-31-2015, 01:15 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this is redhat so you DID buy the required support contract
and seeing as this is NOT the current 6.7 , but 6.2
you are paying redhat a LOT of extra cash to lock this install at 6.2


so contact redhat
you ARE already paying for the REQUIRED!!! support contract

you might want to use it


if you are NOT paying redhat then basically you do not install anything PERIOD!!!


from this
Quote:
InstallMedia Red Hat Enterprise Linux 6.2 disabled
rhel-source Red Hat Enterprise Linux 6Server - x86_64 - Source disabled
rhel-source-beta Red Hat Enterprise Linux 6Server Beta - x86_64 - Source disabled
YOU disabled the redhat support
and that "test" is THE INSTALL DISK
that you already DISABLED
Quote:
InstallMedia Red Hat Enterprise Linux 6.2 disabled

for server pricing
https://www.redhat.com/apps/store/server/
 
Old 07-31-2015, 02:00 PM   #5
linu07
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi John,

So what would be the next step to resolve this dependency issue, do i need to contact redhat server support ?
 
Old 08-01-2015, 01:08 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
contact redhat

you MUST buy the REQUIRED support contract to install software

there are NO "if's and's or but's" on this !!!

or

install the FREE rebuild of the redhat code
CentOS 7.1 is the current
or the older 6 series
CentOS 6.6 ( soon to be 6.7)



if you DO have a support contract
then redhat support can talk you through a OFFLINE ( that is what this looks like) install of the packages from the RHN repos
 
Old 08-02-2015, 12:30 AM   #7
linu07
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
OK, thanks for the update , but to install packages from RHN repos it is not allowing to install, throwing error for dependency issue.. how could that be done..
My OS is redhat 6.2 installed in virtual machine and doing testing on errors to resolve, any how thanks for your support John..
 
  


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
[SOLVED] [YUM] How to force installing a package without its dependency? thomas2004ch Linux - Software 1 04-15-2015 03:42 AM
yum dependency issue in centos5 nuwen52 Linux - Software 6 05-12-2009 12:18 PM
Correcting a yum dependency issue muppetmaster Fedora 3 11-02-2005 03:28 AM
Yum (yumex) dependency issue? linmix Linux - Software 2 02-03-2005 08:58 AM
How to troubleshoot dependency issue please? (Using YUM) davidas Linux - Newbie 2 03-29-2004 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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