首页 > 技术文章 > 更新ubuntu的对应源配置文件

coxiseed 2019-04-08 17:39 原文

UBUNTU中安装依赖包,出现如下错误:
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u181-b13-1ubuntu0.18.04.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80]
 
解决方法:
 
  sudo -i

  apt-get clean

  cd /var/lib/apt

  mv lists lists.old

  mkdir -p lists/partial

  apt-get clean

  apt-get update
 
成功执行apt-get update, 便可以删除lists.old
 
https://ubuntuforums.org/archive/index.php/t-1910598.html

推荐阅读