LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2016, 05:07 AM   #1
Mycado
Member
 
Registered: Jun 2006
Location: Paris, France
Distribution: RHEL
Posts: 73

Rep: Reputation: 15
Question Yum Dependencies resolution fail (glibc-common)


Hello,

I'm trying to install gcc on my XenServer 7.0 (based on CentOS). But I get some problems with dependencies

When I install with yum, I get:

Code:
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-4.el7 will be installed
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-4.el7.x86_64
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.17-105.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-105.el7 for package: glibc-devel-2.17-105.el7.x86_64
--> Processing Dependency: glibc = 2.17-105.el7 for package: glibc-devel-2.17-105.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-105.el7.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.17-105.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-105.el7 for package: glibc-2.17-105.el7.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-105.el7.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-105.el7.i686
---> Package glibc-headers.x86_64 0:2.17-105.el7 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.17-105.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-105.el7 for package: glibc-2.17-105.el7.i686
---> Package nss-softokn-freebl.i686 0:3.16.2.3-13.el7_1 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.17-105.el7.i686 (centos)
           Requires: glibc-common = 2.17-105.el7
           Installed: glibc-common-2.17-106.el7_2.4.x86_64 (@install/$releasever)
               glibc-common = 2.17-106.el7_2.4
           Available: glibc-common-2.17-105.el7.x86_64 (centos)
               glibc-common = 2.17-105.el7
Actual installed packages:
Quote:
[root@x-01 tmp]# rpm -qa | grep glibc
glibc-common-2.17-106.el7_2.4.x86_64
glibc-2.17-106.el7_2.4.x86_64
How to handle that? Should I downgrade my glibc-common?


Best regards,
 
Old 06-15-2016, 07:43 AM   #2
Mycado
Member
 
Registered: Jun 2006
Location: Paris, France
Distribution: RHEL
Posts: 73

Original Poster
Rep: Reputation: 15
I finally succeed. For people who have the same issue, this is how I solved it:

1. Check duplicate:
Code:
[root@x-01 tmp]# yum list --showduplicates glibc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
glibc.x86_64                                                                      2.17-106.el7_2.4                                                                      @install/$releasever
Available Packages
glibc.i686                                                                        2.17-105.el7                                                                          centos
glibc.x86_64                                                                      2.17-105.el7                                                                          centos
glibc.x86_64                                                                      2.17-106.el7_2.4                                                                      xeniso
2. Downgrade the glibc (to *.105):
Code:
[root@x-01 tmp]# yum downgrade glibc glibc-common glibc-devel glibc-headers
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No Match for available package: glibc-devel-2.17-105.el7.i686
No Match for available package: glibc-devel-2.17-105.el7.x86_64
No Match for available package: glibc-headers-2.17-105.el7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.17-105.el7 will be a downgrade
---> Package glibc.x86_64 0:2.17-106.el7_2.4 will be erased
---> Package glibc-common.x86_64 0:2.17-105.el7 will be a downgrade
---> Package glibc-common.x86_64 0:2.17-106.el7_2.4 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================
 Package                                         Arch                                      Version                                          Repository                                 Size
============================================================================================================================================================================================
Downgrading:
 glibc                                           x86_64                                    2.17-105.el7                                     centos                                    3.6 M
 glibc-common                                    x86_64                                    2.17-105.el7                                     centos                                     11 M

Transaction Summary
============================================================================================================================================================================================
Downgrade  2 Packages

Total download size: 15 M
Is this ok [y/d/N]: y
Downloading packages:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                        79 MB/s |  15 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : glibc-common-2.17-105.el7.x86_64                                                                                                                                         1/4
  Installing : glibc-2.17-105.el7.x86_64                                                                                                                                                2/4
  Cleanup    : glibc-common-2.17-106.el7_2.4.x86_64                                                                                                                                     3/4
  Cleanup    : glibc-2.17-106.el7_2.4.x86_64                                                                                                                                            4/4
  Verifying  : glibc-2.17-105.el7.x86_64                                                                                                                                                1/4
  Verifying  : glibc-common-2.17-105.el7.x86_64                                                                                                                                         2/4
  Verifying  : glibc-common-2.17-106.el7_2.4.x86_64                                                                                                                                     3/4
  Verifying  : glibc-2.17-106.el7_2.4.x86_64                                                                                                                                            4/4

Removed:
  glibc.x86_64 0:2.17-106.el7_2.4                                                           glibc-common.x86_64 0:2.17-106.el7_2.4

Installed:
  glibc.x86_64 0:2.17-105.el7                                                               glibc-common.x86_64 0:2.17-105.el7

Complete!
3. Install GCC:
Code:
[root@x-01 tmp]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-4.el7 will be installed
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-4.el7.x86_64
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.17-105.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-105.el7 for package: glibc-devel-2.17-105.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-105.el7.x86_64
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-105.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================
 Package                                          Arch                                      Version                                         Repository                                 Size
============================================================================================================================================================================================
Installing:
 gcc                                              x86_64                                    4.8.5-4.el7                                     centos                                     16 M
Installing for dependencies:
 glibc-devel                                      x86_64                                    2.17-105.el7                                    centos                                    1.0 M
 glibc-headers                                    x86_64                                    2.17-105.el7                                    centos                                    661 k

Transaction Summary
============================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 18 M
Installed size: 40 M
Is this ok [y/d/N]: y
Downloading packages:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                        73 MB/s |  18 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : glibc-headers-2.17-105.el7.x86_64                                                                                                                                        1/3
  Installing : glibc-devel-2.17-105.el7.x86_64                                                                                                                                          2/3
  Installing : gcc-4.8.5-4.el7.x86_64                                                                                                                                                   3/3
  Verifying  : glibc-headers-2.17-105.el7.x86_64                                                                                                                                        1/3
  Verifying  : gcc-4.8.5-4.el7.x86_64                                                                                                                                                   2/3
  Verifying  : glibc-devel-2.17-105.el7.x86_64                                                                                                                                          3/3

Installed:
  gcc.x86_64 0:4.8.5-4.el7

Dependency Installed:
  glibc-devel.x86_64 0:2.17-105.el7                                                           glibc-headers.x86_64 0:2.17-105.el7

Complete!

Thanks
 
Old 07-12-2016, 09:34 PM   #3
phang98
LQ Newbie
 
Registered: Jul 2016
Posts: 1

Rep: Reputation: Disabled
Talking

This method is working, I use this to resolve my issue to install glibc.i686 for launch4j-maven-plugin support.
this is what I did,
> yum -y downgrade glibc glibc-common
> yum -y install glibc.i686 ncurses-libs.i686
 
Old 07-20-2016, 01:54 AM   #4
kiranshashiny
LQ Newbie
 
Registered: Jul 2016
Posts: 1

Rep: Reputation: Disabled
Had similar problem with openssl and openssl-libs

Below is some cut and paste of how I got this working for openssl and openssl-libs

# rpm -qa|grep openssl
openssl-libs-1.0.1e-51.el7_2.2.x86_64
openssl-1.0.1e-51.el7_2.2.x86_64

# yum downgrade openssl-libs openssl
Loaded plugins: fastestmirror
.....

Removed:
openssl.x86_64 1:1.0.1e-51.el7_2.2 openssl-libs.x86_64 1:1.0.1e-51.el7_2.2

Installed:
openssl.x86_64 1:1.0.1e-42.el7.9 openssl-libs.x86_64 1:1.0.1e-42.el7.9

Complete!
 
  


Reply

Tags
gcc, glibc, xenserver


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] Circular dependencies when trying to install glibc, glibc-common and others iMochiT Linux - Newbie 5 06-03-2015 11:25 PM
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM
glibc-common tulip4heaven Linux - General 1 05-11-2005 06:01 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 PM.

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