R S*_*R S 4 package-management dependencies software-installation 18.10
在我安装 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
Run Code Online (Sandbox Code Playgroud)
sudo apt install mypaint-data
Run Code Online (Sandbox Code Playgroud)
此命令行解决了问题,但它删除了 Gimp(在 MyPaint 之后安装 Gimp 将删除 MyPaint)。