Ubuntu 16.04: libclang 6 cannot be installed
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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?
16.04 package-management dependencies synaptic clang
add a comment |Â
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?
16.04 package-management dependencies synaptic clang
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
add a comment |Â
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?
16.04 package-management dependencies synaptic clang
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?
16.04 package-management dependencies synaptic clang
asked May 10 at 8:28
![](https://lh4.googleusercontent.com/-nM9dCRNlvlY/AAAAAAAAAAI/AAAAAAAADGo/HDcb4mL3B-A/photo.jpg?sz=32)
![](https://lh4.googleusercontent.com/-nM9dCRNlvlY/AAAAAAAAAAI/AAAAAAAADGo/HDcb4mL3B-A/photo.jpg?sz=32)
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
add a comment |Â
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
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
I just upgraded to 18.04 and it worked.
add a comment |Â
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.
add a comment |Â
up vote
1
down vote
I just upgraded to 18.04 and it worked.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I just upgraded to 18.04 and it worked.
I just upgraded to 18.04 and it worked.
answered May 10 at 13:23
![](https://lh4.googleusercontent.com/-nM9dCRNlvlY/AAAAAAAAAAI/AAAAAAAADGo/HDcb4mL3B-A/photo.jpg?sz=32)
![](https://lh4.googleusercontent.com/-nM9dCRNlvlY/AAAAAAAAAAI/AAAAAAAADGo/HDcb4mL3B-A/photo.jpg?sz=32)
Ian MathWiz
133
133
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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