ACS-Community / ACS

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

There is no queryformat in `rpm -qa` when generating a rpmref file #14

Closed marco-buttu closed 10 years ago

marco-buttu commented 10 years ago

The execution of acsConfigReport with the switch -g generated not well-formed lines in the rpmref file:

$ pwd
/alma/ACS-2014.4/ACSSW/bin
$ ./acsConfigReport -g

File ./acsPackageInfo-redhat-6.5.rpmref created in local directory.
Please move it to ../config directory.

$ head -n 2 acsPackageInfo-redhat-6.5.rpmref 
abyssinica-fonts-1.0-5.1.el6.noarch
acl-2.2.49-6.el6.x86_64

The expected output of head should be:

abyssinica-fonts 1.0 5.1.el6
acl 2.2.49 6.el6

That happens because we are using the rpm -q command without specifying a queryformat.