I think it is clear: when installing java5, this error appears. OC debian.
user321:~# apt-get install -y sun-java5-jreReading package lists... DoneBuilding dependency treeReading state information... DoneE: Unable to locate package sun-java5-jre If you have Debian Lenni, then this should work (using the example of the JDK)
sudo -iexport "deb http://mirrors.kernel.org/debian/ lenny main non-freedeb-src http://mirrors.kernel.org/debian/ lenny main non-free" >> /etc/apt/sources.listexport "deb http://security.debian.org/ lenny/updates main non-freedeb-src http://security.debian.org/ lenny/updates main non-free" >> /etc/apt/sources.listapt-get updateapt-get install sun-java5-jdk If not Lenni, there may be problems.
Source: https://ru.stackoverflow.com/questions/338770/
All Articles