problems upgrading from 14.04 to 16.04

Colin Law clanlaw at gmail.com
Mon Sep 26 12:53:28 UTC 2016


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




More information about the ubuntu-users mailing list