[英]debian apt cant find openjdk-8-jdk
im trying to install openjdk-8-jdk as suggested here with the command:我正在尝试使用以下命令按照此处的建议安装 openjdk-8-jdk:
sudo apt-get install openjdk-8-jdk
but apt dosnt find the package.但 apt dosnt 找到包。 i did find it at packages.debian.org manualy and tried to tell apt to also load from there, as suggested on themirrors page of that package by adding the following line to /etc/apt/sources.list
我确实在packages.debian.org manualy上找到了它,并试图告诉apt也从那里加载,如该包的镜像页面所建议的那样,将以下行添加到/etc/apt/sources.list
deb http://ftp.de.debian.org/debian sid main
but apt still cant find the package.但 apt 仍然找不到包。 i also tried to change the
我也试图改变
still no luck.仍然没有运气。
add the following line to /etc/apt/sources.list将以下行添加到 /etc/apt/sources.list
deb http://deb.debian.org/debian/ sid main deb http://deb.debian.org/debian/ sid main
install openjdk8安装 openjdk8
//Update the repositories //更新存储库
$ sudo apt-get update $ sudo apt-get 更新
$ sudo apt-get install -y openjdk-8-jdk $ sudo apt-get install -y openjdk-8-jdk
In fact, I think it is better to search for your question first before ask.事实上,我认为最好先搜索您的问题,然后再提问。
How to install openjdk-8-jdk on Debian 10 (Buster)? 如何在 Debian 10 (Buster) 上安装 openjdk-8-jdk?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.