我为 Ubuntu 16.10 安装了英特尔图形更新工具,并在官方 01.org 网站上设置了相应的密钥后,当我尝试安装时,遇到了这个错误
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
libcairo-gobject2 libcairo-script-interpreter2 libcairo2 libcairo2-dev
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 702 kB/1.588 kB of archives.
After this operation, 12,3 kB disk space will be freed.
Do you want to continue? [Y/n] Get:1 https://download.01.org/gfx/ubuntu/16.10/main yakkety/main amd64 libcairo2 amd64 1.15.2-0intel1 [568 kB]
Err:1 https://download.01.org/gfx/ubuntu/16.10/main yakkety/main amd64 libcairo2 amd64 1.15.2-0intel1
Hash Sum mismatch
Hashes of expected file:
- SHA256:756ffe6dd23ed29c03295f86d8aca62981b85cc2dee42ed47f7fd61949b2fa13
- SHA1:60c3d1e510af79c9cdc6b2204e61ec5cbb5f2c23 [weak]
- MD5Sum:84bbaf1c1c20554bc033dccb4170095a [weak]
- Checksum-FileSize:568080 [weak]
Hashes of received file:
- SHA256:cc21a8a43200a3d35624e0bd23849ca30c50ef255fb37ed7502cfa8c6ca34381
- SHA1:640e49e1339734a385cbffca29485d6e866643e7 [weak]
- MD5Sum:7c853ef25e2ecf23f9774dba49d39a2d [weak]
- Checksum-FileSize:568080 [weak]
Last modification reported: Wed, 23 Nov 2016 17:30:20 +0000
Get:2 https://download.01.org/gfx/ubuntu/16.10/main yakkety/main amd64 libcairo-gobject2 amd64 1.15.2-0intel1 [134 kB]
Err:2 https://download.01.org/gfx/ubuntu/16.10/main yakkety/main amd64 libcairo-gobject2 amd64 1.15.2-0intel1
Hash Sum mismatch
Hashes of expected file:
- SHA256:c6b3b0670e833d16bd42355550dd3ceeb1567a540c1d8756da4af8359cca746d
- SHA1:26350d583bbebd0d946e243bfa5da3c1b8464271 [weak]
- MD5Sum:7fb0231133cee558fa8f7dea48b38b14 [weak]
- Checksum-FileSize:133758 [weak]
Hashes of received file:
- SHA256:3d50aa89644a9a79ce8d56a22f33ada99b00aa5634ef306fd07c4994ba7a701e
- SHA1:56f5eba1d34782ab2a36ea96cbc0d67fa3b36baf [weak]
- MD5Sum:086ef35715963d3c674a5a654d4923bf [weak]
- Checksum-FileSize:133758 [weak]
Last modification reported: Wed, 23 Nov 2016 17:30:19 +0000
Fetched 702 kB in 1s (366 kB/s)
你能建议我解决这个问题的方法吗?谢谢!
编辑。我试过sudo apt clean
,sudo apt autoclean
。我尝试删除该程序和 apt update 创建的列表文件。但到目前为止还没有成功。
编辑 2. 现在可以使用了!看来他们已经修复了这个问题。
答案1
我认为这个问题很快就会得到解决,但现在你可以进入软件和更新,激活“其他软件”选项卡,然后取消选择此项https://download.01.org/gfx/ubuntu/16.10/main
我刚刚试过了,确实有效。您可以稍后(一两天后)启用它,然后再次尝试更新。
答案2
sudo rm -rf /var/lib/apt/lists/*
sudo mv /etc/apt/sources.list /etc/apt/sources.list.old
生成一个新的 sources.list 文件,可以从本网站。在这个站点你需要输入你的国家、Ubuntu 版本并检查软件包来源,然后点击页面末尾的生成按钮来生成 sources.list 文件。
复制将出现的链接格式为:
curl https://repogen.simplylinux.ch/txt//sources_d423......
在你的终端
sudo apt-get update && sudo apt-get upgrade