[Spacewalk-list] import errata to spacewalk. Message-ID: <6da7872593d21b2d26755a4662fbad50 at mail.lordy.de>

Kristijan Besu k.besu at levi9.com
Tue May 10 14:11:34 UTC 2016


Thank you Steve!

Well I was suspecting that script works as you have described but still when I open ERRATA info and visit Packages, both i386 and x86_64 packages are present.
I will create/ sync my channels from scratch and come back with the info. I like your script since it is easy to use, and fast, that is why i have to overcome the issue.Thx again,
Kris

________________________________________
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> on behalf of spacewalk-list-request at redhat.com <spacewalk-list-request at redhat.com>
Sent: Friday, May 6, 2016 6:00 PM
To: spacewalk-list at redhat.com
Subject: Spacewalk-list Digest, Vol 96, Issue 14

Send Spacewalk-list mailing list submissions to
        spacewalk-list at redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.redhat.com/mailman/listinfo/spacewalk-list
or, via email, send a message with subject or body 'help' to
        spacewalk-list-request at redhat.com

You can reach the person managing the list at
        spacewalk-list-owner at redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Spacewalk-list digest..."


Today's Topics:

   1. import errata to spacewalk (Kristijan Besu)
   2. Spacewalk Ubuntu client source list (Rose Dowson)
   3. Re: import errata to spacewalk (Steve Meier)


----------------------------------------------------------------------

Message: 1
Date: Fri, 6 May 2016 13:43:13 +0000
From: Kristijan Besu <k.besu at levi9.com>
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: [Spacewalk-list] import errata to spacewalk
Message-ID: <1462542193632.7874 at levi9.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear Steve Meier,


I have a simply question regarding errata-import.pl script. I followed the instruction on following portal:


https://cefs.steve-meier.de/


Script works great, just dont know how to distinguished 64 from 32 errata packages during errata import into the spacewalk since there is no such option included into the  script.


I am running following command:


for example:

SPACEWALK_PASS=xyz SPACEWALK_USER=su-errata /opt/tools/errata-import.pl --server localhost \
--errata errata.latest.xml --include-channels=centos6-updates-x86_64,epel-el6-x86_64 \
--rhsa-oval=/tmp/com.redhat.rhsa-all.xml --publish

but on the end both architectures 64bit and 32bit have been imported to my spacewalk channels. Is there a possibility to add --os-version option or --architecture option.

Please let me know if there is a workaround to this issue?


Thank you in advance,

Kris


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20160506/f02ba1d3/attachment.html>

------------------------------

Message: 2
Date: Fri, 6 May 2016 15:20:36 +0100
From: Rose Dowson <rose20.dowson at gmail.com>
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Spacewalk Ubuntu client source list
Message-ID:
        <CAA3LwtZWVnVFiZ+O1_-+f=5q6LbH5d27EQK1NsKVFV=mNGF6Pw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

   I have installed a ubuntu 12.04 LTS spacewalk client. I want that my
client get updates from spacewalk source list so I run these command line :

echo 'deb spacewalk://spacewalk.hc.lan/XMLRPC channels: precise-main
precise-updates  precise-security precise-backports precise-proposed' > /etc
/apt/sources.list.d/spacewalk.list

#mv /etc/apt/sources.list /etc/apt/sources.list.bak

#apt-get update


But my client always get updates from another source list so I don't know
what is the problem.

Thank you for the help.
Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20160506/1224677b/attachment.html>

------------------------------

Message: 3
Date: Fri, 06 May 2016 17:00:25 +0200
From: Steve Meier <email at steve-meier.de>
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] import errata to spacewalk
Message-ID: <6da7872593d21b2d26755a4662fbad50 at mail.lordy.de>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi Kris,

the answer is simple: You don't need to distinguish between 32 and 64
bit.

The way that the import scripts work is straightforward. For each
erratum all
files for all versions and architectures are listed in the XML file. The
script will then check which of these RPMs is present in your Spacewalk
and
link those to the erratum. It will not download or sync any RPMs into
your
Spacewalk that aren't already there.

Hope this helps.

Kind regards,
   Steve



Am 2016-05-06 15:43, schrieb Kristijan Besu:
> Dear Steve Meier,
>
> I have a simply question regarding errata-import.pl script. I followed
> the instruction on following portal:
>
> https://cefs.steve-meier.de/
>
> Script works great, just dont know how to distinguished 64 from 32
> errata packages during errata import into the spacewalk since there is
> no such option included into the  script.
>
> I am running following command:
>
> for example:
>
> SPACEWALK_PASS=xyz SPACEWALK_USER=su-errata
> /opt/tools/errata-import.pl --server localhost \
> --errata errata.latest.xml
> --include-channels=centos6-updates-x86_64,epel-el6-x86_64 \
> --rhsa-oval=/tmp/com.redhat.rhsa-all.xml --publish
>
> but on the end both architectures 64bit and 32bit have been imported
> to my spacewalk channels. Is there a possibility to add --os-version
> option or --architecture option.
>
> Please let me know if there is a workaround to this issue?
>
> Thank you in advance,
>
> Kris
> _______________________________________________
> 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

End of Spacewalk-list Digest, Vol 96, Issue 14
**********************************************




More information about the Spacewalk-list mailing list