![如何修复包中已安装的缺失命令?](https://linux22.com/image/889744/%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E5%8C%85%E4%B8%AD%E5%B7%B2%E5%AE%89%E8%A3%85%E7%9A%84%E7%BC%BA%E5%A4%B1%E5%91%BD%E4%BB%A4%EF%BC%9F.png)
我发现其他人也遇到过这个问题,但他们的解决方案都没有解决我的问题。由于我无法嵌入图像(我的声誉还没有达到 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 提供解决方案