[Spacewalk-list] yum update dependency issues

Rick Voormolen rick at voormolen.org
Thu Apr 9 14:39:39 UTC 2009


All,

I have the same issue here. When I remove the devel packages and
install the packages again I'm able to upgrade without problems.

When I look in Spacewalk the packages are in. rpm -e and yum -y
install is installing without problems.

Is there any bug in the package list generation when using upgrade?

Regards,
Rick

On Wed, Apr 8, 2009 at 10:48 PM, Matt Carey <cvstealth2000 at yahoo.com> 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
>




More information about the Spacewalk-list mailing list