我在尝试安装任何软件包时遇到了这个问题:
The dependency tree is built
Status information is read ... Finished
The gimp package is not available, but it is mentioned by another package.
This might mean that the package is missing, has become obsolete, or
Is only available from another source.
E: Package 'gimp' has no installation candidate
我该如何修复它?谢谢。
答案1
为了确保有存储 gimp 程序包的 universe 存储库,请运行(在终端窗口中)
sudo add-apt-repository universe
然后运行
sudo apt-get update
如果你已经安装了系统(但是不是如果你有一个实时或持续实时系统)
sudo apt-get dist-upgrade
最后安装 gimp
sudo apt-get install gimp