LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help resolving dependencies (https://www.linuxquestions.org/questions/linux-software-2/help-resolving-dependencies-4175544898/)

rileymartin 06-09-2015 08:25 AM

Help resolving dependencies
 
Hi, I'm trying to install skype on redhat enterprise server v6.6 and unfamiliar with how to resolve the dependency errors. I was hoping someone could help.

I am running the following according to the installation instructions:

[root@MYSERVER~]# yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender. Loaded plugins: product-id, security, subscription-manager6 qt-x11.i686 zlib.i68

And at the very end of the output I get the following:

--> Finished Dependency Resolution
Error: Package: qtwebkit-2.3.4-6.el7.i686 (nux-dextop)
Requires: libpng15.so.15
Error: Package: qtwebkit-2.3.4-6.el7.i686 (nux-dextop)
Requires: qt4(x86-32) >= 4.8.5
Installing: 1:qt-4.6.2-28.el6_5.i686 (HHC_RHEL6-6)
qt4(x86-32) = 4.6.2-28.el6_5
Error: Package: qtwebkit-2.3.4-6.el7.i686 (nux-dextop)
Requires: libQtDeclarative.so.4
Error: Package: qtwebkit-2.3.4-6.el7.i686 (nux-dextop)
Requires: glib2(x86-32) >= 2.36.3
Installing: glib2-2.28.8-4.el6.i686 (HHC_RHEL6-6)
glib2(x86-32) = 2.28.8-4.el6
Error: Package: qtwebkit-2.3.4-6.el7.i686 (nux-dextop)
Requires: libwebp.so.4
Error: Package: qtwebkit-2.3.4-6.el7.i686 (nux-dextop)
Requires: libpng15.so.15(PNG15_0)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I think what it is complaining about is that I have 64bit modules installed and it wants 32bit?

Thanks for any help.

Habitual 06-09-2015 10:24 AM

Quote:

Originally Posted by rileymartin (Post 5374583)

it wants 32bit?

Yep, Skype is a 32 bit program.
Most folks who install Skype on 64 bit systems need ia32-libs

rileymartin 06-09-2015 11:33 AM

I'm not sure how to go about installing the 32bit modules. I guess I have to uninstall the 64bit modules first? Would that create a domino effect of other dependencies I would need to uninstall? If I could do that where would I download the 32bit modules?

rileymartin 06-10-2015 08:47 AM

Still unable to resolve dependencies and after some troubleshooting I now get this -->

[root@MYSERVER /]# yum install alsa-lib.i686 fontconfig.i686 freetype.i686 \glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 \libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 \pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686
Loaded plugins: product-id, security, subscription-manager
Setting up Install Process
Error: xz compression not available

Habitual 06-10-2015 01:35 PM

Try http://download.skype.com/linux/skyp...edora.i586.rpm

John VV 06-11-2015 01:56 AM

the now Microsoft owned "skype" is 32 bit

on RHEL7 this below here is going to be a ROYAL mess of a problem
Code:

qt-4.6.2-28.el6_5.i686 (HHC_RHEL6-6)
that is the RHEL 6 rpm from a 6 REPO
-- the el6 is for rhel6

you can not mix rhel7 and rhel6 software repos

you end up with a major problem

one that might NOT !!! be fixable easily

this might be fixable
disable that rhel6 software repo
( change the "enable=1" to "enable=0" in the repo file )

then run this to see just HOW many RHEL6 rpm's are installed on this RHEL7 install
Code:

rpm -qa | grep el6
there should be zero in the output

but if it is onlt a few that should be fixable
BUT
if you have 20+

it might be easier to just reinstall RHEL7

rileymartin 06-11-2015 08:22 AM

Thanks for the help. I'm new to redhat so I'm not sure if v7 is treated the same as v6.6. I'm running the following:

[root@MYSERVER /]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)

[root@MYSERVER /]# cat /proc/version
Linux version 2.6.32-504.8.1.el6.x86_64 (mockbuild@x86-002.build.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-9) (GCC) ) #1 SMP Fri Dec 19 12:09:25 EST 2014

John VV 06-11-2015 11:53 AM

you are running RHEL6
so


REMOVE ALL!!! the RHEL7 repos
and uninstall EVERY!!!!!! AND ALL el7 rpms

you can NOT use rhel7 rpm's on rhel6

you can not mix rhel6 and rhel7

rileymartin 06-11-2015 12:20 PM

Done!

[root@MYSERVER~]~]# rpm -qa | grep el7
nux-dextop-release-0-1.el7.nux.noarch

[root@MYSERVER~]# rpm -e nux-dextop-release-0-1.el7.nux.noarch

Still getting that xz error however...

[root@MYSERVER~]# yum install alsa-lib.i686 fontconfig.i686 freetype.i686 \glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 \libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 \pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686
Loaded plugins: product-id, security, subscription-manager
Setting up Install Process
Error: xz compression not available

John VV 06-11-2015 03:00 PM

Quote:

root@MYSERVER~]# yum install alsa-lib.i686 fontconfig.i686 freetype.i686 \glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 \libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 \pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686
Loaded plugins: product-id, security, subscription-manager
Setting up Install Process
Error: xz compression not available
windows_7 rileymartin is offline Report This Post
you might not want to just copy past from some guide
see these " \glib2.i686" the "blank space and a " " in your command mean
go to the next line and continue

Code:

yum install alsa-lib.i686 fontconfig.i686 freetype.i686 \
glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 \
libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 \
pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686

is what you copied

BUT

seeing as skype is now a Microsoft program
there are issues
see the CentOS wiki
http://wiki.centos.org/HowTos/Skype

install the epel repo
and in capts
INSTALL AND CONFIGURE!!!!!!!! THE YUM PLUGIN "YUM-PRIORIES "!!!!!!!!!
-- THIS IS A MUST DO FOR THIRD PARTY REPOS


installing repos
http://wiki.centos.org/AdditionalResources/Repositories
the plugin
http://wiki.centos.org/PackageManagement/Yum/Priorities
you can also use the RED HAT documentation
you ARE paying redhat for the required support contract

login to the redhat site with the credentials you set up with your account
and search the knowlagebase
https://access.redhat.com/search/#/?q=
you will have to login to read most of the guides


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