我无法在 ubuntu-14.04.4 中安装 chromium-browser。
日志
vave@vave-Lenovo-G500:~$ sudo apt-get install chromium-browser
[sudo] password for vave:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
chromium-browser-l10n chromium-codecs-ffmpeg-extra
Suggested packages:
webaccounts-chromium-extension unity-chromium-extension adobe-flashplugin
The following NEW packages will be installed:
chromium-browser chromium-browser-l10n
The following packages will be upgraded:
chromium-codecs-ffmpeg-extra
1 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
Need to get 74.2 MB of archives.
After this operation, 307 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe chromium-codecs-ffmpeg-extra amd64 60.0.3112.78-0ubuntu0.14.04.1190
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/universe chromium-codecs-ffmpeg-extra amd64 60.0.3112.78-0ubuntu0.14.04.1190
404 Not Found [IP: 91.189.88.161 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/universe chromium-browser amd64 60.0.3112.78-0ubuntu0.14.04.1190
404 Not Found [IP: 91.189.88.161 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/universe chromium-browser-l10n all 60.0.3112.78-0ubuntu0.14.04.1190
404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_60.0.3112.78-0ubuntu0.14.04.1190_amd64.deb 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser_60.0.3112.78-0ubuntu0.14.04.1190_amd64.deb 404 Not Found [IP: 91.189.88.161 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser-l10n_60.0.3112.78-0ubuntu0.14.04.1190_all.deb 404 Not Found [IP: 91.189.88.161 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
vave@vave-Lenovo-G500:~$
我尝试通过 Ubuntu 软件中心安装 Chromium,但是没有用,提示
Failed to download package files
check your internet connection
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_60.0.3112.78-0ubuntu0.14.04.1190_amd64.deb 404 Not Found [IP: 91.189.88.162 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser_60.0.3112.78-0ubuntu0.14.04.1190_amd64.deb 404 Not Found [IP: 91.189.88.162 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser-l10n_60.0.3112.78-0ubuntu0.14.04.1190_all.deb 404 Not Found [IP: 91.189.88.162 80]
由于我的互联网连接处于活动状态,因此提示没有互联网连接,所以请帮我解决这个问题。提前谢谢
正如汤姆所建议的,我尝试了 sudo apt update,但仍然面临同样的问题,当我尝试 sudo apt update 时记录
日志
vave@vave-Lenovo-G500:~$ sudo apt update
[sudo] password for vave:
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://dl.google.com stable InRelease
Hit http://ppa.launchpad.net trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://in.archive.ubuntu.com trusty InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Get:2 http://in.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty Release
Get:3 http://security.ubuntu.com trusty-security/main Sources [142 kB]
Ign http://archive.canonical.com trusty InRelease
Hit http://extras.ubuntu.com trusty/main Sources
Ign http://dl.google.com stable/main Translation-en_IN
Hit http://in.archive.ubuntu.com trusty-backports InRelease
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.canonical.com trusty Release.gpg
Hit http://in.archive.ubuntu.com trusty Release.gpg
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,955 B]
Hit http://archive.canonical.com trusty Release
Get:5 http://in.archive.ubuntu.com trusty-updates/main Sources [405 kB]
Get:6 http://security.ubuntu.com trusty-security/universe Sources [63.0 kB]
Get:7 http://in.archive.ubuntu.com trusty-updates/restricted Sources [6,331 B]
Get:8 http://in.archive.ubuntu.com trusty-updates/universe Sources [189 kB]
Get:9 http://security.ubuntu.com trusty-security/multiverse Sources [3,215 B]
Get:10 http://in.archive.ubuntu.com trusty-updates/multiverse Sources [7,747 B]
Hit http://in.archive.ubuntu.com trusty-backports/main Sources
Hit http://in.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://in.archive.ubuntu.com trusty-backports/universe Sources
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://in.archive.ubuntu.com trusty Release
Hit http://in.archive.ubuntu.com trusty/main Sources
Hit http://in.archive.ubuntu.com trusty/restricted Sources
Hit http://in.archive.ubuntu.com trusty/universe Sources
Hit http://in.archive.ubuntu.com trusty/multiverse Sources
Fetched 953 kB in 4s (215 kB/s)
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu/dists/trusty/InRelease Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu/dists/trusty/InRelease Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://archive.canonical.com/dists/trusty/Release Unable to find expected entry 'partner/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
vave@vave-Lenovo-G500:~$
答案1
尝试运行sudo apt update
。新版本发布后,旧版本的软件包往往会从存储库中删除,因此您需要重新下载当前版本的列表 - 这就是它的作用apt update
。
软件中心只是一个图形程序,它执行与apt
命令行程序相同的操作,因此它通常会出现相同的错误。