checksum error when specifying a new version
grosser opened this issue · comments
set this in hiera
java::update_version: '60'
not getting this:
Error: Could not back up /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre/lib/security/US_export_policy.jar: Got passed new contents for sum {md5}d5d126ae15abecb7d6e3a28b0d57543e
Error: Could not back up /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre/lib/security/US_export_policy.jar: Got passed new contents for sum {md5}d5d126ae15abecb7d6e3a28b0d57543e
Error: /Stage[main]/Java/File[/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre/lib/security/US_export_policy.jar]/content: change from {md5}d5d126ae15abecb7d6e3a28b0d57543e to {md5}3bb2e88a915b3cb003ca185357a92c16 failed: Could not back up /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre/lib/security/US_export_policy.jar: Got passed new contents for sum {md5}d5d126ae15abecb7d6e3a28b0d57543e
@dgoodlad ever see that before ?
fix is
sudo rm /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre/lib/security/local_policy.jar
Weird; hadn't seen this before, and haven't been able to replicate it. If you can show me a consistent way to replicate the issue, I'll have a look.
Just to note I've had the same issue (with updated_version: '67'). The same fix, plus
sudo rm /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/security/US_export_policy.jar
worked for me.