apt-get autoremove 出错。我该如何删除它?

apt-get autoremove 出错。我该如何删除它?

尝试运行时收到以下错误消息sudo apt-get autoremove

$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up todoist (1.17.0) ... 
ln: failed to create symbolic link '/usr/local/bin/todoist' No such file or directory
dpkg: error processing package todoist (--configure):
 installed todoist package post-installation script subprocess returned error    
exit status 1  
Errors were encountered while processing:
 todoist
E: Sub- process /usr/bin/dpkg returned an error code (1)

答案1

默认的 Ubuntu 存储库中没有名为 todoist 的包,这就是 autoremove 无法自动删除它的原因。尝试手动删除 todoist。打开终端并输入:

sudo apt purge todoist 

如果上述命令不起作用,请使用 Synaptic 包管理器 ( sudo apt install synaptic) 删除 todoist。打开突触-> 点击地位左下角的按钮 -> 点击已安装(本地或过时)并在中心窗格中搜索 todoist 软件包。如果找到 todoist 软件包,请点击软件包左侧的复选框并选择标记为删除将其删除。

突触

相关内容