liedekef / spacewalk_scripts

Several spacewalk scripts
52 stars 25 forks source link

EPEL errata for CentOS - Not an ARRAY reference at /opt/ya-errata-import/ya-errata-import.pl line 291. #9

Closed KonanA closed 10 years ago

KonanA commented 10 years ago

I get the following error when importing errata for EPEL - Not an ARRAY reference at /opt/ya-errata-import/ya-errata-import.pl line 291.

Not sure if it's a miss-use on my side or it's something with the script.

Errata download: wget -q --no-cache http://dl.fedoraproject.org/pub/epel/5/i386/repodata/updateinfo.xml.gz

Debug output: [11:33][root@spacemon ~ ]# /opt/ya-errata-import/ya-errata-import.pl --epel_errata /root/updateinfo.xml --server 127.0.0.1 --channel epel5-i386-repo --os-version 5 --architecture i386 --testrun --debug INFO: Setting the OS variant to CentOS, if this is wrong please add the --redhat option DEBUG: Version is 20130912 INFO: Server is running API version 13 INFO: API version is supported INFO: Authentication successful INFO: Checking if channel epel5-i386-repo exists on 127.0.0.1 INFO: Determining architecture for channel epel5-i386-repo INFO: Listing all packages in epel5-i386-repo DEBUG: Package ID 12376 is 389-admin-1.1.29-1.el5.i386.rpm ==== output omitted ===== INFO: Listing all errata in epel5-i386-repo INFO: Loading errata INFO: Loading XML Update file /tmp/epel-errata_i386/updateinfo.xml... DEBUG: XML Update file loaded successfully DEBUG: Errata FEDORA-EPEL-2011-3286 has package testdisk-6.12-1.el5.i386.rpm ==== output omitted ====== Not an ARRAY reference at /opt/ya-errata-import/ya-errata-import.pl line 291.

liedekef commented 10 years ago

Fixed in the current gethub version.

KonanA commented 10 years ago

Thanks for the fix - it works now!