problems upgrading from 14.04 to 16.04

Tom H tomh0665 at gmail.com
Mon Sep 26 13:27:59 UTC 2016


On Mon, Sep 26, 2016 at 8:53 AM, Colin Law <clanlaw at gmail.com> 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:~$
>
> 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

5.4.1-2ubuntu1~14.04 looks like it comes from a testing PPA:

https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test




More information about the ubuntu-users mailing list