problems upgrading from 14.04 to 16.04

Tom H tomh0665 at gmail.com
Thu Sep 29 11:20:21 UTC 2016


On Wed, Sep 28, 2016 at 11:35 AM, J.L. Blom <joep at neuroweave.nl> wrote:
>
> I was away but I have done as you suggested and here is the output:
>
> joep at laguna:~$ sudo apt-get install libkolabxml1v5
> ...
> The following packages have unmet dependencies:
> libkolabxml1v5 : Breaks: libkolabxml1 but 1.0.1-0ubuntu3 is to be installed
> libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.2) but
> 5.4.1-2ubuntu1~14.04 is 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).
>
> joep at laguna:~$ sudo apt-get install -s gcc-5-base=5.4.0-6ubuntu1~16.04.2
> ...
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
> gcc-5-base : Breaks: gcc-5-base:i386 (!= 5.4.0-6ubuntu1~16.04.2) but
> 5.4.1-2ubuntu1~14.04 is to be installed
> gcc-5-base:i386 : Breaks: gcc-5-base (!= 5.4.1-2ubuntu1~14.04) but
> 5.4.0-6ubuntu1~16.04.2 is to be installed
> libstdc++6 : 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).
>
> joep at laguna:~$ sudo apt-get install -s -o Dpkg::Options::="--force-all"
> gcc-5-base=5.4.0-6ubuntu1~16.04.2
> ...
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
> gcc-5-base : Breaks: gcc-5-base:i386 (!= 5.4.0-6ubuntu1~16.04.2) but
> 5.4.1-2ubuntu1~14.04 is to be installed
> gcc-5-base:i386 : Breaks: gcc-5-base (!= 5.4.1-2ubuntu1~14.04) but
> 5.4.0-6ubuntu1~16.04.2 is to be installed
> libstdc++6 : 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).

I was hoping that there'd be a different way but you're going to have
to do what I would've done a while back if this were my system:

dpkg -P --force-all gcc-5-base

followed by updating your system to pull it back in and finishing your upgrade.


> @Ralf: no, contrary to your suggestion I have never updated from an
> unofficial ubuntu source. I have installed some KDE packages as they gave me
> possibilities I needed which were not available from gnome.
> It is becoming a nightmare as removing libkolabxml1 is not possible (gives
> the same errors) and I don't know what happens if I try to remove
> libstdc++6.

You must've installed that gcc-5-base package from

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

because there's no other source for it, definitely not from the
standard Ubuntu repositories:

https://launchpad.net/ubuntu/+source/gcc-5/+publishinghistory




More information about the ubuntu-users mailing list