[Spacewalk-list] Cannot update registered systems

Bushby, Bruce (London)(c) bbushby at maninvestments.com
Tue Feb 2 09:07:49 UTC 2010


 
Are you sure the packages you want to update are installed?
 
Try:  
rpm -qa --qf "%{n}-%{version}-%{release}-%{arch}\n" | grep -i <package>
 
yum list | grep -i <package>
 
I'm wondering if there is confusion with the architecture of the
package....rather then the package version.
 

________________________________

From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Jonathan Scott
Sent: 01 February 2010 19:35
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Cannot update registered systems


Here's the output.  Nothing jumps out at me directly as an issue though:


64 # rhn-profile-sync -vvvvvvvvvvvvv

updateLoginInfo() login info
D: login(forceUpdate=True) invoked
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
logging into up2date server
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at  1265052547.4  with expiration of
1265056147.4  seconds.
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': 1000010169, 'X-RHN-Auth-Server-Time':
'1265052547.39', 'X-RHN-Auth': 'eNmvZDlVZUe6uHIF8K2ScQ==',
'X-RHN-Auth-Channels': [['centos5-base-i386', '20100111140235', '1',
'1'], ['centos5-updates-i386', '20100131000102', '0', '1'],
['centos5-spacewalk-client-tools-i386', '20100107225213', '0', '1']],
'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
Updating package profile...
Updating package profile
Updating hardware profile...
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))

65 # rhn_check -vvvvvvvvvvvv

D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
Loaded plugins: fastestmirror, rhnplugin
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))
D: login(forceUpdate=False) invoked
D: readCachedLogin invoked
D: Checking pickled loginInfo, currentTime= 1265052593.28 , createTime=
1265052547.4 , expire-offset= 3600.0
D: readCachedLogin(): using pickled loginInfo set to expire at
1265056147.4
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Loading mirror speeds from cached hostfile
D: local action status:  (0, 'rpm database not modified since last
update (or package list recently updated)', {})
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))


Thanks again for the help troubleshooting this.


- Jonathan


On Mon, Feb 1, 2010 at 14:02, Joshua Roys <joshua.roys at gtri.gatech.edu>
wrote:


	You could try (on a client):
	# rhn-profile-sync -vvvv
	# rhn_check -vvvvvvvvvv
	
	Josh
	
	
	


**********************************************************************
 Please consider the environment before printing this email or its attachments.
The contents of this email are for the named addressees only.  It contains information which may be confidential and privileged.  If you are not the intended recipient, please notify the sender immediately, destroy this email and any attachments and do not otherwise disclose or use them. Email transmission is not a secure method of communication and Man Investments cannot accept responsibility for the completeness or accuracy of this email or any attachments. Whilst Man Investments makes every effort to keep its network free from viruses, it does not accept responsibility for any computer virus which might be transferred by way of this email or any attachments. This email does not constitute a request, offer, recommendation or solicitation of any kind to buy, subscribe, sell or redeem any investment instruments or to perform other such transactions of any kind. Man Investments reserves the right to monitor, record and retain all electronic communications through its network to ensure the integrity of its systems, for record keeping and regulatory purposes. 
Visit us at: www.maninvestments.com 
TG0908
**********************************************************************

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


More information about the Spacewalk-list mailing list