problems upgrading from 14.04 to 16.04

J.L. Blom joep at neuroweave.nl
Wed Sep 28 15:35:39 UTC 2016


On 28/09/16 11:10, Tom H wrote:
> On Tue, Sep 27, 2016 at 5:59 PM, J.L. Blom <joep at neuroweave.nl> wrote:
>> Tom, that is peculiar, see the difference with "sudo apt-cache policy
>> gcc-5-base"
>>
>> joep at laguna:~$ sudo apt-cache policy gcc-5
>> gcc-5:
>>    Installed: (none)
>>    Candidate: 5.4.0-6ubuntu1~16.04.2
>>    Version table:
>>       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
>>
>> Now the question: How to get it installed?
> Please don't install gcc-5. I've compiled various things on this
> laptop and have it installed for that reason.
>
> Looking at your first email. There's a problem with libkolabxml1 but
> it no longer exists on 16.04/16.10 (the below's on 16.10):
>
> th at localhost ~ $ apt-cache search libkolab
> libkolab-dev - Development package for Kolab library
> libkolab1 - Maps KDE containers to Kolab formats
> libkolabxml-dev - Development files for libkolabxml
> libkolabxml1v5 - Kolab XML format (shared library)
>
> th at localhost ~ $ apt-cache show libkolabxml1v5
> Package: libkolabxml1v5
> Priority: optional
> Section: universe/libs
> Installed-Size: 3504
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Original-Maintainer: Debian Kolab Maintainers
> <pkg-kolab-devel at lists.alioth.debian.org>
> Architecture: amd64
> Source: libkolabxml
> Version: 1.1.4-1build1
> Replaces: libkolabxml1
> Depends: libboost-system1.61.0, libboost-thread1.61.0, libc6 (>=
> 2.14), libcurl3-gnutls (>= 7.16.2), libgcc1 (>= 1:3.0), libstdc++6 (>=
> 5.2), libxerces-c3.1
> Breaks: libkolabxml1
> Filename: pool/universe/libk/libkolabxml/libkolabxml1v5_1.1.4-1build1_amd64.deb
> Size: 604838
> MD5sum: 99de717a61d2a56182c12743495ddc5e
> SHA1: d2e2a439eadbc8ed404c8b5aa19f0b6bdd76e38d
> SHA256: 276159ac59b5faa0dedfbb6ec5812d802a799f28136fd2af82f2f4297baf3490
> Description: Kolab XML format (shared library)
> Description-md5: 01546898c4418aefac0ceaf3d5324602
> Homepage: http://git.kolab.org/libkolabxml
> Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> Origin: Ubuntu
> Task: kubuntu-desktop, kubuntu-full
>
> th at localhost ~ $ apt-cache show libkolabxml1v5 | grep -E 'Rep|Bre'
> Replaces: libkolabxml1
> Breaks: libkolabxml1
>
> Does installing libkolabxml1v5 make a difference?
>
> If it doesn't please post the output of
> apt-get install -s gcc-5-base=5.4.0-6ubuntu1~16.04.2
> and
> apt-get install -s -o Dpkg::Options::="--force-all"
> gcc-5-base=5.4.0-6ubuntu1~16.04.2
>
Tom,
I was away but I have done as you suggested and here is the output:
__________________________________
joep at laguna:~$ sudo apt-get install libkolabxml1v5
[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:
  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
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:
  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
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:
  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).
______________________________________________________-
As you can see it won't work or install the packages.

@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.
Joep





More information about the ubuntu-users mailing list