在 Debian 8 jessie 上,我删除了 python:
perry@perry:~$ sudo apt-get remove python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'python2.7' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
Run Code Online (Sandbox Code Playgroud)
但不知何故,我仍然可以从终端启动 python。
perry@perry:~$ python
Python 2.7.9 (default, Apr 29 2015, 18:34:06)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Run Code Online (Sandbox Code Playgroud)
我没有从源代码或任何其他地方安装它,但 apt。这怎么可能,我怎样才能完全删除 python?
再一次,我发现自己在遇到 wicd(我曾经使用过的最有缺陷的广泛使用的软件)问题后头撞墙。
这一次,在 debian 8 jessie 上从 apt-get 安装 wicd 并尝试打开 wicd-gtk(其 gui 前端之一)后,会弹出这些相当矛盾的错误消息:
perry@perry:~$ wicd-gtk
Has notifications support True
Loading...
Connecting to daemon...
Can't connect to the daemon, trying to start it automatically...
Can't connect to the daemon, trying to start it automatically...
It seems like the daemon is already running.
If it is not, please remove /var/run/wicd/wicd.pid and try again.
perry@perry:~$
Run Code Online (Sandbox Code Playgroud)
此外,仅运行 wicd 时,会弹出以下消息:
perry@perry:~$ sudo wicd
It seems like the daemon is already running.
If …
Run Code Online (Sandbox Code Playgroud)