系统相关
首页 > 系统相关> > Err:12 http://security.ubuntu.com/ubuntu focal-updates/main amd64 openjdk-11-jre-headless amd64 11.0

Err:12 http://security.ubuntu.com/ubuntu focal-updates/main amd64 openjdk-11-jre-headless amd64 11.0

作者:互联网

1、问题

Err:12 http://security.ubuntu.com/ubuntu focal-updates/main amd64 openjdk-11-jre-headless amd64 11.0.11+9-0ubuntu2~20.04
404 Not Found [IP: 91.189.88.152 80]

apt install openjdk-11-jre-headless  ## 安装java环境出现如下报错

 

 

2、解决方法

apt update

 

3、测试

apt install openjdk-11-jre-headless -y

 

root@DESKTOP-1N42TVH:/home/software/frontend# java --version
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

 

标签:11,jre,amd64,openjdk,11.0,ubuntu
来源: https://www.cnblogs.com/liujiaxin2018/p/15754913.html