当我运行时apt-get update
,我收到此错误消息:
Err:18 http://dl.google.com/linux/chrome/deb stable Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
Run Code Online (Sandbox Code Playgroud)
我了解导致此问题的原因。我想知道如何解决它。
编辑:
我尝试了重复链接中提供的最受好评的解决方案:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
Run Code Online (Sandbox Code Playgroud)
根据我看到的帖子,我遇到了这个新问题,但在本网站上似乎没有解决:
Executing: /tmp/tmp.jyolnTyZuJ/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
6494C6D6997C215E
gpg: requesting key 997C215E from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Run Code Online (Sandbox Code Playgroud) 如何在 Ubuntu 16.04 LTS 上安装 OpenCV 3.1 版以使用 Python 3.5.1?
我在 VM 上尝试过这个,但显然如果你想使用 Python 2,这很有用。
我以这种方式安装 Tor:
sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser
Run Code Online (Sandbox Code Playgroud)
我今天在终端中运行这个:$ tor
我收到了这个错误信息:
Oct 04 19:24:04.461 [notice] Tor v0.2.7.6 (git-605ae665009853bd) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2g and Zlib 1.2.8.
Oct 04 19:24:04.461 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Oct 04 19:24:04.517 [notice] Read configuration file "/etc/tor/torrc".
Oct 04 19:24:04.574 [notice] Opening Socks listener on 127.0.0.1:9050
Oct 04 19:24:04.574 [warn] Could not bind to 127.0.0.1:9050: …
Run Code Online (Sandbox Code Playgroud) 我注意到每当我想使用命令行 ( sudo rm -r folder_name
)删除包含大量数据的文件夹时,终端都会挂起以终止操作。但同时,当我手动删除类似大小的文件夹时,删除会立即执行,无需等待。
关于为什么会发生这种差异的任何解释
我正在使用 Ubuntu 16.04.1。
我尝试安装git:
sudo apt-get install git-all
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing package runit (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of git-daemon-run:
git-daemon-run depends on runit; however:
Package runit is not configured yet. …
Run Code Online (Sandbox Code Playgroud) 我安装了 OBS Studio:
sudo apt-get install obs-studio
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-keybinder-3.0 libkeybinder-3.0-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libfdk-aac0 libluajit-5.1-2 libluajit-5.1-common libxcb-xinerama0
The following NEW packages will be installed:
libfdk-aac0 libluajit-5.1-2 libluajit-5.1-common libxcb-xinerama0 obs-studio
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,678 kB of archives. …
Run Code Online (Sandbox Code Playgroud) 当我跑步时,nvm alias default 12.8.0
我得到了这个:
默认 -> 12.8.0 (-> v12.8.0)
但是,当我跑node -v
,我得到v11.9.0代替
为什么会这样?