Ubuntu 16.04: gcc-5-base brokenUpgrade: solve dependency on previous release packageI have a version dependency that I don't understand14.04 to 16.04 LTS gcc-5-base downgradeUnmet dependencies when trying to install r-baseError installing zlib1g-dev in ubuntu 16.04 desktopdpkg: error processing package sendmail-base
Lost Time at Motel?
Hough transform algorithm - Idiomatic c++
Should I present forged documents in a Penetration Test/Red team engagement?
Short story from the 70s(?) about aliens/angels destroying humankind, from the point of view of a priest/pastor
Prevent function taking const std::string& from accepting 0
Sorting numbers in descending order but with `0`s at the start
Authenticate users based on both user role, and requested operation
How did Gdoley Israel react to the landing on the Moon?
Triangular domino tiling of an almost regular hexagon
What is the difference between chemical equilibrium and dynamic equilibrium?
What else would an hot red wire be for in a split-tab outlet?
Is 'lay lady lay' grammatical?
Is military allowed to wear civilian clothes when testifying in Congress?
How can I reflect a StreamPlot object?
My PhD defense is next week and I am having negative thoughts about my work and knowledge. Any advice on how to tackle this?
Will Curiosity and the Mars 2020 rover be able to communicate with each other via a Mars orbiter?
What antenna is this in an Apollo 15 LM photo?
How can you determine the hostname associated with an IP on the network?
What instructions should I give to an untrained passenger for Hand propping Cessna 172N as a pilot?
How to fight an army of skeletons?
Contacted by head of school regarding an issue - should I be worried?
Is there a reason to have 2 or more witnesses at the same time during the current impeachment hearings
What does play with feeling mean?
How can I make sure a string contains at least one uppercase letter, one lowercase letter, one number and one punctuation character?
Ubuntu 16.04: gcc-5-base broken
Upgrade: solve dependency on previous release packageI have a version dependency that I don't understand14.04 to 16.04 LTS gcc-5-base downgradeUnmet dependencies when trying to install r-baseError installing zlib1g-dev in ubuntu 16.04 desktopdpkg: error processing package sendmail-base
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
On Ubuntu 16.04 I've problems with gcc-5-base package:
user@laptop:~$ sudo apt install libgfortran3
The following packages have unmet dependencies:
libgfortran3 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11) but 5.5.0-12ubuntu1~16.04 is to be installed
E: Unable to correct problems, you have held broken packages.
No hold packages: dpkg --get-selection | grep hold
returns nothing.
No automatic fixes to apply:
user@laptop:~$ sudo apt -f install
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reinstall says that everything is ok (but of course is not):
user@laptop:~$ sudo apt install gcc-5-base
gcc-5-base is already the newest version (5.5.0-12ubuntu1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
No dependencies to clean:
user@laptop:~$ sudo apt-get --purge autoremove
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
I think that the problem arose upgrading from 14.04 to 16.04: I've used these commands to fix libstdc++, after do-release-upgrade
.
Any other hints?
Thank you.
package-management dependencies gcc
|
show 4 more comments
On Ubuntu 16.04 I've problems with gcc-5-base package:
user@laptop:~$ sudo apt install libgfortran3
The following packages have unmet dependencies:
libgfortran3 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11) but 5.5.0-12ubuntu1~16.04 is to be installed
E: Unable to correct problems, you have held broken packages.
No hold packages: dpkg --get-selection | grep hold
returns nothing.
No automatic fixes to apply:
user@laptop:~$ sudo apt -f install
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reinstall says that everything is ok (but of course is not):
user@laptop:~$ sudo apt install gcc-5-base
gcc-5-base is already the newest version (5.5.0-12ubuntu1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
No dependencies to clean:
user@laptop:~$ sudo apt-get --purge autoremove
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
I think that the problem arose upgrading from 14.04 to 16.04: I've used these commands to fix libstdc++, after do-release-upgrade
.
Any other hints?
Thank you.
package-management dependencies gcc
Sounds like an outdated package list; have you runapt update
recently?
– fkraiem
Sep 12 at 8:38
Yes, I forgot to mention:sudo apt update
returnsAll packages are up to date
. No issue with repositories at all. And I don't have PPAs.
– caneta
Sep 12 at 9:40
You definitely have an issue with your repositories, because Apt wants to install version5.5.0-12ubuntu1~16.04
ofgcc-5-base
despite its not being the latest version (the latest version is5.4.0-6ubuntu1~16.04.11
). Maybeapt-cache policy gcc-5-base
could give a hint...
– fkraiem
Sep 12 at 10:09
Your command reportsgcc-5-base: Installed: 5.5.0-12ubuntu1~16.04 Candidate: 5.5.0-12ubuntu1~16.04 Version table: *** 5.5.0-12ubuntu1~16.04 100 100 /var/lib/dpkg/status 5.4.0-6ubuntu1~16.04.11 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 5.4.0-6ubuntu1~16.04.10 500 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 5.3.1-14ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
– caneta
Sep 12 at 10:54
Further info:dpkg --get-selections | grep deinstall
returns nothing as well.
– caneta
Sep 13 at 9:57
|
show 4 more comments
On Ubuntu 16.04 I've problems with gcc-5-base package:
user@laptop:~$ sudo apt install libgfortran3
The following packages have unmet dependencies:
libgfortran3 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11) but 5.5.0-12ubuntu1~16.04 is to be installed
E: Unable to correct problems, you have held broken packages.
No hold packages: dpkg --get-selection | grep hold
returns nothing.
No automatic fixes to apply:
user@laptop:~$ sudo apt -f install
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reinstall says that everything is ok (but of course is not):
user@laptop:~$ sudo apt install gcc-5-base
gcc-5-base is already the newest version (5.5.0-12ubuntu1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
No dependencies to clean:
user@laptop:~$ sudo apt-get --purge autoremove
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
I think that the problem arose upgrading from 14.04 to 16.04: I've used these commands to fix libstdc++, after do-release-upgrade
.
Any other hints?
Thank you.
package-management dependencies gcc
On Ubuntu 16.04 I've problems with gcc-5-base package:
user@laptop:~$ sudo apt install libgfortran3
The following packages have unmet dependencies:
libgfortran3 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11) but 5.5.0-12ubuntu1~16.04 is to be installed
E: Unable to correct problems, you have held broken packages.
No hold packages: dpkg --get-selection | grep hold
returns nothing.
No automatic fixes to apply:
user@laptop:~$ sudo apt -f install
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reinstall says that everything is ok (but of course is not):
user@laptop:~$ sudo apt install gcc-5-base
gcc-5-base is already the newest version (5.5.0-12ubuntu1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
No dependencies to clean:
user@laptop:~$ sudo apt-get --purge autoremove
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
I think that the problem arose upgrading from 14.04 to 16.04: I've used these commands to fix libstdc++, after do-release-upgrade
.
Any other hints?
Thank you.
package-management dependencies gcc
package-management dependencies gcc
asked Sep 12 at 6:52
canetacaneta
1013 bronze badges
1013 bronze badges
Sounds like an outdated package list; have you runapt update
recently?
– fkraiem
Sep 12 at 8:38
Yes, I forgot to mention:sudo apt update
returnsAll packages are up to date
. No issue with repositories at all. And I don't have PPAs.
– caneta
Sep 12 at 9:40
You definitely have an issue with your repositories, because Apt wants to install version5.5.0-12ubuntu1~16.04
ofgcc-5-base
despite its not being the latest version (the latest version is5.4.0-6ubuntu1~16.04.11
). Maybeapt-cache policy gcc-5-base
could give a hint...
– fkraiem
Sep 12 at 10:09
Your command reportsgcc-5-base: Installed: 5.5.0-12ubuntu1~16.04 Candidate: 5.5.0-12ubuntu1~16.04 Version table: *** 5.5.0-12ubuntu1~16.04 100 100 /var/lib/dpkg/status 5.4.0-6ubuntu1~16.04.11 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 5.4.0-6ubuntu1~16.04.10 500 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 5.3.1-14ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
– caneta
Sep 12 at 10:54
Further info:dpkg --get-selections | grep deinstall
returns nothing as well.
– caneta
Sep 13 at 9:57
|
show 4 more comments
Sounds like an outdated package list; have you runapt update
recently?
– fkraiem
Sep 12 at 8:38
Yes, I forgot to mention:sudo apt update
returnsAll packages are up to date
. No issue with repositories at all. And I don't have PPAs.
– caneta
Sep 12 at 9:40
You definitely have an issue with your repositories, because Apt wants to install version5.5.0-12ubuntu1~16.04
ofgcc-5-base
despite its not being the latest version (the latest version is5.4.0-6ubuntu1~16.04.11
). Maybeapt-cache policy gcc-5-base
could give a hint...
– fkraiem
Sep 12 at 10:09
Your command reportsgcc-5-base: Installed: 5.5.0-12ubuntu1~16.04 Candidate: 5.5.0-12ubuntu1~16.04 Version table: *** 5.5.0-12ubuntu1~16.04 100 100 /var/lib/dpkg/status 5.4.0-6ubuntu1~16.04.11 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 5.4.0-6ubuntu1~16.04.10 500 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 5.3.1-14ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
– caneta
Sep 12 at 10:54
Further info:dpkg --get-selections | grep deinstall
returns nothing as well.
– caneta
Sep 13 at 9:57
Sounds like an outdated package list; have you run
apt update
recently?– fkraiem
Sep 12 at 8:38
Sounds like an outdated package list; have you run
apt update
recently?– fkraiem
Sep 12 at 8:38
Yes, I forgot to mention:
sudo apt update
returns All packages are up to date
. No issue with repositories at all. And I don't have PPAs.– caneta
Sep 12 at 9:40
Yes, I forgot to mention:
sudo apt update
returns All packages are up to date
. No issue with repositories at all. And I don't have PPAs.– caneta
Sep 12 at 9:40
You definitely have an issue with your repositories, because Apt wants to install version
5.5.0-12ubuntu1~16.04
of gcc-5-base
despite its not being the latest version (the latest version is 5.4.0-6ubuntu1~16.04.11
). Maybe apt-cache policy gcc-5-base
could give a hint...– fkraiem
Sep 12 at 10:09
You definitely have an issue with your repositories, because Apt wants to install version
5.5.0-12ubuntu1~16.04
of gcc-5-base
despite its not being the latest version (the latest version is 5.4.0-6ubuntu1~16.04.11
). Maybe apt-cache policy gcc-5-base
could give a hint...– fkraiem
Sep 12 at 10:09
Your command reports
gcc-5-base: Installed: 5.5.0-12ubuntu1~16.04 Candidate: 5.5.0-12ubuntu1~16.04 Version table: *** 5.5.0-12ubuntu1~16.04 100 100 /var/lib/dpkg/status 5.4.0-6ubuntu1~16.04.11 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 5.4.0-6ubuntu1~16.04.10 500 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 5.3.1-14ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
– caneta
Sep 12 at 10:54
Your command reports
gcc-5-base: Installed: 5.5.0-12ubuntu1~16.04 Candidate: 5.5.0-12ubuntu1~16.04 Version table: *** 5.5.0-12ubuntu1~16.04 100 100 /var/lib/dpkg/status 5.4.0-6ubuntu1~16.04.11 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 5.4.0-6ubuntu1~16.04.10 500 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 5.3.1-14ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
– caneta
Sep 12 at 10:54
Further info:
dpkg --get-selections | grep deinstall
returns nothing as well.– caneta
Sep 13 at 9:57
Further info:
dpkg --get-selections | grep deinstall
returns nothing as well.– caneta
Sep 13 at 9:57
|
show 4 more comments
2 Answers
2
active
oldest
votes
From the problem description, the issue is completely clear.
Your issue is:
libgfortran3 is what you wish to install.
=>=> but it requires gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
.. .. ..=>=> But gcc-5-base (5.5.0-12ubuntu1~16.04) is available.
See, the problem is, to install libgfortran3 you need (exactly, because of = sign) 5.4.0-6ubuntu1~16.04.11, but this version is not available. What IS available is: 5.5.0-12ubuntu1~16.04, which cannot satisfy the dependency (because the condition is exact match). So nothing is installed.
And since nothing has been, your installation base is also correct, and in correct state. But the package IS broken.
Solution
First download the deb of libgfortran3
sudo apt download libgfortran3
sudo dpkg -i --force-depends libgfortran [your version] .deb
The first will download the libgfortan3-version.deb to your pwd.
Next, modify /var/lib/dpkg/status to make dpkg shut up.
/var/lib/dpkg/status
- edit /var/lib/dpkg/status
- Find the package with the broken dependencies
- edit the Depends: line to stop the package complaining.
Find the line:
Package: libgfortan3
Next edit the line Depends (a few line after the previous one)
Modify:
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
To:
Depends: gcc-5-base (>= 5.4.0-6ubuntu1~16.04.11)
That should fix it.
This answer is nonsense.
– fkraiem
Sep 12 at 10:17
That worked! The only thing that remains to solve is thatapt update
returns 1 package to upgrade andapt list --upgradable -a
returns libgfortran3, butapt upgrade
returns nothing.
– caneta
Sep 13 at 10:38
1
I used a cleaner solution reported above. Thank you anyway Domo N Car!
– caneta
Sep 13 at 15:32
add a comment
|
I solved using sudo apt install gcc-5-base=5.4.0-6ubuntu1~16.04.11
. That removed a lot of things, also a critical package to me: xubuntu-desktop
.
But reinstalling it with sudo apt install xubuntu-desktop
solved other broken dependencies and I was able to do sudo install libgfortran3
with success.
Thanks everyone.
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/4.0/"u003ecc by-sa 4.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%2f1173624%2fubuntu-16-04-gcc-5-base-broken%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
From the problem description, the issue is completely clear.
Your issue is:
libgfortran3 is what you wish to install.
=>=> but it requires gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
.. .. ..=>=> But gcc-5-base (5.5.0-12ubuntu1~16.04) is available.
See, the problem is, to install libgfortran3 you need (exactly, because of = sign) 5.4.0-6ubuntu1~16.04.11, but this version is not available. What IS available is: 5.5.0-12ubuntu1~16.04, which cannot satisfy the dependency (because the condition is exact match). So nothing is installed.
And since nothing has been, your installation base is also correct, and in correct state. But the package IS broken.
Solution
First download the deb of libgfortran3
sudo apt download libgfortran3
sudo dpkg -i --force-depends libgfortran [your version] .deb
The first will download the libgfortan3-version.deb to your pwd.
Next, modify /var/lib/dpkg/status to make dpkg shut up.
/var/lib/dpkg/status
- edit /var/lib/dpkg/status
- Find the package with the broken dependencies
- edit the Depends: line to stop the package complaining.
Find the line:
Package: libgfortan3
Next edit the line Depends (a few line after the previous one)
Modify:
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
To:
Depends: gcc-5-base (>= 5.4.0-6ubuntu1~16.04.11)
That should fix it.
This answer is nonsense.
– fkraiem
Sep 12 at 10:17
That worked! The only thing that remains to solve is thatapt update
returns 1 package to upgrade andapt list --upgradable -a
returns libgfortran3, butapt upgrade
returns nothing.
– caneta
Sep 13 at 10:38
1
I used a cleaner solution reported above. Thank you anyway Domo N Car!
– caneta
Sep 13 at 15:32
add a comment
|
From the problem description, the issue is completely clear.
Your issue is:
libgfortran3 is what you wish to install.
=>=> but it requires gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
.. .. ..=>=> But gcc-5-base (5.5.0-12ubuntu1~16.04) is available.
See, the problem is, to install libgfortran3 you need (exactly, because of = sign) 5.4.0-6ubuntu1~16.04.11, but this version is not available. What IS available is: 5.5.0-12ubuntu1~16.04, which cannot satisfy the dependency (because the condition is exact match). So nothing is installed.
And since nothing has been, your installation base is also correct, and in correct state. But the package IS broken.
Solution
First download the deb of libgfortran3
sudo apt download libgfortran3
sudo dpkg -i --force-depends libgfortran [your version] .deb
The first will download the libgfortan3-version.deb to your pwd.
Next, modify /var/lib/dpkg/status to make dpkg shut up.
/var/lib/dpkg/status
- edit /var/lib/dpkg/status
- Find the package with the broken dependencies
- edit the Depends: line to stop the package complaining.
Find the line:
Package: libgfortan3
Next edit the line Depends (a few line after the previous one)
Modify:
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
To:
Depends: gcc-5-base (>= 5.4.0-6ubuntu1~16.04.11)
That should fix it.
This answer is nonsense.
– fkraiem
Sep 12 at 10:17
That worked! The only thing that remains to solve is thatapt update
returns 1 package to upgrade andapt list --upgradable -a
returns libgfortran3, butapt upgrade
returns nothing.
– caneta
Sep 13 at 10:38
1
I used a cleaner solution reported above. Thank you anyway Domo N Car!
– caneta
Sep 13 at 15:32
add a comment
|
From the problem description, the issue is completely clear.
Your issue is:
libgfortran3 is what you wish to install.
=>=> but it requires gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
.. .. ..=>=> But gcc-5-base (5.5.0-12ubuntu1~16.04) is available.
See, the problem is, to install libgfortran3 you need (exactly, because of = sign) 5.4.0-6ubuntu1~16.04.11, but this version is not available. What IS available is: 5.5.0-12ubuntu1~16.04, which cannot satisfy the dependency (because the condition is exact match). So nothing is installed.
And since nothing has been, your installation base is also correct, and in correct state. But the package IS broken.
Solution
First download the deb of libgfortran3
sudo apt download libgfortran3
sudo dpkg -i --force-depends libgfortran [your version] .deb
The first will download the libgfortan3-version.deb to your pwd.
Next, modify /var/lib/dpkg/status to make dpkg shut up.
/var/lib/dpkg/status
- edit /var/lib/dpkg/status
- Find the package with the broken dependencies
- edit the Depends: line to stop the package complaining.
Find the line:
Package: libgfortan3
Next edit the line Depends (a few line after the previous one)
Modify:
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
To:
Depends: gcc-5-base (>= 5.4.0-6ubuntu1~16.04.11)
That should fix it.
From the problem description, the issue is completely clear.
Your issue is:
libgfortran3 is what you wish to install.
=>=> but it requires gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
.. .. ..=>=> But gcc-5-base (5.5.0-12ubuntu1~16.04) is available.
See, the problem is, to install libgfortran3 you need (exactly, because of = sign) 5.4.0-6ubuntu1~16.04.11, but this version is not available. What IS available is: 5.5.0-12ubuntu1~16.04, which cannot satisfy the dependency (because the condition is exact match). So nothing is installed.
And since nothing has been, your installation base is also correct, and in correct state. But the package IS broken.
Solution
First download the deb of libgfortran3
sudo apt download libgfortran3
sudo dpkg -i --force-depends libgfortran [your version] .deb
The first will download the libgfortan3-version.deb to your pwd.
Next, modify /var/lib/dpkg/status to make dpkg shut up.
/var/lib/dpkg/status
- edit /var/lib/dpkg/status
- Find the package with the broken dependencies
- edit the Depends: line to stop the package complaining.
Find the line:
Package: libgfortan3
Next edit the line Depends (a few line after the previous one)
Modify:
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.11)
To:
Depends: gcc-5-base (>= 5.4.0-6ubuntu1~16.04.11)
That should fix it.
answered Sep 12 at 10:12
Domo N CarDomo N Car
7873 silver badges10 bronze badges
7873 silver badges10 bronze badges
This answer is nonsense.
– fkraiem
Sep 12 at 10:17
That worked! The only thing that remains to solve is thatapt update
returns 1 package to upgrade andapt list --upgradable -a
returns libgfortran3, butapt upgrade
returns nothing.
– caneta
Sep 13 at 10:38
1
I used a cleaner solution reported above. Thank you anyway Domo N Car!
– caneta
Sep 13 at 15:32
add a comment
|
This answer is nonsense.
– fkraiem
Sep 12 at 10:17
That worked! The only thing that remains to solve is thatapt update
returns 1 package to upgrade andapt list --upgradable -a
returns libgfortran3, butapt upgrade
returns nothing.
– caneta
Sep 13 at 10:38
1
I used a cleaner solution reported above. Thank you anyway Domo N Car!
– caneta
Sep 13 at 15:32
This answer is nonsense.
– fkraiem
Sep 12 at 10:17
This answer is nonsense.
– fkraiem
Sep 12 at 10:17
That worked! The only thing that remains to solve is that
apt update
returns 1 package to upgrade and apt list --upgradable -a
returns libgfortran3, but apt upgrade
returns nothing.– caneta
Sep 13 at 10:38
That worked! The only thing that remains to solve is that
apt update
returns 1 package to upgrade and apt list --upgradable -a
returns libgfortran3, but apt upgrade
returns nothing.– caneta
Sep 13 at 10:38
1
1
I used a cleaner solution reported above. Thank you anyway Domo N Car!
– caneta
Sep 13 at 15:32
I used a cleaner solution reported above. Thank you anyway Domo N Car!
– caneta
Sep 13 at 15:32
add a comment
|
I solved using sudo apt install gcc-5-base=5.4.0-6ubuntu1~16.04.11
. That removed a lot of things, also a critical package to me: xubuntu-desktop
.
But reinstalling it with sudo apt install xubuntu-desktop
solved other broken dependencies and I was able to do sudo install libgfortran3
with success.
Thanks everyone.
add a comment
|
I solved using sudo apt install gcc-5-base=5.4.0-6ubuntu1~16.04.11
. That removed a lot of things, also a critical package to me: xubuntu-desktop
.
But reinstalling it with sudo apt install xubuntu-desktop
solved other broken dependencies and I was able to do sudo install libgfortran3
with success.
Thanks everyone.
add a comment
|
I solved using sudo apt install gcc-5-base=5.4.0-6ubuntu1~16.04.11
. That removed a lot of things, also a critical package to me: xubuntu-desktop
.
But reinstalling it with sudo apt install xubuntu-desktop
solved other broken dependencies and I was able to do sudo install libgfortran3
with success.
Thanks everyone.
I solved using sudo apt install gcc-5-base=5.4.0-6ubuntu1~16.04.11
. That removed a lot of things, also a critical package to me: xubuntu-desktop
.
But reinstalling it with sudo apt install xubuntu-desktop
solved other broken dependencies and I was able to do sudo install libgfortran3
with success.
Thanks everyone.
edited Sep 14 at 17:35
answered Sep 13 at 15:31
canetacaneta
1013 bronze badges
1013 bronze badges
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%2f1173624%2fubuntu-16-04-gcc-5-base-broken%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
Sounds like an outdated package list; have you run
apt update
recently?– fkraiem
Sep 12 at 8:38
Yes, I forgot to mention:
sudo apt update
returnsAll packages are up to date
. No issue with repositories at all. And I don't have PPAs.– caneta
Sep 12 at 9:40
You definitely have an issue with your repositories, because Apt wants to install version
5.5.0-12ubuntu1~16.04
ofgcc-5-base
despite its not being the latest version (the latest version is5.4.0-6ubuntu1~16.04.11
). Maybeapt-cache policy gcc-5-base
could give a hint...– fkraiem
Sep 12 at 10:09
Your command reports
gcc-5-base: Installed: 5.5.0-12ubuntu1~16.04 Candidate: 5.5.0-12ubuntu1~16.04 Version table: *** 5.5.0-12ubuntu1~16.04 100 100 /var/lib/dpkg/status 5.4.0-6ubuntu1~16.04.11 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 5.4.0-6ubuntu1~16.04.10 500 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 5.3.1-14ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
– caneta
Sep 12 at 10:54
Further info:
dpkg --get-selections | grep deinstall
returns nothing as well.– caneta
Sep 13 at 9:57