我尝试更新操作系统,但收到以下消息:
$ sudo apt-get update
Hit:1 ttp://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 ttp://archive.canonical.com/ubuntu xenial InRelease
Hit:3 ttps://download.docker.com/linux/ubuntu xenial InRelease
Get:4 ttp://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:5 ttp://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 ttp://dl.google.com/linux/chrome/deb stable Release
Err:8 ttp://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu xenial InRelease
Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out
Err:9 ttp://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial InRelease
Unable to connect to ppa.launchpad.net:http:
Err:10 ttp://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial InRelease
Unable to connect to ppa.launchpad.net:http:
Get:11 ttp://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:12 ttp://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 306 kB in 2min 8s …Run Code Online (Sandbox Code Playgroud) 从 Ubuntu 17.04 升级到 Ubuntu 17.10 Artful Aardvark 后,Redshift 没有自动启动。然后我尝试通过运行来初始化 Redshift,sudo redshift但它产生了这个:
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Invalid MIT-MAGIC-COOKIE-1 key`RANDR Query Version' returned error -1
Initialization of randr failed.
Trying next method...
Invalid MIT-MAGIC-COOKIE-1 keyX request failed: XOpenDisplay
Initialization of vidmode failed.
Trying next method...
No more methods to try.
Run Code Online (Sandbox Code Playgroud)
我在谷歌上搜索过这个错误,但没有找到结果。有谁知道如何解决这个问题?