Update woes: libstdc++6
up vote
1
down vote
favorite
I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.
Any help?
; sudo apt upgrade gcc g++ cpp build-essential
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.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Unmet dependencies. Try using -f.
and
; sudo apt remove gcc-5-base
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.
gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and
; sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.
16.04 apt do-release-upgrade
add a comment |
up vote
1
down vote
favorite
I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.
Any help?
; sudo apt upgrade gcc g++ cpp build-essential
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.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Unmet dependencies. Try using -f.
and
; sudo apt remove gcc-5-base
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.
gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and
; sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.
16.04 apt do-release-upgrade
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.
Any help?
; sudo apt upgrade gcc g++ cpp build-essential
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.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Unmet dependencies. Try using -f.
and
; sudo apt remove gcc-5-base
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.
gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and
; sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.
16.04 apt do-release-upgrade
I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.
Any help?
; sudo apt upgrade gcc g++ cpp build-essential
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.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Unmet dependencies. Try using -f.
and
; sudo apt remove gcc-5-base
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.
gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and
; sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.
16.04 apt do-release-upgrade
16.04 apt do-release-upgrade
edited Nov 26 at 10:00
asked Nov 26 at 9:18
Sardathrion
1742318
1742318
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I appeared to have worked it out:
- Download the package for libstdc++.
- Downgrade gcc via
apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10. - Install manually:
dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.
At least the errors have gone away.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I appeared to have worked it out:
- Download the package for libstdc++.
- Downgrade gcc via
apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10. - Install manually:
dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.
At least the errors have gone away.
add a comment |
up vote
0
down vote
I appeared to have worked it out:
- Download the package for libstdc++.
- Downgrade gcc via
apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10. - Install manually:
dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.
At least the errors have gone away.
add a comment |
up vote
0
down vote
up vote
0
down vote
I appeared to have worked it out:
- Download the package for libstdc++.
- Downgrade gcc via
apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10. - Install manually:
dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.
At least the errors have gone away.
I appeared to have worked it out:
- Download the package for libstdc++.
- Downgrade gcc via
apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10. - Install manually:
dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.
At least the errors have gone away.
answered Nov 26 at 10:10
Sardathrion
1742318
1742318
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.
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.
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%2f1096106%2fupdate-woes-libstdc6%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