ACS-Community / ACS

Official ACS community fork
MIT License
28 stars 26 forks source link

Missing file acsPackageInfo-redhat-6.5.rpmref #11

Closed marco-buttu closed 9 years ago

marco-buttu commented 9 years ago

In Scientific Linux 6.5, acsConfigReport fails:

$ acsConfigReport
...
Traceback (most recent call last):
  File "acsConfigReport", ...
    (pack_name, pack_ver, pack_rel)=string.split(myline)
ValueError: need more than 1 value to unpack

That happens because there is not a acsPackageInfo-redhat-6.5.rpmref file:

$ pwd
/alma/ACS-2014.4/ACSSW/config
$ ls acsPackageInfo-*
acsPackageInfo-redhat-5.3.rpmref 
acsPackageInfo-redhat-5.5.rpmref 
acsPackageInfo-RH-WS.rpmref

so acsConfigReport reads the default file acsPackageInfo-RH-WS.rpmref, but some of its lines do not have whitespaces:

$ head -n 3 acsPackageInfo-RH-WS.rpmref
acs-scripts-1-1
alsa-lib-1.0.6-5.RHEL4
alsa-utils-1.0.6-3

and then they can not be splitted in three parts. I opened a tiked and pushed a bugfix for this (#13), but in any case I think we need a acsPackageInfo-redhat-6.5.rpmref in order to produce a trustworthy report for RH 6.5.