相关疑难解决方法(0)

由于“哈希和不匹配”错误而无法下载软件包列表

当我检查更新时,出现“无法下载存储库信息”错误。

这是详细信息下的内容:

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources  Hash Sum mismatch, 
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)

apt

431
推荐指数
9
解决办法
40万
查看次数

无法获取...哈希总和不匹配。试过 rm apt/list 但没有用

正如您在标题中看到的,我收到了“无法获取...哈希和不匹配”错误。我试过这种方法:

sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)

但它没有用。我仍然遇到同样的错误。

Err http ://vn.archive.ubuntu.com trusty-updates/universe amd64 Packages
Get:99 http ://vn.archive.ubuntu.com trusty-updates/universe amd64 Packages [1,789 B]
Get:100 http ://vn.archive.ubuntu.com trusty-updates/main i386 Packages [1,789 B]
Fetched 28.3 MB in 5min 15s (89.8 kB/s) 
W: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources  Hash Sum mismatch
W: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources  Hash Sum mismatch
W: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages  Hash Sum mismatch
W: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages  Hash Sum mismatch
W: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages  Hash Sum mismatch
W: …
Run Code Online (Sandbox Code Playgroud)

updates update-manager apt

6
推荐指数
1
解决办法
1万
查看次数

如何从终端安装 Opera 浏览器?

由于这个 .deb 错误导致了很多问题,我必须使用终端安装 Opera 浏览器。这很好,但我还需要将它添加到存储库中以进行自动更新。

由于我根本不是专家,我不知道如何执行浏览器的完整安装。我该怎么做?

谢谢!

PS请不要将此标记为重复,因为其他帖子没有详细说明如何安装Opera并将其添加到存储库以进行更新。干杯。

browser repository opera software-installation 16.04

5
推荐指数
1
解决办法
5万
查看次数

Ubuntu 16.04 LTS Failed to fetch / Hash Sum mismatch

Here's what I keep getting when I sudo apt update

Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]     
Hit:4 http://dl.google.com/linux/chrome/deb stable Release                     
Hit:5 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease      
Hit:7 http://eg.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:8 http://ppa.launchpad.net/linrunner/tlp/ubuntu xenial InRelease     
Get:9 http://eg.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:10 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease   
Hit:12 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial InRelease          
Hit:13 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial InRelease
Hit:14 http://ppa.launchpad.net/ubuntu-desktop/gnome-software/ubuntu xenial InRelease
Get:15 http://eg.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:16 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial InRelease
Hit:17 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial InRelease …
Run Code Online (Sandbox Code Playgroud)

updates apt hash

4
推荐指数
1
解决办法
2万
查看次数