Hi,
it seems that the puppet urpmi backend is invoquing a wrong command when checking if the latest release of a package is installed.
Here is the error message i get:
--
err: //Node[kde]/kde-desktop/install-kde-theme-polyester/Package[kde-style-polyester]: Failed to retrieve current state of resource: Could not get latest version: Execution of '/usr/sbin/urpmi -S available kde-style-polyester' returned 256: Unknown option: S
No package named available
--
I just don't speak ruby so i can really help here but may be you're looking for this urpmq command. For information , here is the output of 'urpmq -S' when several release of the same package are present on different repository:
--
urpmq -S puppet
puppet : System Automation and Configuration Management Software ( 0.24.4-1custom2008.1 )
puppet : System Automation and Configuration Management Software ( 0.23.2-1mdv2008.1 )
--
But may be there's a better to lookup for this information ?
Bug reproduced on Mandriva 2008.1 with puppet-0.24.4-1mdv2008.1
HTH,
Thanks.