小编Per*_*rry的帖子

为什么python被删除后仍然可以工作?

在 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?

debian python apt

17
推荐指数
3
解决办法
1万
查看次数

为什么 wicd 不安装它的守护进程?

再一次,我发现自己在遇到 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-gtk 错误

此外,仅运行 wicd 时,会弹出以下消息:

perry@perry:~$ sudo wicd
It seems like the daemon is already running.
If …
Run Code Online (Sandbox Code Playgroud)

debian d-bus apt wicd

5
推荐指数
1
解决办法
2254
查看次数

标签 统计

apt ×2

debian ×2

d-bus ×1

python ×1

wicd ×1