原文:WSL2 Ubuntu apt-get update失败

情况: 这个问题在github上也有讨论:https: github.com microsoft WSL issues 不过经过我的尝试,是DNS问题,这是默认的配置: 这个配置来自windows为WSL的虚拟ip地址: 解决方案是将DNS server更换为google的 . . . 。 直接修改的会发有如下问题: 使用nano修改: Ctrl X退出,Y确认,回车返回。 再次查看: 修改成功了 ...

2020-03-26 16:56 0 2181 推荐指数:

查看详情

ubuntu apt-get update 失败解决

问题描述: W: Failed to fetch http://mirrors.aliyun.com/debian/dists/wheezy/InRelease Temporary failure ...

Wed Apr 17 00:33:00 CST 2019 0 2474
ubuntu apt-get update 失败解决

转自:https://blog.csdn.net/ronghua_liu/article/details/8609450 当运行apt-get update后出现如下错误时:E: Some index files failed to download, they have been ...

Wed Nov 14 22:54:00 CST 2018 0 2665
ubuntu apt-get update 失败解决

运行apt-get update出现 所使用的源镜像地址被墙掉了,换个国内的镜像地址 修改 /etc/apt/sources.list中的 cn.archive.ubuntu.com换成mirrors.aliyun.com    ...

Thu Mar 02 21:40:00 CST 2017 0 9345
解决ubuntu的Docker中apt-get update失败问题

apt-get update失败,ping ip是可以通的,但是ping网址失败,所以是DNS的问题 1.首先使用命令查找宿主机的DNS server,命令: nmcli dev show | grep 'IP4.DNS' 2. 然后create一个文件,使用 ...

Sat Nov 28 01:02:00 CST 2020 0 358
[Ubuntu] sudo apt-get update指令执行失败

系统:Ubuntu 16.04 LTS 安装软件前执行 sudo apt-get update 更新,但是提示失败如下: 网上搜索后,因为连接不到 US 的服务器,所以更新失败,需要在系统设置中将源服务器设置为中国的 设置步骤如下:1、2、3 设置后同样提示 ...

Sun Oct 20 21:33:00 CST 2019 0 3990
Ubuntu系统 apt-get update失败解决办法

使用apt-get的时候发现ubuntu和阿里云均已经不提供该版本的源,所以需要找到其他的替代源。 使用的ubuntu版本是14.10,属于非LTS(长期支持版本),因此前一段时间还可以使用apt-get update来更新源,现在已提示更新失败,无法下载,无法访问了。现提供一种解决思路供 ...

Tue Jul 16 06:05:00 CST 2019 0 2461
ubuntu sudo apt-get update 失败 解决方法

sudo apt-get update 报了一堆错误: Err http://cn.archive.ubuntu.com trusty InRelease Err http://cn.archive.ubuntu.com trusty-updates InRelease ...

Mon May 16 03:46:00 CST 2016 2 63208
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM