如何修复包中已安装的缺失命令?

如何修复包中已安装的缺失命令?

我发现其他人也遇到过这个问题,但他们的解决方案都没有解决我的问题。由于我无法嵌入图像(我的声誉还没有达到 10),因此您必须对此感到满意:

isaac@isaac-HP-EliteBook-840-G1:~$ sudo apt-get install winetricks
[sudo] password for isaac: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
winetricks is already the newest version (0.0+20141009+svn1208-2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 131 not upgraded.
isaac@isaac-HP-EliteBook-840-G1:~$ whereis winetricks
winetricks:
isaac@isaac-HP-EliteBook-840-G1:~$ winetricks
The program 'winetricks' is currently not installed. You can install it by typing:
sudo apt install winetricks
isaac@isaac-HP-EliteBook-840-G1:~$ sudo apt install winetricks
Reading package lists... Done
Building dependency tree       
Reading state information... Done
winetricks is already the newest version (0.0+20141009+svn1208-2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 131 not upgraded.
isaac@isaac-HP-EliteBook-840-G1:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 131 not upgraded.

有人知道我还没有尝试过的新事物吗?我的镜像是正确的,我以前使用过 wine/winetricks,但我新安装的 wine 运行良好,winetricks 似乎没有任何剩余的软件包留在我的电脑上。

答案1

我使用 相对轻松地解决了这个问题sudo apt-get install --reinstall winetricks。感谢@steeldiver 提供解决方案

相关内容