[Spacewalk-list] Client wants to install package that does no longer exist in Spacewalk 1.7

Jens Neu jens.neu at biotronik.com
Thu Feb 21 10:56:24 UTC 2013


Dear list,

I have some weird behaviour on Spacewalk 1.7 (1.7.3-1.el5):

I build my own java-1.7.0-oracle packages for Centos 6 (based on jpp spec 
files), so far so good. Current is 1.7.0.7-2. Then:

- build 1.7.0.13-2, pushed it to Spacewalk, all good
- clients can update to 1.7.0.13-2, all good
- build 1.7.0.15-2, pushed it to Spacewalk, all _seems_ good, then the 
trouble starts
- client does not see the u15 as an upgrade

Troubleshooting done so far:

- removed the 1.7.0.13-2 packages from channels and deleted them, "yum 
clean all && yum update" on client, still sees the no longer existing 
1.7.0.13-2 and wants to install it. Naturally this fails with:

# yum update
[...]
Error Downloading Packages:
  java-1.7.0-oracle-1.7.0.13-2.el6.x86_64: failed to retrieve 
getPackage/java-1.7.0-oracle-1.7.0.13-2.el6.x86_64.rpm from 
biotronik6-x86_64-w0_20130205
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 
404"

# yum list '*java-1.7.0-*'

java-1.7.0-oracle.x86_64             1.7.0.13-2.el6   
biotronik6-x86_64-w0_20130205 
java-1.7.0-oracle-devel.x86_64             1.7.0.13-2.el6    
biotronik6-x86_64-w0_20130205 
java-1.7.0-oracle-jdbc.x86_64             1.7.0.13-2.el6    
biotronik6-x86_64-w0_20130205 
java-1.7.0-oracle-plugin.x86_64             1.7.0.13-2.el6     
biotronik6-x86_64-w0_20130205 
java-1.7.0-oracle-src.x86_64             1.7.0.13-2.el6    
biotronik6-x86_64-w0_20130205 

- build 1.7.0.15-3 just to test, no change. client sees 1.7.0.13-2, but 
nothing newer.

- tried to push 1.7.0.15-3 from spacewalk, run yum clean all && rhn_check 
-vv on client:

# rhn_check -vv
D: check_action{'action': "<?xml 
version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>java-1.7.0-oracle</string></value>\n<value><string>1.7.0.15</string></value>\n<value><string>3.el6</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 
'version': 2, 'id': 51204}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1361436745.34 with expiration of 
1361440345.34 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000012162, 'X-RHN-Auth-Server-Time': 
'1361436745.33', 'X-RHN-Auth': '+i77RJtknDzpDdNEN6Rxqw==', 
'X-RHN-Auth-Channels': [['centos6-x86_64-w0_20130205', '20130205140848', 
'1', '1'], ['custom-3rd-party6-x86_64-w0_20130205', '20130205141705', '0', 
'1'], ['biotronik6-x86_64-w0_20130205', '20130221094958', '0', '1'], 
['spacewalk-client6-1.7-x86_64-w0_20130205', '20130205142140', '0', '1'], 
['centos6-x86_64-updates-w0_20130205', '20130205141540', '0', '1']], 
'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
D: handle_action{'action': "<?xml 
version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>java-1.7.0-oracle</string></value>\n<value><string>1.7.0.15</string></value>\n<value><string>3.el6</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 
'version': 2, 'id': 51204}
D: handle_action actionid = 51204, version = 2
D: do_call packages.update([['java-1.7.0-oracle', '1.7.0.15', '3.el6', '', 
'x86_64']],){'cache_only': None}
Loaded plugins: fastestmirror, refresh-packagekit, rhnplugin, versionlock
D: rpcServer: Calling XMLRPC up2date.listChannels
Determining fastest mirrors
Loading mirror speeds from cached hostfile
D: Called update[['java-1.7.0-oracle', '1.7.0.15', '3.el6', '', 'x86_64']]
D: Sending back response(32, 'Failed: Packages failed to install properly: 
No package(s) available to install', {'version': '1', 'name': 
'package_install_failure'})
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
D: local action status: (0, 'rpm database not modified since last update 
(or package list recently updated)', {})
D: rpcServer: Calling XMLRPC registration.welcome_message

- I did run "spacewalk-data-fsck -vSC -r", did delete a thousand something 
packages, mostly from fc16 which I removed completely some time ago

- A " select * from rhnpackage where build_time > sysdate -6 and SUMMARY 
like 'Oracle%'; " shows exactly what I want to see:

166759  1       18590   58672   119     35      4.8.0   "The Java 
Development Kit (JDK) contains the software and tools that
developers need to compile and debug applets and applications written
using the Java programming language.
"       "Oracle Java Development Kit
"       18138908        66123908        rpmbuild6.biotronik.de  20-FEB-13 
51477   9462360 Red Hat, Inc.   cpio    0 
redhat/1/64e/java-1.7.0-oracle-devel/1.7.0.15-3.el6/x86_64/64e513e175b94b514cc016c4d08085743d00ed5854232e36bb14287a5e4e9355/java-1.7.0-oracle-devel-1.7.0.15-3.el6.x86_64.rpm 
        Oracle Corporation Binary Code License          21-FEB-13 
21-FEB-13       21-FEB-13       456     113408
166755  1       18571   58672   119     35      4.8.0   "The Java Runtime 
Environment (JRE) contains the software and tools
that users need to run applets and applications written using the Java
programming language.
"       "Oracle Java Runtime Environment
"       77365004        208377684       rpmbuild6.biotronik.de  20-FEB-13 
51477   9462346 Red Hat, Inc.   cpio    0 
redhat/1/472/java-1.7.0-oracle/1.7.0.15-3.el6/x86_64/47260d791a3fc90894dff40dbf68a3cbfe801270f022690de7fef3aecfe8620f/java-1.7.0-oracle-1.7.0.15-3.el6.x86_64.rpm 
        Oracle Corporation Binary Code License          21-FEB-13 
21-FEB-13       21-FEB-13       456     123104


I'm pretty clueless so far, any pointers where to digg?

regards
Jens Neu



www.biotronik.com



BIOTRONIK - Celebrating 50 years of excellence

Founded in 1963 with the development of the first German pacemaker, 
BIOTRONIK has brought innovations and the highest quality standards to the 
cardiac rhythm management and vascular intervention fields in more than 
100 countries around the world. We’ve developed advanced technologies such 
as BIOTRONIK Home Monitoring® and Closed Loop Stimulation (CLS), as well 
as the broadest portfolio of cardiac devices with ProMRI®, an advanced 
technology that gives patients access to magnetic resonance (MR) scanning.
BIOTRONIK SE & Co. KG
Woermannkehre 1, 12359 Berlin, Germany
Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501

Vertreten durch ihre Komplementärin:
BIOTRONIK MT SE
Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B
Geschäftsführende Direktoren: Christoph Böhmer, Dr. Werner Braun, Dr. 
Lothar Krings
This e-mail and the information it contains including attachments are 
confidential and meant only for use by the intended recipient(s); 
disclosure or copying is strictly prohibited. If you are not addressed, 
but in the possession of this e-mail, please notify the sender immediately 
and delete the document.





More information about the Spacewalk-list mailing list