Debian

如何解除安裝conky?

  • May 22, 2021

好的,所以我面臨一個煩人的問題,每次我嘗試清除它時,apt 只安裝一個不同版本的 conky(all,standard,cli)。這是愚蠢的。下面是發生這種情況的修剪版本。我檢查了其他答案,但 apt remove purge 對他們有用。但對我來說,它會像病毒或其他東西一樣自行安裝。有任何想法嗎?我想如果我可以在沒有任何安裝的情況下解除安裝軟體包。

aditya@Aditya-lappy:~$ sudo apt remove --purge conky-all 
[sudo] password for aditya: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
 libaudclient2 libxmmsclient6 libxnvctrl0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
 conky-std
Suggested packages:
 apcupsd audacious moc mpd xmms2
The following packages will be REMOVED:
 conky-all*
The following NEW packages will be installed:
 conky-std
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 340 kB of archives.
After this operation, 465 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian stable/main amd64 conky-std amd64 1.10.8-1+b1 [340 kB]
Fetched 340 kB in 10s (33.0 kB/s)
dpkg: conky-all: dependency problems, but removing anyway as you requested:
conky depends on conky-std | conky-cli | conky-all; however:
 Package conky-std is not installed.
 Package conky-cli is not installed.
 Package conky-all is to be removed.

(Reading database ... 249836 files and directories currently installed.)
Removing conky-all (1.10.8-1+b1) ...
Selecting previously unselected package conky-std.
(Reading database ... 249808 files and directories currently installed.)
Preparing to unpack .../conky-std_1.10.8-1+b1_amd64.deb ...
Unpacking conky-std (1.10.8-1+b1) ...
Setting up conky-std (1.10.8-1+b1) ...
Processing triggers for man-db (2.8.5-2) ...
(Reading database ... 249831 files and directories currently installed.)
Purging configuration files for conky-all (1.10.8-1+b1) ...

aditya@Aditya-lappy:~$ sudo apt remove --purge conky-std
...
The following NEW packages will be installed:
 conky-cli
...
aditya@Aditya-lappy:~$ sudo apt remove --purge conky-cli
...
The following additional packages will be installed:
 conky-std
Suggested packages:
 apcupsd audacious moc mpd xmms2
The following packages will be REMOVED:
 conky-cli*
The following NEW packages will be installed:
 conky-std
...
Abort.

您需要刪除conky軟體包:

sudo apt purge --auto-remove conky

引用自:https://unix.stackexchange.com/questions/650840