所以 ubuntu 对我来说完美地工作了一段时间。我试图下载谷歌浏览器,不小心下载了 32 位版本。返回并尝试下载 64 位(愚蠢地没有删除 32 位),并且开始在获取与google-chrome-stable.
我的下一步是清除我在 Ubuntu 上与 Chrome 相关的所有内容,但我仍然遇到这些错误,而且鉴于我仍然是 Linux 的新手,我真的不知道现在该做什么。
现在,我无法通过命令行下载任何东西。例如,我只是尝试下载 Ubuntu 版本的 f.lux 并得到以下内容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcc-4.8-base:i386 libasn1-8-heimdal:i386 libasound2:i386
libatk-bridge2.0-0:i386 libatk1.0-0:i386 libatspi2.0-0:i386
libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
libcairo-gobject2:i386 libcairo2:i386 libcolord1:i386 libcups2:i386
libcurl3:i386 libdatrie1:i386 libdbus-glib-1-2:i386 libdbusmenu-glib4:i386
libdbusmenu-gtk3-4:i386 libdbusmenu-gtk4:i386 libexpat1:i386 libffi6:i386
libfontconfig1:i386 libfreetype6:i386 libgconf-2-4:i386 libgcrypt11:i386
libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgnutls26:i386
libgpg-error0:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
libgssapi3-heimdal:i386 libgtk-3-0:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 …Run Code Online (Sandbox Code Playgroud) 16.10 发布几天后(现在)我决定升级。在升级过程中不断收到错误消息,直到最终失败。在apt-get upgrade现在运行的 CLI 上给出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
20 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up click (0.4.45.1+16.10.20160916-0ubuntu1) ...
Cannot start click due to a conflict with a different locally-installed Python 'click' package. …Run Code Online (Sandbox Code Playgroud) 我确实sudo apt dist-upgrade升级了我的 Ubuntu 发行版,但遇到了这个错误
Cannot start click due to a conflict with a different locally-installed Python 'click' package. Remove it using Python packaging tools and try again.
dpkg: error processing package click (--configure):
subprocess installed post-installation script returned error exit status 1
Run Code Online (Sandbox Code Playgroud)
我卸载了我的本地 Python 3 click 包,如这里的答案中所述。在那之后我试过了,sudo apt-get install -f但现在它没有说
Setting up click-apparmor (0.3.17) ...
Traceback (most recent call last):
File "/usr/bin/click", line 37, in <module>
import click
ImportError: No module named 'click' …Run Code Online (Sandbox Code Playgroud)