几个月前,我不小心删除了两个软件包:steam-libs-i386:i386
和steam-libs-amd64
。有时,当我需要安装一个新软件包时,我会在之后看到以下警告apt install
:
dpkg: warning: files list file for package 'steam-libs-i386:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'steam-libs-amd64' missing; assuming package has no files currently installed
到目前为止,我总是能够正确安装这些软件包,但我想在它们成为某种问题之前将它们删除,假设它们会这样。
运行后:
sudo apt-get install --reinstall steam-libs-i386:i386
sudo apt-get install --reinstall steam-libs-amd64
返回的消息是
Reinstallation of steam-libs-amd64 is not possible, it cannot be downloaded.
同样如此steam-libs-i386:i386
。
我需要它们吗?我该如何重新安装它们?或者,如果不需要,如何消除警告?
答案1
似乎您没有通过软件包管理器删除它们,而只是删除了一些文件。要修复此问题,请清除软件包:
sudo apt remove --purge steam-libs-amd64 steam-libs-i386:i386