[Spacewalk-list] yum update dependency issues

Matt Carey cvstealth2000 at yahoo.com
Fri Apr 10 14:43:29 UTC 2009


I get a 404 when trying to get the package from the webgui. But I'm able to get the gcc package with no issue:
[root at stewie ~]# wget --no-check-certificate https://spacewalk/download/package/0bfbf18a2ad2394ef8e15ab42eefff2fc5e694cf/1239409661708/1/10981/libstdc++-4.1.2-44.el5.x86_64.rpm--14:39:21--  https://spacewalk/download/package/0bfbf18a2ad2394ef8e15ab42eefff2fc5e694cf/1239409661708/1/10981/libstdc++-4.1.2-44.el5.x86_64.rpm
Resolving spacewalk... 10.100.0.61
Connecting to spacewalk|10.100.0.61|:443... connected.
WARNING: cannot verify spacewalk's certificate, issued by `/C=US/ST=VA/L=Sterling/O=Example/OU=Example/CN=spacewalk':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 404 Not Found
14:39:24 ERROR 404: Not Found.


[root at stewie ~]# wget --no-check-certificate https://spacewalk.example.com/download/package/c81fa3709a8b3f65fcedde3b2c3601a2a34e5e42/1239409813611/1/12172/gcc-4.1.2-44.el5.x86_64.rpm
--14:40:08--  https://spacewalk.example.com/download/package/c81fa3709a8b3f65fcedde3b2c3601a2a34e5e42/1239409813611/1/12172/gcc-4.1.2-44.el5.x86_64.rpm
Resolving spacewalk.example.com... 10.100.0.61
Connecting to spacewalk.example.com|10.100.0.61|:443... connected.
WARNING: cannot verify spacewalk.example.com's certificate, issued by `/C=US/ST=VA/L=Sterling/O=Example/OU=Example/CN=spacewalk':
  Unable to locally verify the issuer's authority.
WARNING: certificate common name `spacewalk' doesn't match requested host name `spacewalk.example.com'.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: `gcc-4.1.2-44.el5.x86_64.rpm'

    [   <=>                                                                                                                                   ] 5,552,941   9.78M/s   in 0.5s   

14:40:08 (9.78 MB/s) - `gcc-4.1.2-44.el5.x86_64.rpm' saved [5552941]





________________________________
From: Alexandros Soumplis <soumplis at ekt.gr>
To: spacewalk-list at redhat.com
Sent: Friday, April 10, 2009 10:07:01 AM
Subject: Re: [Spacewalk-list] yum update dependency issues

If you try to download the package libstdc++ through
the web ui what happens ? 
Maybe it is related to what I have posted earlier today as I have a
similar problem.

Matt Carey wrote: 
I currently have a Spacewalk .5 install on a CentOS 5 server
with CentOS 5 clients.  On the clients I used the rhnreg_ks python
script to register them with the Spacewalk server. The clients appear
to see the CentOS 5 created channels properly:
[root at stewie pxelinux.cfg]# yum info | head -n 5
Loading "rhnplugin" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * centos5-updates-x86_64: spacewalk.example.com
 * centos5-base-x86_64: spacewalk.example.com
Exiting on Broken Pipe
[root at stewie pxelinux.cfg]# yum repolist
Loading "rhnplugin" plugin
Loading "fastestmirror" plugin
repo id              repo name                                 status
centos5-base-x86_64  None                                      enabled
centos5-updates-x86_ None                                      enabled

Most of the clients are CentOS 5.2 and the channels they see have the
CentOS 5.3 RPMs and when I do a yum update on the clients they are
throwing dependency errors:
[root at stewie pxelinux.cfg]# yum update
Loading "rhnplugin" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * centos5-updates-x86_64: spacewalk.example.com
 * centos5-base-x86_64: spacewalk.example.com
centos5-updates-x86_64    100% |=========================|  871 B   
00:00     
centos5-base-x86_64       100% |=========================|  871 B   
00:00     
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glx-utils.x86_64 0:6.5.1-7.7.el5 set to be updated
<snip>
--> Processing Dependency: libstdc++ = 4.1.2-44.el5 for package:
libstdc++-devel
--> Finished Dependency Resolution
Error: Missing Dependency: libstdc++ = 4.1.2-44.el5 is needed by
package gcc-c++
Error: Missing Dependency: libstdc++ = 4.1.2-44.el5 is needed by
package libstdc++-devel
Error: Missing Dependency: gcc = 4.1.2-44.el5 is needed by package
gcc-gfortran
Error: Missing Dependency: cpp = 4.1.2-44.el5 is needed by package gcc
Error: Missing Dependency: libgfortran = 4.1.2-44.el5 is needed by
package gcc-gfortran
Error: Missing Dependency: libgcc >= 4.1.2-44.el5 is needed by
package gcc
Error: Missing Dependency: libstdc++-devel = 4.1.2-44.el5 is needed by
package gcc-c++
Error: Missing Dependency: gcc = 4.1.2-44.el5 is needed by package
gcc-c++

Running a yum list on the clients it looks like those RPMs are all
within my channels:
[root at stewie pxelinux.cfg]# yum list |grep "4.1.2-44"
cpp.x86_64                               4.1.2-44.el5          
centos5-base-x86
gcc.x86_64                               4.1.2-44.el5          
centos5-base-x86
gcc-c++.x86_64                           4.1.2-44.el5          
centos5-base-x86
gcc-gfortran.x86_64                      4.1.2-44.el5          
centos5-base-x86
gcc-gnat.x86_64                          4.1.2-44.el5          
centos5-base-x86
gcc-java.x86_64                          4.1.2-44.el5          
centos5-base-x86
gcc-objc.x86_64                          4.1.2-44.el5          
centos5-base-x86
gcc-objc++.x86_64                        4.1.2-44.el5          
centos5-base-x86
libgcc.x86_64                            4.1.2-44.el5          
centos5-base-x86
libgcc.i386                              4.1.2-44.el5          
centos5-base-x86
libgcj.i386                              4.1.2-44.el5          
centos5-base-x86
libgcj.x86_64                            4.1.2-44.el5          
centos5-base-x86
libgcj-devel.x86_64                      4.1.2-44.el5          
centos5-base-x86
libgcj-devel.i386                        4.1.2-44.el5          
centos5-base-x86
libgcj-src.x86_64                        4.1.2-44.el5          
centos5-base-x86
libgfortran.i386                         4.1.2-44.el5          
centos5-base-x86
libgfortran.x86_64                       4.1.2-44.el5          
centos5-base-x86
libgnat.x86_64                           4.1.2-44.el5          
centos5-base-x86
libgnat.i386                             4.1.2-44.el5          
centos5-base-x86
libmudflap.i386                          4.1.2-44.el5          
centos5-base-x86
libmudflap.x86_64                        4.1.2-44.el5          
centos5-base-x86
libmudflap-devel.x86_64                  4.1.2-44.el5          
centos5-base-x86
libmudflap-devel.i386                    4.1.2-44.el5          
centos5-base-x86
libobjc.i386                             4.1.2-44.el5          
centos5-base-x86
libobjc.x86_64                           4.1.2-44.el5          
centos5-base-x86
libstdc++.i386                           4.1.2-44.el5          
centos5-base-x86
libstdc++.x86_64                         4.1.2-44.el5          
centos5-base-x86
libstdc++-devel.x86_64                   4.1.2-44.el5          
centos5-base-x86
libstdc++-devel.i386                     4.1.2-44.el5          
centos5-base-x86

Is there any reason that the clients wouldn't be finding the required
dependencies in the channels if they all exist? Any help with this
would be greatly appreciated.

Regards, Matt





________________________________

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Soumplis Alexandros
Systems Engineer
National Documentation Center /N.H.R.F.
Information Systems Department
48, Vas. Constantinou Av.
116 35 Athens, Greece
phone: +30 210 7273984  fax: +30 210 7252223
email: soumplis at ekt.grhttp://www.ekt.gr


--------------------------------------------------------------------
This email is digitally signed by EKT in order to ensure its
integrity and authenticity. EKT participates in the HARICA Public
Key Infrastructure, the Certification Authority of GRNET. You can
install the HARICA root certificate at http://www.harica.gr/trust.php
---------------------------------------------------------------------


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090410/5af27d41/attachment.htm>


More information about the Spacewalk-list mailing list