problems upgrading from 14.04 to 16.04

J.L. Blom joep at neuroweave.nl
Mon Sep 26 13:26:50 UTC 2016


On 26/09/16 14:53, Colin Law wrote:
> On 26 September 2016 at 13:28, J.L. Blom <joep at neuroweave.nl> wrote:
>> ____________________________
>> joep at laguna:~$ sudo apt-cache policy gcc-5-base
>> gcc-5-base:
>>    Installed: 5.4.1-2ubuntu1~14.04
>>    Candidate: 5.4.1-2ubuntu1~14.04
>>    Version table:
>>   *** 5.4.1-2ubuntu1~14.04 100
>>          100 /var/lib/dpkg/status
>>       5.4.0-6ubuntu1~16.04.2 500
>>          500 http://nl.archive.ubuntu.com/ubuntu xenial-updates/main amd64
>> Packages
>>          500 http://security.ubuntu.com/ubuntu xenial-security/main amd64
>> Packages
>>       5.3.1-14ubuntu2 500
>>          500 http://nl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
>> joep at laguna:~$
>> I can not much with that but maybe you can tell me what it means. I have not
>> much experience with troubleshooting as upgrading always went smoothly.I
>> think I started updating from version 8.04 but reinstalling doesn't seem a
>> good idea as I expect tol loose many packages I installed since then. I also
>> updated the hardware since then twice but that did'nt gave any problems.
>> Hope this will give you clues how to proceed.
> Somehow you have installed a version of that package at a later
> version (5.4.1) than is available for 16.04 (5.4.0). I think the thing
> to do is to remove that and reinstall it, which should pick up the
> correct version.
> sudo apt-get  remove --purge gcc-5-base
> sudo apt-get autoremove
> sudo apt-get install gcc-5-base
>
> If that goes ok then
> sudo apt-get install -f
>
> Colin
>
>
>
Colin,
Thanks. However,  this doesn't work.
When I gave the first command, this is the result:
______________________________

joep at laguna:~$ sudo apt-get remove --purge gcc-5-base
[sudo] password for joep:
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.2) but it is 
not going to be installed
               Breaks: libkolabxml1 (<= 1.1.0-3) but 1.0.1-0ubuntu3 is 
to be installed
               Breaks: libstdc++6:i386 (!= 5.4.0-6ubuntu1~16.04.2) but 
6.2.0-3ubuntu11~14.04 is to be installed
  libstdc++6:i386 : Breaks: libstdc++6 (!= 6.2.0-3ubuntu11~14.04) but 
5.4.0-6ubuntu1~16.04.2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or 
specify a solution).
_____________________________________

As I see it it' a chicken & egg problem: all packages involved are not 
installed because of the dependencies that aren't solved.
Is that solvable or do I have to try --force to remove gcc-5-base?
Joep




More information about the ubuntu-users mailing list