[Bug 1811203] Re: upgrade from Ubuntu 16.04 to 18.04 failed

Bruce Adams tortoise_74 at yahoo.co.uk
Fri Jan 11 10:34:38 UTC 2019


I have made some progress.
Although apt has never reported any broken packages smanyare listed in apt.log


cat /var/log/dist-upgrade/apt.log | grep Broken

sudo apt-get purge opencv libblas3 libopenblas-base

Reading state information... Done
The following packages will be REMOVED
  blender-data dleyna-renderer freepats gimp-data gir1.2-gtk-2.0 gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers libamd2.4.1 libavcodec-dev libavformat-dev libavresample-ffmpeg2
  libavutil-dev libbabl-0.1-0 libblas-common libboost-locale1.58.0 libcamd2.4.1 libccolamd2.9.1 libdc1394-22-dev libde265-0 libflite1 libfluidsynth1 libgimp2.0 libgstreamer-plugins-bad1.0-0 libgtk2.0-dev
  libgtkglext1 libilmbase-dev libjasper-dev libjemalloc1 libmimic0 libmjpegutils-2.1-0 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libofa0 libopencolorio1v5 libopenexr-dev libpangox-1.0-0 libsodium18 libsoundtouch1
  libspandsp2 libspnav0 libsrtp0 libswresample-dev libswscale-dev libtbb2 libtinyxml2.6.2v5 libwildmidi-config libwildmidi1 libyaml-cpp0.3v5 libzbar0 libzmq5 opencv-data python-opengl python-qt4 python-qt4-gl
  python-sip
0 to upgrade, 0 to newly install, 55 to remove and 0 not to upgrade.
After this operation, 270 MB disk space will be freed.
Do you want to continue? [Y/n] y

sudo apt-get autoremove
$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  blender-data dleyna-renderer freepats gimp-data gir1.2-gtk-2.0 gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers libamd2.4.1 libavcodec-dev libavformat-dev libavresample-ffmpeg2
  libavutil-dev libbabl-0.1-0 libblas-common libboost-locale1.58.0 libcamd2.4.1 libccolamd2.9.1 libdc1394-22-dev libde265-0 libflite1 libfluidsynth1 libgimp2.0 libgstreamer-plugins-bad1.0-0 libgtk2.0-dev
  libgtkglext1 libilmbase-dev libjasper-dev libjemalloc1 libmimic0 libmjpegutils-2.1-0 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libofa0 libopencolorio1v5 libopenexr-dev libpangox-1.0-0 libsodium18 libsoundtouch1
  libspandsp2 libspnav0 libsrtp0 libswresample-dev libswscale-dev libtbb2 libtinyxml2.6.2v5 libwildmidi-config libwildmidi1 libyaml-cpp0.3v5 libzbar0 libzmq5 opencv-data python-opengl python-qt4 python-qt4-gl
  python-sip
0 to upgrade, 0 to newly install, 55 to remove and 0 not to upgrade.
After this operation, 270 MB disk space will be freed.
Do you want to continue? [Y/n] y

The upgrade now proceeds to the next stage and completes. It seems
autoremove is more critical than I imagined.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1811203

Title:
  improve diagnostics and advice for "could not determine the upgrade"
  errors.

Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid

Bug description:
  The upload GUI said a new version was available and would I like to
  upgrade. I clicked yes and it went off and tried to do its thing but
  failed with:

  "Could not determine the upgrade

  An unresolvable problem occurred while calculating the upgrade.

   This can be caused by:
   * Upgrading to a pre-release version of Ubuntu
   * Running the current pre-release version of Ubuntu
   * Unofficial software packages not provided by Ubuntu

  If none of this applies, then please report this bug using the command
  'ubuntu-bug ubuntu-release-upgrader-core' in a terminal."

  So I ran the requested command and ended up here...

  Now I do have some third party channels in /etc/apt/sources.list.d
  but there is no information in the GUI telling me what went wrong.

  I tried upgrading from the command line with:

  sudo apt-get upgrade
  sudo apt-get dist-upgrade

  Both of these seem to think I am already up to date.

  "0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade."

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ubuntu-release-upgrader-core 1:16.04.26
  ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162
  Uname: Linux 4.4.0-141-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: GNOME-Classic:GNOME
  Date: Thu Jan 10 07:34:04 2019
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to xenial on 2019-01-10 (0 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1811203/+subscriptions



More information about the foundations-bugs mailing list