Ubuntu16.04下ppa方式安装chrome后sudo apt-get update的错误

login as: sinc-lab
[email protected]'s password:
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-21-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

11 packages can be updated.
0 updates are security updates.

*** System restart required ***
Last login: Wed Aug 22 23:39:38 2018 from 222.20.38.44
sinc-lab@sinclab-desktop:~$ sudo dpkg -i /home/sinc-lab/Downloads/nv-tensorrt-repo-ubuntu1604-cuda9.0-rc-trt4.0.0.3-20180329_1-1_amd64.deb
[sudo] password for sinc-lab:
(Reading database ... 360963 files and directories currently installed.)
Preparing to unpack .../nv-tensorrt-repo-ubuntu1604-cuda9.0-rc-trt4.0.0.3-20180329_1-1_amd64.deb ...
Unpacking nv-tensorrt-repo-ubuntu1604-cuda9.0-rc-trt4.0.0.3-20180329 (1-1) over (1-1) ...
Setting up nv-tensorrt-repo-ubuntu1604-cuda9.0-rc-trt4.0.0.3-20180329 (1-1) ...
sinc-lab@sinclab-desktop:~$ sudo apt-get update
Get:1 file:/var/nv-tensorrt-repo-cuda9.0-rc-trt4.0.0.3-20180329  InRelease
Ign:1 file:/var/nv-tensorrt-repo-cuda9.0-rc-trt4.0.0.3-20180329  InRelease
Get:2 file:/var/nv-tensorrt-repo-cuda9.0-rc-trt4.0.0.3-20180329  Release [574 B]
Get:2 file:/var/nv-tensorrt-repo-cuda9.0-rc-trt4.0.0.3-20180329  Release [574 B]
Hit:4 http://mirrors.aliyun.com/ubuntu xenial InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
Get:6 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
Hit:8 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
Hit:9 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/baitsart/wallpaper-manager/ubuntu xenial InRelease
Hit:11 http://archive.canonical.com/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Ign:13 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial InRelease
Hit:14 http://ppa.launchpad.net/noobslab/icons/ubuntu xenial InRelease
Hit:15 http://ppa.launchpad.net/noobslab/themes/ubuntu xenial InRelease
Hit:16 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial InRelease
Ign:17 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial Release
Ign:18 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 Packages
Ign:19 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main i386 Packages
Ign:20 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main all Packages
Ign:21 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en_AU
Ign:22 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en
Ign:23 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:24 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main DEP-11 64x64 Icons
Ign:18 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 Packages
Ign:19 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main i386 Packages
Ign:20 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main all Packages
Ign:21 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en_AU
Ign:22 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en
Ign:23 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:24 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main DEP-11 64x64 Icons
Ign:18 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 Packages
Ign:19 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main i386 Packages
Ign:20 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main all Packages
Ign:21 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en_AU
Ign:22 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en
Ign:23 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:24 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main DEP-11 64x64 Icons
Ign:18 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 Packages
Ign:19 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main i386 Packages
Ign:20 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main all Packages
Ign:21 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en_AU
Ign:22 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en
Ign:23 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:24 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main DEP-11 64x64 Icons
Ign:18 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 Packages
Ign:19 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main i386 Packages
Ign:20 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main all Packages
Ign:21 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en_AU
Ign:22 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en
Ign:23 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:24 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main DEP-11 64x64 Icons
Err:18 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 Packages
  404  Not Found
Ign:19 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main i386 Packages
Ign:20 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main all Packages
Ign:21 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en_AU
Ign:22 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main Translation-en
Ign:23 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:24 http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial/main DEP-11 64x64 Icons
Err:25 http://dl.google.com/linux/chrome/deb stable InRelease
  Could not connect to dl.google.com:80 (6.6.6.6), connection timed out [IP: 6.6.6.6 80]
Fetched 125 kB in 4min 0s (519 B/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease  Could not connect to dl.google.com:80 (6.6.6.6), connection timed out [IP: 6.6.6.6 80]
E: Failed to fetch http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
W: Some index files failed to download. They have been ignored, or old ones used instead.
sinc-lab@sinclab-desktop:~$

sudo apt-get update报的error:

Err:25 http://dl.google.com/linux/chrome/deb stable InRelease
  Could not connect to dl.google.com:80 (6.6.6.6), connection timed out [IP: 6.6.6.6 80]
Fetched 125 kB in 4min 0s (519 B/s)

这是因为update时连接dl.google.com超时,dl.google.com的域名被防火墙挡在了墙外。解决方案如下:

方案一:修改host文件(已经成功验证)

参见https://blog.csdn.net/u013270341/article/details/79652359

方案二:配置代理

参见http://forum.ubuntu.org.cn/viewtopic.php?f=52&t=423516

你可能感兴趣的:(Ubuntu)