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: [email protected] <[email protected]> on 
behalf of [email protected] <[email protected]>
Sent: Friday, May 6, 2016 6:00 PM
To: [email protected]
Subject: Spacewalk-list Digest, Vol 96, Issue 14

Send Spacewalk-list mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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 <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Spacewalk-list] import errata to spacewalk
Message-ID: <[email protected]>
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 <[email protected]>
To: [email protected]
Subject: [Spacewalk-list] Spacewalk Ubuntu client source list
Message-ID:
        <CAA3LwtZWVnVFiZ+O1_-+f=5q6LbH5d27EQK1NsKVFV=mngf...@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 protected]>
To: [email protected]
Subject: Re: [Spacewalk-list] import errata to spacewalk
Message-ID: <[email protected]>
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
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list



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

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

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

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to