I have a VPS with Ubuntu Server 10.10 x64.
I tried to install Java using
apt-get install openjdk-6-jre but that fails, see ca-certificates-java fails to install.
Now I would like to install PHP with
sudo apt-get install nginx php5-fpm php-apc php5-pgsql php5-suhosin but that also fails, with the same error message as I had with Java. Why is that? How can I install other applications now after the installation of Java has failed?