[Spacewalk-list] Its not working 'spacecmd system_listupgrades spwclient *'

fnwsa at yahoo.com fnwsa at yahoo.com
Thu Aug 30 13:58:42 UTC 2012


I've just remembered I got the same issue. It is not working if using 'spacecmd xxx xxx xxx', but it's working under spacecmd prompt, for the same task.


nz



________________________________
 From: Jan Hutař <jhutar at redhat.com>
To: fnwsa at yahoo.com; spacewalk-list at redhat.com 
Sent: Thursday, August 30, 2012 12:30:37 AM
Subject: Re: [Spacewalk-list] Its not working 'spacecmd system_listupgrades spwclient *'
 
On Mon, 20 Aug 2012 08:47:33 -0700 (PDT) fnwsa at yahoo.com wrote:

> It seems to be working with the other way, don't know why:
> 
> 
> # spacecmd
> spacecmd {SSM:0}> system_upgradepackage spwclient *
> Upgrade these packages [y/N]: 
> y
> ...............................
> (package list)
> ...............................
> INFO: Scheduled 1 system(s)
> spacecmd 
> {SSM:0}>
>  
> nz
> 
> 
> 
> ________________________________
>  From: "fnwsa at yahoo.com" <fnwsa at yahoo.com>
> To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com> 
> Sent: Monday, August 20, 2012 11:27:20 AM
> Subject: [Spacewalk-list] Its not working 'spacecmd
> system_listupgrades spwclient *' 
> 
> Hi,
> I've got errors when using spacecmd to upgrade the test client:
> 
> # spacecmd system_listupgrades spwclient
> INFO: Connected to https://localhost/rpc/api as spwadmin
> Deployment_Guide-en-US-5.8-1.el5.noarch
> ImageMagick-6.2.8.0-15.el5_8.i386
> ImageMagick-6.2.8.0-15.el5_8.x86_64
> NetworkManager-0.7.0-13.el5:1.i386
> NetworkManager-0.7.0-13.el5:1.x86_64
> ................................................................
> 
> # spacecmd system_upgradepackage spwclient *
> INFO: Connected to https://localhost/rpc/api as spwadmin
> WARNING: No packages to install
> 
> Please
>  help!
> 
> 
> nz

I'm not using spacecmd tool, but isn't shell expanding you
asterisk to names of your local files and as you do not have
packages to upgrade called as your local files, saying 'No
packages to install'?

What about this?
  # spacecmd system_upgradepackage spwclient '*'

Regards,
Jan



-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120830/34882a56/attachment.htm>


More information about the Spacewalk-list mailing list