[Spacewalk-list] Status of Solaris support

Pierre Casenove pcasenove at gmail.com
Tue Jun 26 11:51:53 UTC 2012


OK, I think the issue is due to commit 52d29ee4980270fb62f9ffab40e94dc10f4b5e96.
extractall is new in python 2.6.
On RHEL5 boxes, I only have python 2.4. Package python26 is available,
but I'm not sure what side effects it would cause on the rest of my
server.


Pierre


2012/6/26 Pierre Casenove <pcasenove at gmail.com>:
> I've modified solaris2mpm to print complete exception encountered:
> # solaris2mpm  119254-84.zip
> Opening archive, this may take a while
> Archive did not expand to /tmp/tmp-ExVZS/119254-84/: ZipFile instance
> has no attribute 'extractall'
> Error creating mpm for /root/workdir/solaris/tmp/119254-84.zip:
> <rhnpush.archive.InvalidArchiveError instance at 0x19657638>
>
> What could cause "Zipfile instance has no attribute 'extract all'"?
>
> Thanks,
>
> 2012/6/26 Pierre Casenove <pcasenove at gmail.com>:
>> Thanks for the commit and the correction.
>> I have two questions on the nvre request:
>> - Why is it failing on pgsql ?
>> - Is it necessary to keep "AS NVRE" as it is not used anymore in the
>> rest of the query?
>>
>> Could you also give me some help on how to debug solaris2mpm issue? In
>> the man page, it is written:
>> "In order to handle these multiple types of archives, the following
>> commands must be installed on the system
>>        which is running the solaris2mpm command: pkgtrans, gunzip,
>> zip, uncompress, and tar"
>> On my setup,n commands pkgtrans and uncompress are missing, in which
>> redhat packages could I find these commands?
>>
>> Thanks in advance,
>>
>> Pierre
>>
>>
>> 2012/6/26 Michael Mraka <michael.mraka at redhat.com>:
>>> Pierre Casenove wrote:
>>> % Hello,
>>> % Please find attached two proposed patches for the 2 ISEs.
>>> % For the NVL keyword, I think the patch is correct, for the other
>>> % issue... well , I founf the solution using this thread
>>> % http://web.archiveorange.com/archive/v/zd19irdQ7ak6NBhBn9sF
>>>
>>> Hi Pierre,
>>>
>>> thanks for the patches. The NVL one is OK, I did a small correction to the
>>> NVRE patch - order by clause missed the first part of original nvre column.
>>> Anyway both changes has been commited (69a1bcc647b89c36b35fcd5a735f6b521b612db4
>>> and e4a6c5bfbc08049536ab6db138abbd7b11c905be).
>>>
>>> % Pierre
>>>
>>> Regards,
>>>
>>> --
>>> Michael Mráka
>>> Satellite Engineering, Red Hat
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list