[Spacewalk-list] yum-rhn-plugin

Jonathan DeHaan jdehaan at nexstar.tv
Thu Nov 17 22:58:32 UTC 2011


I have run into a very strange issue with yum-rhn-plugin. I'd appreciate 
it if someone could point me in the right direction.

Running Spacewalk 1.5 with Oracle XE backend on Fedora 14 x64.
Clients are Fedora 15 x64, with the Fedora repositories disabled.
If I read the error messages correctly, it's telling me that there is a 
dependency error that the package it depends on is installed?

[jdehaan at txdalof1dev045 ~]$ sudo rm -rf /var/cache/yum/
[jdehaan at txdalof1dev045 ~]$ sudo rhn_check
[jdehaan at txdalof1dev045 ~]$ sudo yum install php-pecl-xdebug
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-xdebug.x86_64 0:2.1.2-1.fc15 will be installed
--> Processing Dependency: php(api) = 20090626-x86-64 for package: 
php-pecl-xdebug-2.1.2-1.fc15.x86_64
--> Processing Dependency: php(zend-abi) = 20090626-x86-64 for package: 
php-pecl-xdebug-2.1.2-1.fc15.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-xdebug-2.1.2-1.fc15.x86_64 (f15updates)
            Requires: php(api) = 20090626-x86-64
            Installed: php-common-5.3.8-3.fc15.x86_64 (@f15updates)
                php(api) = 20090626
                php(api) = 20090626-x86-64
            Available: php-common-5.3.6-2.fc15.x86_64 (f15base)
                php(api) = 20090626-x86-64
                php(api) = 20090626
Error: Package: php-pecl-xdebug-2.1.2-1.fc15.x86_64 (f15updates)
            Requires: php(zend-abi) = 20090626-x86-64
            Installed: php-common-5.3.8-3.fc15.x86_64 (@f15updates)
                php(zend-abi) = 20090626
                php(zend-abi) = 20090626-x86-64
            Available: php-common-5.3.6-2.fc15.x86_64 (f15base)
                php(zend-abi) = 20090626-x86-64
                php(zend-abi) = 20090626
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

However, if I download the RPM directly and do a localinstall, it works.

[jdehaan at txdalof1dev045 ~]$ wget --no-check-certificate 
https://txdalof1dev114.nexstar.tv/download/package/267970d6d6b552bb323d19d29c62c1de89623c9b/1321605952590/1/1790/php-pecl-xdebug-2.1.2-1.fc15.x86_64.rpm
<output suppressed>
[jdehaan at txdalof1dev045 ~]$ sudo yum localinstall 
php-pecl-xdebug-2.1.2-1.fc15.x86_64.rpm
Loaded plugins: rhnplugin
Setting up Local Package Process
Examining php-pecl-xdebug-2.1.2-1.fc15.x86_64.rpm: 
php-pecl-xdebug-2.1.2-1.fc15.x86_64
Marking php-pecl-xdebug-2.1.2-1.fc15.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-xdebug.x86_64 0:2.1.2-1.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
  Package                                        
Arch                                  
Version                                        
Repository                                                           Size
=============================================================================================
Installing:
  php-pecl-xdebug                                
x86_64                                
2.1.2-1.fc15                                   
/php-pecl-xdebug-2.1.2-1.fc15.x86_64                                618 k

Transaction Summary
=============================================================================================
Install       1 Package(s)

Total size: 618 k
Installed size: 618 k
Is this ok [y/N]:

Also, if I disable the base and child channels which contain the two 
RPMs for php-common and enable the regular Fedora updates channel, it works.

[jdehaan at txdalof1dev045 ~]$ sudo yum --disablerepo=f15base 
--disablerepo=f15updates --enablerepo=updates install php-pecl-xdebug
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-xdebug.x86_64 0:2.1.2-1.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
  Package                                                
Arch                                          
Version                                             
Repository                                      Size
=============================================================================================
Installing:
  php-pecl-xdebug                                        
x86_64                                        
2.1.2-1.fc15                                        
updates                                        138 k

Transaction Summary
=============================================================================================
Install       1 Package(s)

Total download size: 138 k
Installed size: 618 k
Is this ok [y/N]:

No output in catalina.out on server or /var/log/messages on client 
during these commands.

Any clues?

-- 
Jonathan DeHaan
Linux Systems Engineer




More information about the Spacewalk-list mailing list