Dependency errors for gcc-4.8 while installing any package or software in Ubuntu 16.04
I am getting the below error whenever I am trying to install any software.
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:
gcc-4.8 : Depends: cpp-4.8 (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: gcc-4.8-base (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: binutils (>= 2.25.90.20160101) but 2.15.92.0.2-14 is to be installed
Depends: libgcc-4.8-dev (>= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: libcloog-isl4 (>= 0.17) but it is not going to be installed
gcc-5 : Depends: binutils (>= 2.26.1) but 2.15.92.0.2-14 is to be installed
libc6-dev : Breaks: binutils (< 2.20.1-1) but 2.15.92.0.2-14 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
16.04 apt package-management dpkg
add a comment |
I am getting the below error whenever I am trying to install any software.
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:
gcc-4.8 : Depends: cpp-4.8 (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: gcc-4.8-base (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: binutils (>= 2.25.90.20160101) but 2.15.92.0.2-14 is to be installed
Depends: libgcc-4.8-dev (>= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: libcloog-isl4 (>= 0.17) but it is not going to be installed
gcc-5 : Depends: binutils (>= 2.26.1) but 2.15.92.0.2-14 is to be installed
libc6-dev : Breaks: binutils (< 2.20.1-1) but 2.15.92.0.2-14 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
16.04 apt package-management dpkg
Hey thanks for the reply. I tried as you mentioned but still same error. :(
– user3747488
Jan 27 at 7:34
Hey Kulfy. I am using 16.04 but I couldn't find any tag related to 16.04. So mentioned the available one 14.04.
– user3747488
Jan 27 at 7:43
I figured this out.
– user3747488
Jan 27 at 7:45
I disagree with the reviewers who reviewed this question as off topic because the error is not reproducible. The error message in this question is reproducible, and it could occur in similar situations where there was an unmet dependency related to a version conflict of a critical package like binutils.
– karel
Jan 27 at 14:53
add a comment |
I am getting the below error whenever I am trying to install any software.
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:
gcc-4.8 : Depends: cpp-4.8 (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: gcc-4.8-base (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: binutils (>= 2.25.90.20160101) but 2.15.92.0.2-14 is to be installed
Depends: libgcc-4.8-dev (>= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: libcloog-isl4 (>= 0.17) but it is not going to be installed
gcc-5 : Depends: binutils (>= 2.26.1) but 2.15.92.0.2-14 is to be installed
libc6-dev : Breaks: binutils (< 2.20.1-1) but 2.15.92.0.2-14 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
16.04 apt package-management dpkg
I am getting the below error whenever I am trying to install any software.
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:
gcc-4.8 : Depends: cpp-4.8 (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: gcc-4.8-base (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: binutils (>= 2.25.90.20160101) but 2.15.92.0.2-14 is to be installed
Depends: libgcc-4.8-dev (>= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: libcloog-isl4 (>= 0.17) but it is not going to be installed
gcc-5 : Depends: binutils (>= 2.26.1) but 2.15.92.0.2-14 is to be installed
libc6-dev : Breaks: binutils (< 2.20.1-1) but 2.15.92.0.2-14 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
16.04 apt package-management dpkg
16.04 apt package-management dpkg
edited Jan 27 at 15:08
Zanna
51k13138242
51k13138242
asked Jan 27 at 7:31
user3747488user3747488
163
163
Hey thanks for the reply. I tried as you mentioned but still same error. :(
– user3747488
Jan 27 at 7:34
Hey Kulfy. I am using 16.04 but I couldn't find any tag related to 16.04. So mentioned the available one 14.04.
– user3747488
Jan 27 at 7:43
I figured this out.
– user3747488
Jan 27 at 7:45
I disagree with the reviewers who reviewed this question as off topic because the error is not reproducible. The error message in this question is reproducible, and it could occur in similar situations where there was an unmet dependency related to a version conflict of a critical package like binutils.
– karel
Jan 27 at 14:53
add a comment |
Hey thanks for the reply. I tried as you mentioned but still same error. :(
– user3747488
Jan 27 at 7:34
Hey Kulfy. I am using 16.04 but I couldn't find any tag related to 16.04. So mentioned the available one 14.04.
– user3747488
Jan 27 at 7:43
I figured this out.
– user3747488
Jan 27 at 7:45
I disagree with the reviewers who reviewed this question as off topic because the error is not reproducible. The error message in this question is reproducible, and it could occur in similar situations where there was an unmet dependency related to a version conflict of a critical package like binutils.
– karel
Jan 27 at 14:53
Hey thanks for the reply. I tried as you mentioned but still same error. :(
– user3747488
Jan 27 at 7:34
Hey thanks for the reply. I tried as you mentioned but still same error. :(
– user3747488
Jan 27 at 7:34
Hey Kulfy. I am using 16.04 but I couldn't find any tag related to 16.04. So mentioned the available one 14.04.
– user3747488
Jan 27 at 7:43
Hey Kulfy. I am using 16.04 but I couldn't find any tag related to 16.04. So mentioned the available one 14.04.
– user3747488
Jan 27 at 7:43
I figured this out.
– user3747488
Jan 27 at 7:45
I figured this out.
– user3747488
Jan 27 at 7:45
I disagree with the reviewers who reviewed this question as off topic because the error is not reproducible. The error message in this question is reproducible, and it could occur in similar situations where there was an unmet dependency related to a version conflict of a critical package like binutils.
– karel
Jan 27 at 14:53
I disagree with the reviewers who reviewed this question as off topic because the error is not reproducible. The error message in this question is reproducible, and it could occur in similar situations where there was an unmet dependency related to a version conflict of a critical package like binutils.
– karel
Jan 27 at 14:53
add a comment |
1 Answer
1
active
oldest
votes
I have resolved the issue by re-installing the package binutils
.
Now it is working fine.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113217%2fdependency-errors-for-gcc-4-8-while-installing-any-package-or-software-in-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have resolved the issue by re-installing the package binutils
.
Now it is working fine.
add a comment |
I have resolved the issue by re-installing the package binutils
.
Now it is working fine.
add a comment |
I have resolved the issue by re-installing the package binutils
.
Now it is working fine.
I have resolved the issue by re-installing the package binutils
.
Now it is working fine.
edited Jan 27 at 15:02
pomsky
32.1k11100131
32.1k11100131
answered Jan 27 at 7:46
user3747488user3747488
163
163
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113217%2fdependency-errors-for-gcc-4-8-while-installing-any-package-or-software-in-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
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
Hey thanks for the reply. I tried as you mentioned but still same error. :(
– user3747488
Jan 27 at 7:34
Hey Kulfy. I am using 16.04 but I couldn't find any tag related to 16.04. So mentioned the available one 14.04.
– user3747488
Jan 27 at 7:43
I figured this out.
– user3747488
Jan 27 at 7:45
I disagree with the reviewers who reviewed this question as off topic because the error is not reproducible. The error message in this question is reproducible, and it could occur in similar situations where there was an unmet dependency related to a version conflict of a critical package like binutils.
– karel
Jan 27 at 14:53