无法在Debian上安装Java


0

我刚刚安装了Debian 5.0.6,32位,无法安装Java。

我觉得这很简单

# apt-get install sun-java6-jre

但这是我得到的回应:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate

有任何想法吗?


serverfault.com提问问题
KARASZI István

@KARASZI, 超级用户 可能更合适,因为它涉及特定的软件/硬件。 Serverfault 对于大型网络/企业级软件安装/维护问题的系统管理员来说更多。
David Thomas

Answers:



1

确保您在apt呼吸列表中配置了Java存储库。

在尝试安装之前,请确保执行“apt-get update”。


-1
Update the package index:

# sudo apt-get update

Install yui-compressor deb package:

# sudo apt-get install yui-compressor

我想很多人都想要这个,他们为它做了一个包...很高兴,因为java是一个维持的野兽......

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.