opscode-cookbooks/java — pull request #45 by berngp (2013-03-09 01:33:14+00:00)
Title: COOK-2563: Installation fails when we have a dirty '/var/lib/alternatives/#{cmd}'

The install will fail if `update-alternatives --display` shows now reference of a given command but there is one in the `/var/lib/alternatives` directory. Apparently this might be caused by a previous install of a package.
To fix the problem we need to remove any reference of the command in `/var/lib/alternatives`.