我无法卸载kodi
:
sudo apt-get remove kodi*
这就是结果。
E: Unable to locate package kodi_crashlog-20161211_214949.log
E: Couldn't find any package by glob 'kodi_crashlog-20161211_214949.log
E: Couldn't find any package by regex 'kodi_crashlog-20161211_214949.log
E: Unable to locate package kodi_crashlog-20161222_224618.log
E: Couldn't find any package by glob 'kodi_crashlog-20161222_224618.log
E: Couldn't find any package by regex 'kodi_crashlog-20161222_224618.log
E: Unable to locate package kodi_crashlog-20161230_193305.log
E: Couldn't find any package by glob 'kodi_crashlog-20161230_193305.log
E: Couldn't find any package by regex 'kodi_crashlog-20161230_193305.log
E: Unable to locate package kodi_crashlog-20170114_223009.log
E: Couldn't find any package by glob 'kodi_crashlog-20170114_223009.log
E: Couldn't find any package by regex 'kodi_crashlog-20170114_223009.log
Ubuntu 版本:
分销商 ID:Ubuntu
描述:Ubuntu 16.04.4 LTS
发布:16.04
代号:xenial
Kodi 版本:17.6 Git:20171114-a9a7a20 Media Center Kodi
我不明白缺少什么包。
答案1
看起来您位于kodi
存储日志文件的文件夹中。您的命令sudo apt-get remove kodi*
执行 shell glob 扩展,其中kodi*
在实际命令之前扩展为 shell 中的日志文件apt-get remove
,并将日志文件名作为参数传递给apt-get remove
。
为了防止这种情况并*
在apt-get
命令中使用作为通配符,您必须转义*
或将您的参数放在引号中。
sudo apt-get remove kodi\*
sudo apt-get remove 'kodi*'