the proposed fix is only relying on dpkg-query:
dpkg-query -W -f='name: ${Package}\nversion: ${Version}\n\n'
This command works for all versions and remove the need of having a dedicated script to create this resource.
the proposed fix is only relying on dpkg-query:
dpkg-query -W -f='name: ${Package} \nversion: ${Version}\n\n'
This command works for all versions and remove the need of having a dedicated script to create this resource.