sudo apt-get install krita
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:
krita : Depends: calligra-libs (= 1:2.8.5-0ubuntu6~ubuntu14.04~ppa1) but it is not going to be installed
Depends: libkdcraw23 but it is not going to be installed
Depends: libkdeui5 but it is not going to be installed
Depends: libkfile4 but it is not going to be installed
Depends: libkio5 but it is not going to be installed
Depends: libopencolorio1 but it is not installable
Depends: libpoppler-qt4-4 (>= 0.20.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
sudo apt-get update
Hit http://repo.steampowered.com precise InRelease
Ign http://dl.google.com stable InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://repository.spotify.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Hit http://repository.spotify.com stable/non-free amd64 Packages
Hit http://dl.google.com stable Release
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Get:1 http://archive.ubuntu.com trusty Release.gpg [72 B]
Get:2 http://archive.ubuntu.com trusty Release [11.9 kB]
Hit http://dl.google.com stable/main amd64 Packages
Hit http://repository.spotify.com stable/non-free i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Get:3 http://archive.ubuntu.com trusty/main amd64 Packages [14 B]
Hit http://dl.google.com stable/main i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://repo.steampowered.com precise/steam Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Get:4 http://ppa.launchpad.net trusty Release.gpg [316 B]
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://repo.steampowered.com precise/steam amd64 Packages
Ign http://repository.spotify.com stable/non-free Translation-en_US
Hit http://ppa.launchpad.net trusty Release
Ign http://repository.spotify.com stable/non-free Translation-en
Hit http://ppa.launchpad.net trusty Release
Ign http://dl.google.com stable/main Translation-en_US
Hit http://ppa.launchpad.net trusty Release
Ign http://dl.google.com stable/main Translation-en
Get:5 http://ppa.launchpad.net trusty Release [15.1 kB]
Hit http://repo.steampowered.com precise/steam i386 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:6 http://ppa.launchpad.net trusty/main Translation-en [4,606 B]
Get:7 http://ppa.launchpad.net trusty/main amd64 Packages [13.8 kB]
Get:8 http://ppa.launchpad.net trusty/main i386 Packages [13.8 kB]
Get:9 http://ppa.launchpad.net trusty/main Translation-en [4,824 B]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://repo.steampowered.com precise/steam Translation-en_US
Ign http://repo.steampowered.com precise/steam Translation-en
Fetched 64.5 kB in 6s (10.2 kB/s)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'universe/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
作为一个 Ubuntu 新手,我第一次遇到这样的事情。
答案1
遇到了同样的问题。尝试了两种方法:
sudo add-apt-repository ppa:kubuntu-ppa/backports
&
sude aptitude install kdelibs-bin kdelibs5-data kdelibs5-plugins
对我有用
答案2
确保restricted
和universe
存储库已启用。按Alt+ F2,输入software-properties-gtk
并按Enter。
在选项卡下Ubuntu Software
,启用所有存储库。
这首选安装方式krita
是通过启用以下 PPA:
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install krita
krita
请注意,必须卸载以前的版本。
答案3
安装前尝试执行以下操作:
sudo apt upgrade
它对我有用