LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Yum Package Dependency issue (https://www.linuxquestions.org/questions/linux-server-73/yum-package-dependency-issue-4175549376/)

linu07 07-30-2015 12:43 PM

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

John VV 07-30-2015 01:28 PM

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


linu07 07-30-2015 02:00 PM

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
-------------------------

John VV 07-31-2015 01:15 PM

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/

linu07 07-31-2015 02:00 PM

Hi John,

So what would be the next step to resolve this dependency issue, do i need to contact redhat server support ?

John VV 08-01-2015 01:08 PM

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

linu07 08-02-2015 12:30 AM

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..


All times are GMT -5. The time now is 02:37 PM.