相关文章推荐
小胡子的皮带  ·  C# 中的ushort - CSDN文库·  1 月前    · 
星星上的热带鱼  ·  theme = ...·  2 周前    · 
好帅的冲锋衣  ·  ModuleNotFoundError: ...·  3 天前    · 
踏实的汉堡包  ·  C# ...·  1 年前    · 
打篮球的骆驼  ·  access VBA ...·  1 年前    · 
解决ubuntu/linuxmint错误: Failed to download repository information Check your Internet connection
最新推荐文章于 2023-05-08 16:44:58 发布
最新推荐文章于 2023-05-08 16:44:58 发布

可能也是解决linuxmint连接无线网的方法

解决ubuntu/linuxmint错误: Failed to download repository information Check your Internet connection

在更新Ubuntu的过程中,最常见的错误之一,无论是通过软件更新程序还是终端,都是“下载库信息失败,请检查您的互联网连接。

但是,这是一个常见的错误,适用于任何Ubuntu更新错误。你需要知道的是它到底出了什么问题。为此,你必须使用终端机。

打开终端应用程序,使用以下命令:

sudo apt-get update

将会有一个巨大的产出。别担心。命令运行结束后,请仔细查看最后两到三行。在这里你会发现准确的错误。

W:Failed to fetch bzip2:/var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric_restricted_binary-i386_Packages Hash Sum mismatch
W:Failed to fetch bzip2:/var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric_multiverse_binary-i386_Packages Hash Sum mismatch
E:Some index files failed to download. They have been ignored, or old ones used instead

如您所见,错误是“散列和不匹配”。如果您没有看到此错误,请尝试本教程修复“下载库信息失败”错误。

这个问题的一个解决方案,一直为我工作,是在终端运行以下命令:

(干掉apt的缓存,mmp)

sudo rm -rf /var/lib/apt/lists/* 
sudo apt-get update

我希望这个小窍门对你也有帮助。

update出现的报错的源,把这些源删掉,详细参考这篇文章,写的详细 https://blog.csdn.net/wangweiwells/article/details/88071636 只需使用以下内容替换 /etc/apt/sources.list 中的内容: #deb cdrom:[ Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted deb http://archive. ubuntu .com/ ubuntu xenial main restricted uni... 更换阿里源(根据个人喜好) deb http://mirrors.aliyun.com/ ubuntu / bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ ubuntu / bionic main restricted universe multiverse Ubuntu 18.04更改软件源失败,参考国外的一篇博客: https://itsfoss.com/ failed -to- download - repository - information - ubuntu -13-04/ Err:84 http://us.archive. ubuntu .com/ ubuntu bionic-backports/main arm64 Packages 404 Not Found [IP: 91.189.91.38 80] Failed to download package files Check your Internet connection . 在 Ubuntu 更新中,谁没有碰见个 错误 ?在 Ubuntu 和其它基于 Ubuntu Linux 发行版中,更新 错误 是一个共性的 错误 ,也经常发生。这些 错误 出现的原因多种多样,修复起来也很简单。在本文中,我们将见到 Ubuntu 中各种类型频繁发生的更新 错误 以及它们的修复方法。合并列表问题当你在终端中运行更新命令时,你可能会碰到这个 错误 “合并列表 错误 ”(http://itsfoss.com/how-to-fix-... sudo apt-get update 查看显示,可以发现有些软件的源的链接已经失效,比如E: The repository 'http://ppa.launchpad.net/bumblebee/... 操作系统: Ubuntu Desktop 20.04.2 Ubuntu 启动后,通过SSH远程连接,产生如下输出: Welcome to Ubuntu 20.04.2 LTS (GNU/ Linux 5.8.0-45-generic x86_64) * Documentation: https://help. ubuntu .com * Management: https://landscape.canonical.com Failed to connect to https://changelogs. ubuntu .com/meta-release. Check your Internet connection or proxy settings Failed to connect to https://changelogs. ubuntu .com/meta-release-lts. Check your Internet connection or proxy settings // A 可能是网络配置写错了,比如DNS写错了等,也可能是bug。 脚本/etc/update-motd.d/91-release-upgrade运行的同时会简介运行/usr/lib/ ubuntu -release-upgrader/release-upgrade-motd,