Ubuntu 16.04: libclang 6 cannot be installed

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am currently trying to install doxygen, which has an unmet dependency libclang.so.6. I followed these instructions for installing this package, but it has its own dependencies.



The following packages have unmet dependencies:
clang-6.0 : Depends: libjsoncpp1 (>= 1.7.4) but 1.7.2-1 is to be installed
Depends: libstdc++-7-dev but it is not installable
Depends: libgcc-7-dev but it is not installable
Depends: libobjc-7-dev but it is not installable
Depends: libclang-common-6.0-dev (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
Depends: libclang1-6.0 (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
E: Unable to correct problems, you have held broken packages.


I have tried installing each of these, both using apt-get and synaptic, but they all are either unavailable or not available in the correct version. How can I find and install the correct versions of each of these dependencies?







share|improve this question
















  • 1




    @Danibix Yes. Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: [long list] Use 'sudo apt autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
    – Ian MathWiz
    May 10 at 8:39










  • @Danibix Yes, and I get the same list of unmet dependencies. Is there a particular directory file I need to do this in? I'm doing it in the same directory as the doxygen executable.
    – Ian MathWiz
    May 10 at 8:46










  • Depends: libstdc++-7-dev but it is not installable : You are trying to install Ubuntu 17.10 or 18.04 packages.
    – Knud Larsen
    May 10 at 10:25














up vote
0
down vote

favorite












I am currently trying to install doxygen, which has an unmet dependency libclang.so.6. I followed these instructions for installing this package, but it has its own dependencies.



The following packages have unmet dependencies:
clang-6.0 : Depends: libjsoncpp1 (>= 1.7.4) but 1.7.2-1 is to be installed
Depends: libstdc++-7-dev but it is not installable
Depends: libgcc-7-dev but it is not installable
Depends: libobjc-7-dev but it is not installable
Depends: libclang-common-6.0-dev (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
Depends: libclang1-6.0 (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
E: Unable to correct problems, you have held broken packages.


I have tried installing each of these, both using apt-get and synaptic, but they all are either unavailable or not available in the correct version. How can I find and install the correct versions of each of these dependencies?







share|improve this question
















  • 1




    @Danibix Yes. Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: [long list] Use 'sudo apt autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
    – Ian MathWiz
    May 10 at 8:39










  • @Danibix Yes, and I get the same list of unmet dependencies. Is there a particular directory file I need to do this in? I'm doing it in the same directory as the doxygen executable.
    – Ian MathWiz
    May 10 at 8:46










  • Depends: libstdc++-7-dev but it is not installable : You are trying to install Ubuntu 17.10 or 18.04 packages.
    – Knud Larsen
    May 10 at 10:25












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am currently trying to install doxygen, which has an unmet dependency libclang.so.6. I followed these instructions for installing this package, but it has its own dependencies.



The following packages have unmet dependencies:
clang-6.0 : Depends: libjsoncpp1 (>= 1.7.4) but 1.7.2-1 is to be installed
Depends: libstdc++-7-dev but it is not installable
Depends: libgcc-7-dev but it is not installable
Depends: libobjc-7-dev but it is not installable
Depends: libclang-common-6.0-dev (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
Depends: libclang1-6.0 (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
E: Unable to correct problems, you have held broken packages.


I have tried installing each of these, both using apt-get and synaptic, but they all are either unavailable or not available in the correct version. How can I find and install the correct versions of each of these dependencies?







share|improve this question












I am currently trying to install doxygen, which has an unmet dependency libclang.so.6. I followed these instructions for installing this package, but it has its own dependencies.



The following packages have unmet dependencies:
clang-6.0 : Depends: libjsoncpp1 (>= 1.7.4) but 1.7.2-1 is to be installed
Depends: libstdc++-7-dev but it is not installable
Depends: libgcc-7-dev but it is not installable
Depends: libobjc-7-dev but it is not installable
Depends: libclang-common-6.0-dev (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
Depends: libclang1-6.0 (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
E: Unable to correct problems, you have held broken packages.


I have tried installing each of these, both using apt-get and synaptic, but they all are either unavailable or not available in the correct version. How can I find and install the correct versions of each of these dependencies?









share|improve this question











share|improve this question




share|improve this question










asked May 10 at 8:28









Ian MathWiz

133




133







  • 1




    @Danibix Yes. Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: [long list] Use 'sudo apt autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
    – Ian MathWiz
    May 10 at 8:39










  • @Danibix Yes, and I get the same list of unmet dependencies. Is there a particular directory file I need to do this in? I'm doing it in the same directory as the doxygen executable.
    – Ian MathWiz
    May 10 at 8:46










  • Depends: libstdc++-7-dev but it is not installable : You are trying to install Ubuntu 17.10 or 18.04 packages.
    – Knud Larsen
    May 10 at 10:25












  • 1




    @Danibix Yes. Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: [long list] Use 'sudo apt autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
    – Ian MathWiz
    May 10 at 8:39










  • @Danibix Yes, and I get the same list of unmet dependencies. Is there a particular directory file I need to do this in? I'm doing it in the same directory as the doxygen executable.
    – Ian MathWiz
    May 10 at 8:46










  • Depends: libstdc++-7-dev but it is not installable : You are trying to install Ubuntu 17.10 or 18.04 packages.
    – Knud Larsen
    May 10 at 10:25







1




1




@Danibix Yes. Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: [long list] Use 'sudo apt autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
– Ian MathWiz
May 10 at 8:39




@Danibix Yes. Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: [long list] Use 'sudo apt autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
– Ian MathWiz
May 10 at 8:39












@Danibix Yes, and I get the same list of unmet dependencies. Is there a particular directory file I need to do this in? I'm doing it in the same directory as the doxygen executable.
– Ian MathWiz
May 10 at 8:46




@Danibix Yes, and I get the same list of unmet dependencies. Is there a particular directory file I need to do this in? I'm doing it in the same directory as the doxygen executable.
– Ian MathWiz
May 10 at 8:46












Depends: libstdc++-7-dev but it is not installable : You are trying to install Ubuntu 17.10 or 18.04 packages.
– Knud Larsen
May 10 at 10:25




Depends: libstdc++-7-dev but it is not installable : You are trying to install Ubuntu 17.10 or 18.04 packages.
– Knud Larsen
May 10 at 10:25










1 Answer
1






active

oldest

votes

















up vote
1
down vote













I just upgraded to 18.04 and it worked.






share|improve this answer




















    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1034393%2fubuntu-16-04-libclang-6-cannot-be-installed%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    I just upgraded to 18.04 and it worked.






    share|improve this answer
























      up vote
      1
      down vote













      I just upgraded to 18.04 and it worked.






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        I just upgraded to 18.04 and it worked.






        share|improve this answer












        I just upgraded to 18.04 and it worked.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 10 at 13:23









        Ian MathWiz

        133




        133






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034393%2fubuntu-16-04-libclang-6-cannot-be-installed%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error