Installing imagemagick on Ubuntu: Unmet Dependencies












1















On Ubuntu 16.04 I am using:



$ sudo apt-get install imagemagick


to install imagemagick. But however I get the following message and imagemagick is not getting installed:



Reading package lists... Done  
Building dependency tree Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.13)
linux-image-extra-4.4.0-138-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Maybe I should run apt-get -f install as recommended. Is that safe on a production system?










share|improve this question

























  • Just tried the install on my 18.04, and it works. The error message you get points at a deeper underlying problem here. Did you by chance meddle with the kernel installation somehow to downgrade the kernel, or did you upgrade from a previous Ubuntu version to 18.04? As 4.4.0 is not the kernel normally running on 18.04.

    – Videonauth
    Feb 18 at 8:26








  • 1





    You can install missing packages which caused the unmet dependencies with sudo apt-get update --fix-missing.

    – Sambit
    Feb 18 at 8:41













  • @Videonauth As far as I know the system was upgraded from a previous Ubuntu version. Would you recommend a kernel update?

    – Mango D
    Feb 18 at 8:53













  • @MangoD: I would do so, you can do it by sudo apt update && sudo apt install --reinstall linux-generic

    – Videonauth
    Feb 18 at 8:57











  • @Videonauth Would you generally say this is a safe command to execute? Of course a backup is always needed before performing such task.

    – Mango D
    Feb 18 at 8:59
















1















On Ubuntu 16.04 I am using:



$ sudo apt-get install imagemagick


to install imagemagick. But however I get the following message and imagemagick is not getting installed:



Reading package lists... Done  
Building dependency tree Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.13)
linux-image-extra-4.4.0-138-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Maybe I should run apt-get -f install as recommended. Is that safe on a production system?










share|improve this question

























  • Just tried the install on my 18.04, and it works. The error message you get points at a deeper underlying problem here. Did you by chance meddle with the kernel installation somehow to downgrade the kernel, or did you upgrade from a previous Ubuntu version to 18.04? As 4.4.0 is not the kernel normally running on 18.04.

    – Videonauth
    Feb 18 at 8:26








  • 1





    You can install missing packages which caused the unmet dependencies with sudo apt-get update --fix-missing.

    – Sambit
    Feb 18 at 8:41













  • @Videonauth As far as I know the system was upgraded from a previous Ubuntu version. Would you recommend a kernel update?

    – Mango D
    Feb 18 at 8:53













  • @MangoD: I would do so, you can do it by sudo apt update && sudo apt install --reinstall linux-generic

    – Videonauth
    Feb 18 at 8:57











  • @Videonauth Would you generally say this is a safe command to execute? Of course a backup is always needed before performing such task.

    – Mango D
    Feb 18 at 8:59














1












1








1








On Ubuntu 16.04 I am using:



$ sudo apt-get install imagemagick


to install imagemagick. But however I get the following message and imagemagick is not getting installed:



Reading package lists... Done  
Building dependency tree Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.13)
linux-image-extra-4.4.0-138-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Maybe I should run apt-get -f install as recommended. Is that safe on a production system?










share|improve this question
















On Ubuntu 16.04 I am using:



$ sudo apt-get install imagemagick


to install imagemagick. But however I get the following message and imagemagick is not getting installed:



Reading package lists... Done  
Building dependency tree Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.13)
linux-image-extra-4.4.0-138-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Maybe I should run apt-get -f install as recommended. Is that safe on a production system?







16.04 apt imagemagick






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 18 at 9:05







Mango D

















asked Feb 18 at 8:20









Mango DMango D

163




163













  • Just tried the install on my 18.04, and it works. The error message you get points at a deeper underlying problem here. Did you by chance meddle with the kernel installation somehow to downgrade the kernel, or did you upgrade from a previous Ubuntu version to 18.04? As 4.4.0 is not the kernel normally running on 18.04.

    – Videonauth
    Feb 18 at 8:26








  • 1





    You can install missing packages which caused the unmet dependencies with sudo apt-get update --fix-missing.

    – Sambit
    Feb 18 at 8:41













  • @Videonauth As far as I know the system was upgraded from a previous Ubuntu version. Would you recommend a kernel update?

    – Mango D
    Feb 18 at 8:53













  • @MangoD: I would do so, you can do it by sudo apt update && sudo apt install --reinstall linux-generic

    – Videonauth
    Feb 18 at 8:57











  • @Videonauth Would you generally say this is a safe command to execute? Of course a backup is always needed before performing such task.

    – Mango D
    Feb 18 at 8:59



















  • Just tried the install on my 18.04, and it works. The error message you get points at a deeper underlying problem here. Did you by chance meddle with the kernel installation somehow to downgrade the kernel, or did you upgrade from a previous Ubuntu version to 18.04? As 4.4.0 is not the kernel normally running on 18.04.

    – Videonauth
    Feb 18 at 8:26








  • 1





    You can install missing packages which caused the unmet dependencies with sudo apt-get update --fix-missing.

    – Sambit
    Feb 18 at 8:41













  • @Videonauth As far as I know the system was upgraded from a previous Ubuntu version. Would you recommend a kernel update?

    – Mango D
    Feb 18 at 8:53













  • @MangoD: I would do so, you can do it by sudo apt update && sudo apt install --reinstall linux-generic

    – Videonauth
    Feb 18 at 8:57











  • @Videonauth Would you generally say this is a safe command to execute? Of course a backup is always needed before performing such task.

    – Mango D
    Feb 18 at 8:59

















Just tried the install on my 18.04, and it works. The error message you get points at a deeper underlying problem here. Did you by chance meddle with the kernel installation somehow to downgrade the kernel, or did you upgrade from a previous Ubuntu version to 18.04? As 4.4.0 is not the kernel normally running on 18.04.

– Videonauth
Feb 18 at 8:26







Just tried the install on my 18.04, and it works. The error message you get points at a deeper underlying problem here. Did you by chance meddle with the kernel installation somehow to downgrade the kernel, or did you upgrade from a previous Ubuntu version to 18.04? As 4.4.0 is not the kernel normally running on 18.04.

– Videonauth
Feb 18 at 8:26






1




1





You can install missing packages which caused the unmet dependencies with sudo apt-get update --fix-missing.

– Sambit
Feb 18 at 8:41







You can install missing packages which caused the unmet dependencies with sudo apt-get update --fix-missing.

– Sambit
Feb 18 at 8:41















@Videonauth As far as I know the system was upgraded from a previous Ubuntu version. Would you recommend a kernel update?

– Mango D
Feb 18 at 8:53







@Videonauth As far as I know the system was upgraded from a previous Ubuntu version. Would you recommend a kernel update?

– Mango D
Feb 18 at 8:53















@MangoD: I would do so, you can do it by sudo apt update && sudo apt install --reinstall linux-generic

– Videonauth
Feb 18 at 8:57





@MangoD: I would do so, you can do it by sudo apt update && sudo apt install --reinstall linux-generic

– Videonauth
Feb 18 at 8:57













@Videonauth Would you generally say this is a safe command to execute? Of course a backup is always needed before performing such task.

– Mango D
Feb 18 at 8:59





@Videonauth Would you generally say this is a safe command to execute? Of course a backup is always needed before performing such task.

– Mango D
Feb 18 at 8:59










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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',
autoActivateHeartbeat: false,
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%2faskubuntu.com%2fquestions%2f1119148%2finstalling-imagemagick-on-ubuntu-unmet-dependencies%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1119148%2finstalling-imagemagick-on-ubuntu-unmet-dependencies%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

How to make a Squid Proxy server?

第一次世界大戦

Touch on Surface Book