problems upgrading from 14.04 to 16.04
J.L. Blom
joep at neuroweave.nl
Tue Sep 27 13:21:09 UTC 2016
On 27/09/16 14:42, Tom H wrote:
> On Mon, Sep 26, 2016 at 11:02 AM, J.L. Blom <joep at neuroweave.nl> wrote:
>> On 26/09/16 15:36, Tom H wrote:
>>> Run
>>> apt-get install -s gcc-5-base=5.4.0-6ubuntu1~16.04.2
>>> to check what'll happen.
>>>
>>> If it looks OK, run
>>> apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.2
>>>
>>> If that doesn't work, you'll have to try to force it:
>>>
>>> apt-get install -s -o Dpkg::Options::="--force-all"
>>> gcc-5-base=5.4.0-6ubuntu1~16.04.2
>>> then
>>> apt-get install -o Dpkg::Options::="--force-all"
>>> gcc-5-base=5.4.0-6ubuntu1~16.04.2
>> Tom, thanks for the suggestions.
> You're welcome.
>
>> First, I don't think I downloaded this from a testing PPA as I always
>> use only LTS for ubuntu.
>> Second, I followed your suggestions and neither the first nor the
>> forged second version did do anything else than the chicken and egg
>> problem. I think something -not directly mentioned in the error
>> messages prevents the re-installation of the gcc-5-base library.
>> Maybe I have to forcibly remove this library, hoping at doesn't
>> corrupt completely the rest of the system.
> I was hoping that you'd be able to fix this problem simply by dealing
> with gcc-5-base but the problem's probably with the "real" package,
> gcc-5's probably the culprit.
>
> What's the output of "apt-cache policy gcc-5-base"?
>
> (Please ignore the versions below because they're from my laptop running 16.10.)
>
>
> root at localhost ~ # dpkg -L gcc-5-base
> /.
> /usr
> /usr/lib
> /usr/lib/gcc
> /usr/lib/gcc/x86_64-linux-gnu
> /usr/lib/gcc/x86_64-linux-gnu/5
> /usr/share
> /usr/share/doc
> /usr/share/doc/gcc-5-base
> /usr/share/doc/gcc-5-base/README.Debian.amd64.gz
> /usr/share/doc/gcc-5-base/TODO.Debian
> /usr/share/doc/gcc-5-base/changelog.Debian.gz
> /usr/share/doc/gcc-5-base/copyright
> /usr/lib/gcc/x86_64-linux-gnu/5.4.1
>
> root at localhost ~ # apt-cache policy gcc-5-base
> gcc-5-base:
> Installed: 5.4.1-2ubuntu1
> Candidate: 5.4.1-2ubuntu1
> Version table:
> *** 5.4.1-2ubuntu1 500
> 500 http://uk.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> root at localhost ~ # apt-cache policy gcc-5
> gcc-5:
> Installed: 5.4.1-2ubuntu1
> Candidate: 5.4.1-2ubuntu1
> Version table:
> *** 5.4.1-2ubuntu1 500
> 500 http://uk.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> root at localhost ~ # aptitude search '?reverse-depends(gcc-5-base)'
>
> root at localhost ~ # aptitude search '?depends(gcc-5-base)' | grep ^i
> i cpp-5 - GNU C preprocessor
> i g++-5 - GNU C++ compiler
> i gcc-5 - GNU C compiler
> i libasan2 - AddressSanitizer -- a fast memory error detector
> i libgcc-5-dev - GCC support library (development files)
> i libmpx0 - Intel memory protection extensions (runtime)
> i libstdc++-5-dev - GNU Standard C++ Library v3 (development files)
>
> root at localhost ~ #
>
Tom, Ralf,
@Thanks. Here is the output:
______________________________
joep at laguna:~$ sudo apt-cache policy gcc-5-base
[sudo] password for joep:
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
___________________________________
I can not do much with that.
@Ralf,
It is an interesting option you mention. However, it's a hell of a job
to weed out which packages need :i386 and are they replaced by x64 packages?
Interestingly, your suggestion showed a lot of i386 packages a.o. mysql.
I'll give the output here, which is quite lengthy.
___________________________________________
joep at laguna:~$ sudo apt purge --dry-run libkolabxml1 libstdc++6:i386
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:
acroread-bin:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
libgl1-mesa-dri:i386 : Depends: libstdc++6:i386 (>= 5.2) but it is not
going to be installed
libglu1-mesa:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
libicu55:i386 : Depends: libstdc++6:i386 (>= 5.2) but it is not going
to be installed
libjack-jackd2-0:i386 : Depends: libstdc++6:i386 (>= 5.2) but it is
not going to be installed
libllvm3.5:i386 : Depends: libstdc++6:i386 (>= 4.8) but it is not
going to be installed
libllvm3.8:i386 : Depends: libstdc++6:i386 (>= 5.2) but it is not
going to be installed
libmysqlclient20:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is
not going to be installed
libosmesa6:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
libqt4-declarative:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it
is not going to be installed
libqt4-network:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is
not going to be installed
libqt4-script:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
libqt4-sql:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
libqt4-sql-mysql:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is
not going to be installed
libqt4-xml:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
libqt4-xmlpatterns:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it
is not going to be installed
libqtcore4:i386 : Depends: libstdc++6:i386 (>= 5.2) but it is not
going to be installed
libqtdbus4:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
libqtgui4:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going 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
libtxc-dxtn-s2tc0:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is
not going to be installed
qt-at-spi:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not
going to be installed
ubuntu-emulator-runtime:i386 : Depends: libstdc++6:i386 (>= 4.6) but
it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
__________________________________________________________
What I don't understand is why "apt-get -f install" isn't working or is
there an conflicting situation even deeper in the chain of events.
Joep
More information about the ubuntu-users
mailing list