在我安装了 18.10(当时是测试版)并开始安装所有软件后,我在使用 MyPaint 时遇到了这个问题。今天这个问题仍然存在。Universe 存储库已启用。我以为我可以从 flatpak 安装它。
sudo apt -f install
没发现任何问题。
当我尝试安装 MyPaint 时:
$ sudo apt install mypaint
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mypaint : Depends: mypaint-data (>= 1.2.0-4.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ apt-cache policy mypaint mypaint-data
mypaint:
Installed: (none)
Candidate: 1.2.0-4.1
Version table:
1.2.0-4.1 500
500 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
mypaint-data:
Installed: (none)
Candidate: 1.2.0-4.1
Version table:
1.2.0-4.1 500
500 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu cosmic/universe i386 Packages
答案1
sudo apt install mypaint-data
此命令行解决了这个问题,但它会删除 Gimp(并且在 MyPaint 之后安装 Gimp 将会删除 MyPaint)。
答案2
我在 Ubuntu 18.04 和之前的 Fedora 26 上遇到了同样的问题,我没有找到任何解决方案,除了切换到另一个简单的绘画程序,如“Kolourpaint”,你可以从 Ubuntu 软件(Gnome 软件中心)安装它,或者通过执行以下命令:
sudo apt install kolourpaint