Setting up java-gcj-compat-headless (1.0.80-5.1) ... update-alternatives: error: alternative rmiregistry can't be master: it is a slave of java dpkg: error processing java-gcj-compat-headless (--configure): subprocess installed post-installation script returned error exit status 2 Anyone fixed this?