How do I resolve this dependency error when installing GIMP?











up vote
-1
down vote

favorite












I'm trying to install GIMP with apt-get install on Ubuntu 18.04.1. It produces a dependency error:



$ sudo apt-get install gimp
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:
gimp : Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Following the chain of dependencies:



The following packages have unmet dependencies:
libgegl-0.3-0 : Depends: libumfpack5 (>= 1:4.5.2) but it is not going to be installed
libumfpack5 : Depends: libcholmod3 (>= 1:4.5.2) but it is not going to be installed
libcholmod3 : Depends: liblapack3 but it is not going to be installed or liblapack.so.3
liblapack3 : Depends: libgfortran4 (>= 7) but it is not going to be installed
libgfortran4 : Depends: gcc-7-base (= 7.3.0-16ubuntu3) but 7.3.0-27ubuntu1~18.04 is to be installed
Depends: libquadmath0 but it is not going to be installed
libquadmath0 : Depends: gcc-8-base (= 8-20180414-1ubuntu2) but 8.2.0-1ubuntu2~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.


The chain ends with gcc-7-base and gcc-8-base, both of which are already installed:



$ apt-cache policy gcc-8-base
gcc-8-base:
Installed: 8.2.0-1ubuntu2~18.04
Candidate: 8.2.0-1ubuntu2~18.04
Version table:
*** 8.2.0-1ubuntu2~18.04 100
100 /var/lib/dpkg/status
8-20180414-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ apt-cache policy gcc-7-base
gcc-7-base:
Installed: 7.3.0-27ubuntu1~18.04
Candidate: 7.3.0-27ubuntu1~18.04
Version table:
*** 7.3.0-27ubuntu1~18.04 100
100 /var/lib/dpkg/status
7.3.0-16ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages


although under slightly different names that I can't decipher.



$ dpkg --get-selections | grep hold returns nothing, indicating that I have not, in fact, held any packages.



I've tried an update/upgrade/autoremove cycle. I've tried apt-get install -f. I've tried apt-get clean. None of these had any effect whatsoever.



I've installed Keybase and VS Code from PPAs. Other than that, this is a pretty fresh installation of 18.04, and I haven't done anything outside of the repos (or outside of apt-get install) except for those two things.



How do I figure out what the problem is, and how do I figure out how to fix it?



Edit: These repos are active in /etc/apt/sources.list:



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main


and this in /etc/apt/sources.list.d/keybase.list:



deb http://prerelease.keybase.io/deb stable main


There are no others.










share|improve this question
























  • Can you post your apt sources files? Maybe you added a wrong repo which is for another version of Ubuntu.
    – davidbaumann
    Nov 26 at 11:35










  • Have you tried a simple sudo apt update before? Maybe something in the chain changed versions?
    – Eugen Rieck
    Nov 26 at 11:37










  • @davidbaumann Edited with that info. I don't think I've done that.
    – Darien Marks
    Nov 26 at 11:49










  • @EugenRieck I've run apt-get update many times before.
    – Darien Marks
    Nov 26 at 11:51















up vote
-1
down vote

favorite












I'm trying to install GIMP with apt-get install on Ubuntu 18.04.1. It produces a dependency error:



$ sudo apt-get install gimp
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:
gimp : Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Following the chain of dependencies:



The following packages have unmet dependencies:
libgegl-0.3-0 : Depends: libumfpack5 (>= 1:4.5.2) but it is not going to be installed
libumfpack5 : Depends: libcholmod3 (>= 1:4.5.2) but it is not going to be installed
libcholmod3 : Depends: liblapack3 but it is not going to be installed or liblapack.so.3
liblapack3 : Depends: libgfortran4 (>= 7) but it is not going to be installed
libgfortran4 : Depends: gcc-7-base (= 7.3.0-16ubuntu3) but 7.3.0-27ubuntu1~18.04 is to be installed
Depends: libquadmath0 but it is not going to be installed
libquadmath0 : Depends: gcc-8-base (= 8-20180414-1ubuntu2) but 8.2.0-1ubuntu2~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.


The chain ends with gcc-7-base and gcc-8-base, both of which are already installed:



$ apt-cache policy gcc-8-base
gcc-8-base:
Installed: 8.2.0-1ubuntu2~18.04
Candidate: 8.2.0-1ubuntu2~18.04
Version table:
*** 8.2.0-1ubuntu2~18.04 100
100 /var/lib/dpkg/status
8-20180414-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ apt-cache policy gcc-7-base
gcc-7-base:
Installed: 7.3.0-27ubuntu1~18.04
Candidate: 7.3.0-27ubuntu1~18.04
Version table:
*** 7.3.0-27ubuntu1~18.04 100
100 /var/lib/dpkg/status
7.3.0-16ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages


although under slightly different names that I can't decipher.



$ dpkg --get-selections | grep hold returns nothing, indicating that I have not, in fact, held any packages.



I've tried an update/upgrade/autoremove cycle. I've tried apt-get install -f. I've tried apt-get clean. None of these had any effect whatsoever.



I've installed Keybase and VS Code from PPAs. Other than that, this is a pretty fresh installation of 18.04, and I haven't done anything outside of the repos (or outside of apt-get install) except for those two things.



How do I figure out what the problem is, and how do I figure out how to fix it?



Edit: These repos are active in /etc/apt/sources.list:



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main


and this in /etc/apt/sources.list.d/keybase.list:



deb http://prerelease.keybase.io/deb stable main


There are no others.










share|improve this question
























  • Can you post your apt sources files? Maybe you added a wrong repo which is for another version of Ubuntu.
    – davidbaumann
    Nov 26 at 11:35










  • Have you tried a simple sudo apt update before? Maybe something in the chain changed versions?
    – Eugen Rieck
    Nov 26 at 11:37










  • @davidbaumann Edited with that info. I don't think I've done that.
    – Darien Marks
    Nov 26 at 11:49










  • @EugenRieck I've run apt-get update many times before.
    – Darien Marks
    Nov 26 at 11:51













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I'm trying to install GIMP with apt-get install on Ubuntu 18.04.1. It produces a dependency error:



$ sudo apt-get install gimp
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:
gimp : Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Following the chain of dependencies:



The following packages have unmet dependencies:
libgegl-0.3-0 : Depends: libumfpack5 (>= 1:4.5.2) but it is not going to be installed
libumfpack5 : Depends: libcholmod3 (>= 1:4.5.2) but it is not going to be installed
libcholmod3 : Depends: liblapack3 but it is not going to be installed or liblapack.so.3
liblapack3 : Depends: libgfortran4 (>= 7) but it is not going to be installed
libgfortran4 : Depends: gcc-7-base (= 7.3.0-16ubuntu3) but 7.3.0-27ubuntu1~18.04 is to be installed
Depends: libquadmath0 but it is not going to be installed
libquadmath0 : Depends: gcc-8-base (= 8-20180414-1ubuntu2) but 8.2.0-1ubuntu2~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.


The chain ends with gcc-7-base and gcc-8-base, both of which are already installed:



$ apt-cache policy gcc-8-base
gcc-8-base:
Installed: 8.2.0-1ubuntu2~18.04
Candidate: 8.2.0-1ubuntu2~18.04
Version table:
*** 8.2.0-1ubuntu2~18.04 100
100 /var/lib/dpkg/status
8-20180414-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ apt-cache policy gcc-7-base
gcc-7-base:
Installed: 7.3.0-27ubuntu1~18.04
Candidate: 7.3.0-27ubuntu1~18.04
Version table:
*** 7.3.0-27ubuntu1~18.04 100
100 /var/lib/dpkg/status
7.3.0-16ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages


although under slightly different names that I can't decipher.



$ dpkg --get-selections | grep hold returns nothing, indicating that I have not, in fact, held any packages.



I've tried an update/upgrade/autoremove cycle. I've tried apt-get install -f. I've tried apt-get clean. None of these had any effect whatsoever.



I've installed Keybase and VS Code from PPAs. Other than that, this is a pretty fresh installation of 18.04, and I haven't done anything outside of the repos (or outside of apt-get install) except for those two things.



How do I figure out what the problem is, and how do I figure out how to fix it?



Edit: These repos are active in /etc/apt/sources.list:



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main


and this in /etc/apt/sources.list.d/keybase.list:



deb http://prerelease.keybase.io/deb stable main


There are no others.










share|improve this question















I'm trying to install GIMP with apt-get install on Ubuntu 18.04.1. It produces a dependency error:



$ sudo apt-get install gimp
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:
gimp : Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Following the chain of dependencies:



The following packages have unmet dependencies:
libgegl-0.3-0 : Depends: libumfpack5 (>= 1:4.5.2) but it is not going to be installed
libumfpack5 : Depends: libcholmod3 (>= 1:4.5.2) but it is not going to be installed
libcholmod3 : Depends: liblapack3 but it is not going to be installed or liblapack.so.3
liblapack3 : Depends: libgfortran4 (>= 7) but it is not going to be installed
libgfortran4 : Depends: gcc-7-base (= 7.3.0-16ubuntu3) but 7.3.0-27ubuntu1~18.04 is to be installed
Depends: libquadmath0 but it is not going to be installed
libquadmath0 : Depends: gcc-8-base (= 8-20180414-1ubuntu2) but 8.2.0-1ubuntu2~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.


The chain ends with gcc-7-base and gcc-8-base, both of which are already installed:



$ apt-cache policy gcc-8-base
gcc-8-base:
Installed: 8.2.0-1ubuntu2~18.04
Candidate: 8.2.0-1ubuntu2~18.04
Version table:
*** 8.2.0-1ubuntu2~18.04 100
100 /var/lib/dpkg/status
8-20180414-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ apt-cache policy gcc-7-base
gcc-7-base:
Installed: 7.3.0-27ubuntu1~18.04
Candidate: 7.3.0-27ubuntu1~18.04
Version table:
*** 7.3.0-27ubuntu1~18.04 100
100 /var/lib/dpkg/status
7.3.0-16ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages


although under slightly different names that I can't decipher.



$ dpkg --get-selections | grep hold returns nothing, indicating that I have not, in fact, held any packages.



I've tried an update/upgrade/autoremove cycle. I've tried apt-get install -f. I've tried apt-get clean. None of these had any effect whatsoever.



I've installed Keybase and VS Code from PPAs. Other than that, this is a pretty fresh installation of 18.04, and I haven't done anything outside of the repos (or outside of apt-get install) except for those two things.



How do I figure out what the problem is, and how do I figure out how to fix it?



Edit: These repos are active in /etc/apt/sources.list:



deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main


and this in /etc/apt/sources.list.d/keybase.list:



deb http://prerelease.keybase.io/deb stable main


There are no others.







apt-get ubuntu-18.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 at 11:49

























asked Nov 26 at 11:26









Darien Marks

11




11












  • Can you post your apt sources files? Maybe you added a wrong repo which is for another version of Ubuntu.
    – davidbaumann
    Nov 26 at 11:35










  • Have you tried a simple sudo apt update before? Maybe something in the chain changed versions?
    – Eugen Rieck
    Nov 26 at 11:37










  • @davidbaumann Edited with that info. I don't think I've done that.
    – Darien Marks
    Nov 26 at 11:49










  • @EugenRieck I've run apt-get update many times before.
    – Darien Marks
    Nov 26 at 11:51


















  • Can you post your apt sources files? Maybe you added a wrong repo which is for another version of Ubuntu.
    – davidbaumann
    Nov 26 at 11:35










  • Have you tried a simple sudo apt update before? Maybe something in the chain changed versions?
    – Eugen Rieck
    Nov 26 at 11:37










  • @davidbaumann Edited with that info. I don't think I've done that.
    – Darien Marks
    Nov 26 at 11:49










  • @EugenRieck I've run apt-get update many times before.
    – Darien Marks
    Nov 26 at 11:51
















Can you post your apt sources files? Maybe you added a wrong repo which is for another version of Ubuntu.
– davidbaumann
Nov 26 at 11:35




Can you post your apt sources files? Maybe you added a wrong repo which is for another version of Ubuntu.
– davidbaumann
Nov 26 at 11:35












Have you tried a simple sudo apt update before? Maybe something in the chain changed versions?
– Eugen Rieck
Nov 26 at 11:37




Have you tried a simple sudo apt update before? Maybe something in the chain changed versions?
– Eugen Rieck
Nov 26 at 11:37












@davidbaumann Edited with that info. I don't think I've done that.
– Darien Marks
Nov 26 at 11:49




@davidbaumann Edited with that info. I don't think I've done that.
– Darien Marks
Nov 26 at 11:49












@EugenRieck I've run apt-get update many times before.
– Darien Marks
Nov 26 at 11:51




@EugenRieck I've run apt-get update many times before.
– Darien Marks
Nov 26 at 11:51















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1378446%2fhow-do-i-resolve-this-dependency-error-when-installing-gimp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1378446%2fhow-do-i-resolve-this-dependency-error-when-installing-gimp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Aardman Animations

Are they similar matrix

“minimization” problem in Euclidean space related to orthonormal basis