[Spacewalk-list] API: How can I list and change packages in Package Profile ?

Zhukovski, Dmitry dmitry.zhukovski at maerskoil.com
Wed Jan 26 09:42:22 UTC 2011


Hello Thomas,

  Thank you for the answer. I am doing it in same way now but hoped there is API way.

  Then next question - I am trying to install new system via kickstart synced with some Package Profile. During sync stage scripts find some packages are already installed and fail to continue sync. Is there any way to force to ignore package dependencies and/or installed packages during that stage?

Br,
dmitry

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Tomas Lestach
Sent: 26. januar 2011 10:17
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] API: How can I list and change packages in Package Profile ?

On 01/26/2011 09:05 AM, Zhukovski, Dmitry wrote:
> Hi all,

Hello Dmitry,

>
> Please help me with API - How can I list and change packages in Package
> Profile ?

You can list the packages only on WEBUI. There's no API for that so far
I know. (But feel free to create a RFE bugzilla.)

> I have found API: create/list/compare/delete.. PackageProfile
> but no listPackagesFromPackageProfile. Does it exist ? How can I remove
> some packages from PackageProfile?

You cannot modify package profiles (not even on WebUI). A stored profile
is just a snapshot of installed packages. It's not meant to be edited.
If you need a profile with another package list, you would need to
install all the required packages on a system and create a new profile.

Regards,
Tomas

--
Tomas Lestach
RHN Satellite Engineering, Red Hat

>
> Best regards,
>
> *Dmitry Zhukovski
> *Systems Engineer
> Direct phone + 45 33634022
> dmitry.zhukovski at maerskoil.com <mailto:dmitry.zhukovski at maerskoil.com>
> *Maersk Oil and Gas AS
> *Information Service Department
> Esplanaden 50
> 1263 Copenhagen K.
> Phone. + 45 33634000
> Fax. + 45 33634034
> _http://www.maerskoil.com_
>
>
> ------------------------------------------------------------------------
> This e-mail and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to which they
> are addressed. If you have received this e-mail in error please notify
> the system manager at hotline at maerskoil.com.
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this e-mail in error please notify the system manager at hotline at maerskoil.com.




More information about the Spacewalk-list mailing list