从休眠状态启动 Linux Mint 实时会话后,vlc 无法再启动。当我尝试从终端运行它时,出现“总线错误”。因此我尝试将其删除。
mint@mint ~ $ sudo apt-get purge vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
vlc*
0 upgraded, 0 newly installed, 1 to remove and 367 not upgraded.
After this operation, 3,690 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 171238 files and directories currently installed.)
Removing vlc (2.1.6-0ubuntu14.04.1) ...
Purging configuration files for vlc (2.1.6-0ubuntu14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for vlc-nox (2.1.6-0ubuntu14.04.1) ...
但之后我仍然可以运行 vlc (即使它出现错误)
mint@mint ~ $ vlc
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
Bus error
我将重新启动以使 VLC 再次工作,但我对删除 VLC 后如何运行感到困惑。它不应该说“没有这样的文件或目录”吗?
答案1
我最好的猜测是您安装了多个 VLC 副本。apt-get purge
删除了系统范围的副本,但会留下您路径中可能存在的任何其他副本。您可以使用该命令which vlc
来获取完整路径。
答案2
vlc-nox
您还需要清除:
apt-get purge vlc-nox
一般来说,找出文件来自哪里,dpkg -S
会派上用场;在这种情况下你会运行
dpkg -S /usr/bin/vlc