On 12/13/2013 03:24 PM, Diep, David (OCTO-Contractor) wrote:
Hi guys,Has anyone ever had this issue and have resolved it? I've tried everything I could think of, but I keep ending up at failure's door. I am trying to install gcc make, but I get stonewalled with dependencies... I think there is a mix up between 31 bit and 64 bit packages? --> Running transaction check ---> Package gcc.s390x 0:4.4.6-3.el6 will be installed --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.s390x --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.s390x --> Running transaction check ---> Package gcc.s390x 0:4.4.6-3.el6 will be installed --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.s390x ---> Package glibc-devel.s390x 0:2.12-1.47.el6 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6 for package: glibc-devel-2.12-1.47.el6.s390x --> Processing Dependency: glibc = 2.12-1.47.el6 for package: glibc-devel-2.12-1.47.el6.s390x --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6.s390x --> Running transaction check ---> Package gcc.s390x 0:4.4.6-3.el6 will be installed --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.s390x ---> Package glibc.s390 0:2.12-1.47.el6 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6 for package: glibc-2.12-1.47.el6.s390 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6.s390 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6.s390 ---> Package glibc-headers.s390x 0:2.12-1.47.el6 will be installed --> Running transaction check ---> Package gcc.s390x 0:4.4.6-3.el6 will be installed --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.s390x ---> Package glibc.s390 0:2.12-1.47.el6 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6 for package: glibc-2.12-1.47.el6.s390 ---> Package nss-softokn-freebl.s390 0:3.12.9-11.el6 will be installed --> Finished Dependency Resolution Error: Package: glibc-2.12-1.47.el6.s390 (RHEL62) Requires: glibc-common = 2.12-1.47.el6 Installed: glibc-common-2.12-1.80.el6_3.6.s390x (@rhel-6-for-system-z-rpms) glibc-common = 2.12-1.80.el6_3.6 Available: glibc-common-2.12-1.47.el6.s390x (RHEL62) glibc-common = 2.12-1.47.el6 Error: Package: gcc-4.4.6-3.el6.s390x (RHEL62) Requires: cpp = 4.4.6-3.el6 Installed: cpp-4.4.7-3.el6.s390x (@rhel-6-for-system-z-rpms) cpp = 4.4.4-15.el6 cpp = 4.4.7-3.el6 Available: cpp-4.4.6-3.el6.s390x (RHEL62) cpp = 4.4.6-3.el6 cpp = 4.4.4-15.el6 I check and I see that I already have the packages installed: Setting up Install Process Package matching glibc-2.12-1.47.el6.s390x already installed. Checking for update. Nothing to do Setting up Install Process Package matching cpp-4.4.6-3.el6.s390x already installed. Checking for update. Nothing to do # rpm -qa | grep glibc glibc-2.12-1.80.el6_3.6.s390x glibc-common-2.12-1.80.el6_3.6.s390x # rpm -qa | grep cpp cpp-4.4.7-3.el6.s390x A little frustrating... anything you guys can suggest so I can get over this hurdle would be much appreciated. David Diep
Hi David. From a quick look at the transaction log you are showing it seems that you're using multiple repositories for installation, at least: rhel-6-for-system-z-rpms RHEL62 and the 2 errors listed in the transaction log show a conflict between those 2 repositories. In detail: Error: Package: glibc-2.12-1.47.el6.s390 (RHEL62) That one can't be installed because it requires glibc-common-2.12-1.47.el6 to be installed which would be available in the RHEL62 repository, but your current installed version of glibc (and glibc-common) is already glibc-common-2.12-1.80.el6_3.6. And as you can't have 2 different versions of glibc installed at the same time on the system rpm tells you that it can't perform that. The other one is similar: Error: Package: gcc-4.4.6-3.el6.s390x (RHEL62) Says that the gcc-4.4.6 package is being requested to be installed which requires the cpp-4.4.6 package (again available from RHEL62 repo). Again the system already has a newer version installed, cpp-4.4.7 from the rhel-6-for-system-z-rpms repository and here, same as for glibc, rpm can install both at the same time and tells you it can't perform that transaction. The solution here is to downgrade the packages and tell rpm this is really what you want to do. So something like this should do the trick: rpm -Uvh --oldpackage glibc-2.12-1.47.el6.s390.rpm glibc-2.12-1.47.el6.s390x.rpm glibc-common-2.12-1.47.el6.s390.rpm glibc-common-2.12-1.47.el6.s390x.rpm should do it for glibc and rpm -Uvh --oldpackage gcc-4.4.6-3.el6.s390x.rpm cpp-4.4.6-3.el6.s390x.rpm for the gcc case. If you want to use yum for handling all the necessary steps that might work as well, using: yum downgrade glibc-2.12-1.47.el6 gcc-4.4.6-3.el6 cpp-4.4.6-3.el6 If any of those fail rpm should give you an indication to other packages that might have to downgraded as well. The basic issue here is the mix of a RHEL-6.2 and a RHEL-6.3 repository where the majority of the system is a RHEL-6.3 system already. Any installation or upgrade specifying a RHEL-6.2 package is, from a rpm and yum perspective, not an upgrade but a downgrade and has to be explicitly requested (--oldpackage resp. downgrade). Hope this sheds a bit of light on this. And feel free to poke me if the chain should get longer and can't be easily untangled. Thanks & regards, Phil -- Philipp Knirsch | Tel.: +49-711-96437-470 Manager Core Services | Fax.: +49-711-96437-111 Red Hat GmbH | Email: Phil Knirsch <[email protected]> Wankelstrasse 5 | Web: http://www.redhat.com/ D-70563 Stuttgart, Germany ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
