Public bug reported:

Steps to repeat.
1. empty drive install 17.10 and do all of the updates.  Install the suggested 
Nvidia driver.
2. reboot
3. command line type sudo do-release-upgrade -d
you will get the following errors:

Errors were encountered while processing:
 libvtk6.3
 openjdk-8-jre:amd64
 xorg
upgrade complete

4. then try and do a sudo apt update/upgrade gives the following

You might want to run 'apt --fix-broken install' to correct these
The following have unmet dependencies:
  libvtk6.3 : Depends: gdal-abi-2-2-3
              Depends: libgl2ps1.4 but it is not installed
              Depends: libnetcdf13 (>=4.0.1) but it is not installed.
 openjdk-8-jre : Depends openjdk-8-jre-headless (= 8u162-b12-1) but 
8u151-b12-0ubuntu0.17.10.2 is installed
 xorg : Depends xserver-xorg (>= 1:7.7+19ubuntu5) but 1:7.7+19buntu3 is 
installed

5. enter the sudo apt --fix-broken install

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bbswitch-dkms gdal-data lib32gcc1 libaec0 libarmadillo7 libarmadillo8 
libarpack2 libblas3 libc6-i386 libcuda1-384 libdap25 libdapclient6v5 
libepsilon1 libfabric1 libffi6:i386 libfreexl1 libfyba0
  libgdal20 libgeos-3.5.1 libgeos-c1v5 libgeotiff2 libgfortran4 libgl2ps1 
libgl2ps1.4 libhdf4-0-alt libhdf5-100 libhdf5-openmpi-100 libhwloc-plugins 
libhwloc5 libibverbs1 libjsoncpp1 libkmlbase1
  libkmldom1 libkmlengine1 liblapack3 liblept5 libnetcdf-c++4 libnetcdf11 
libnetcdf13 libodbc1 libogdi3.2 libopencv-flann3.1 libopencv-ml3.1 
libopencv-photo3.1 libopencv-shape3.1
  libopencv-video3.1 libopencv-viz3.1 libopenmpi2 libpq5 libproj12 
libprotobuf10 libpsm-infinipath1 libqhull7 librdmacm1 libspatialite7 libsrtp0 
libsuperlu5 libsz2 libtesseract-data libtesseract3
  liburiparser1 libvtk6.3 libxerces-c3.2 nvidia-opencl-icd-384 nvidia-prime 
odbcinst odbcinst1debian2 openmpi-bin openmpi-common proj-bin proj-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gdal-data libarmadillo8 libgdal20 libgl2ps1.4 libnetcdf13 libxerces-c3.2 
openjdk-8-jre-headless xserver-xorg
Suggested packages:
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei
The following packages will be REMOVED:
  libopencv-calib3d3.1 libopencv-contrib3.1 libopencv-features2d3.1 
libopencv-highgui3.1 libopencv-imgcodecs3.1 libopencv-objdetect3.1 
libopencv-stitching3.1 libopencv-superres3.1
  libopencv-videoio3.1 libopencv-videostab3.1
The following NEW packages will be installed:
  libarmadillo8 libgl2ps1.4 libnetcdf13 libxerces-c3.2
The following packages will be upgraded:
  gdal-data libgdal20 openjdk-8-jre-headless xserver-xorg
4 upgraded, 4 newly installed, 10 to remove and 716 not upgraded.
3 not fully installed or removed.
Need to get 0 B/34.1 MB of archives.
After this operation, 7,106 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 223161 files and directories currently installed.)
Removing libopencv-contrib3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
Removing libopencv-superres3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
Removing libopencv-stitching3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
dpkg: libopencv-imgcodecs3.1:amd64: dependency problems, but removing anyway as 
you requested:
 libopencv-videoio3.1:amd64 depends on libopencv-imgcodecs3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).
 libopencv-highgui3.1:amd64 depends on libopencv-imgcodecs3.1.

Removing libopencv-imgcodecs3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
dpkg: libopencv-calib3d3.1:amd64: dependency problems, but removing anyway as 
you requested:
 libopencv-videostab3.1:amd64 depends on libopencv-calib3d3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).

Removing libopencv-calib3d3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
dpkg: libopencv-features2d3.1:amd64: dependency problems, but removing anyway 
as you requested:
 libopencv-videostab3.1:amd64 depends on libopencv-features2d3.1; however:
  Package libopencv-features2d3.1:amd64 is to be removed.

Removing libopencv-features2d3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
dpkg: libopencv-highgui3.1:amd64: dependency problems, but removing anyway as 
you requested:
 libopencv-objdetect3.1:amd64 depends on libopencv-highgui3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).

Removing libopencv-highgui3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
dpkg: libopencv-videoio3.1:amd64: dependency problems, but removing anyway as 
you requested:
 libopencv-videostab3.1:amd64 depends on libopencv-videoio3.1; however:
  Package libopencv-videoio3.1:amd64 is to be removed.

Removing libopencv-videoio3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
(Reading database ... 223075 files and directories currently installed.)
Preparing to unpack .../0-gdal-data_2.2.3+dfsg-2_all.deb ...
Unpacking gdal-data (2.2.3+dfsg-2) over (2.2.1+dfsg-2build3) ...
Selecting previously unselected package libarmadillo8.
Preparing to unpack .../1-libarmadillo8_1%3a8.400.0+dfsg-2_amd64.deb ...
Unpacking libarmadillo8 (1:8.400.0+dfsg-2) ...
Selecting previously unselected package libnetcdf13:amd64.
Preparing to unpack .../2-libnetcdf13_1%3a4.6.0-2build1_amd64.deb ...
Unpacking libnetcdf13:amd64 (1:4.6.0-2build1) ...
Selecting previously unselected package libxerces-c3.2:amd64.
Preparing to unpack .../3-libxerces-c3.2_3.2.0+debian-2_amd64.deb ...
Unpacking libxerces-c3.2:amd64 (3.2.0+debian-2) ...
Preparing to unpack .../4-libgdal20_2.2.3+dfsg-2_amd64.deb ...
Unpacking libgdal20 (2.2.3+dfsg-2) over (2.2.1+dfsg-2build3) ...
Selecting previously unselected package libgl2ps1.4.
Preparing to unpack .../5-libgl2ps1.4_1.4.0+dfsg1-1_amd64.deb ...
Unpacking libgl2ps1.4 (1.4.0+dfsg1-1) ...
Preparing to unpack .../6-openjdk-8-jre-headless_8u162-b12-1_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u162-b12-1) over 
(8u151-b12-0ubuntu0.17.10.2) ...
Preparing to unpack .../7-xserver-xorg_1%3a7.7+19ubuntu5_amd64.deb ...
Unpacking xserver-xorg (1:7.7+19ubuntu5) over (1:7.7+19ubuntu3) ...
(Reading database ... 223098 files and directories currently installed.)
Removing libopencv-videostab3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
Removing libopencv-objdetect3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
Setting up libarmadillo8 (1:8.400.0+dfsg-2) ...
Setting up xserver-xorg (1:7.7+19ubuntu5) ...
Setting up gdal-data (2.2.3+dfsg-2) ...
Processing triggers for libc-bin (2.27-0ubuntu2) ...
Setting up libnetcdf13:amd64 (1:4.6.0-2build1) ...
Setting up libxerces-c3.2:amd64 (3.2.0+debian-2) ...
Setting up xorg (1:7.7+19ubuntu5) ...
Setting up openjdk-8-jre-headless:amd64 (8u162-b12-1) ...
Installing new version of config file 
/etc/java-8-openjdk/management/management.properties ...
Installing new version of config file 
/etc/java-8-openjdk/security/java.security ...
Setting up libgl2ps1.4 (1.4.0+dfsg1-1) ...
Setting up libgdal20 (2.2.3+dfsg-2) ...
Setting up libvtk6.3 (6.3.0+dfsg1-11build1) ...
Setting up openjdk-8-jre:amd64 (8u162-b12-1) ...
Processing triggers for libc-bin (2.27-0ubuntu2) ...

6. type sudo apt update  then sudo apt upgrade and the install will
finish.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- Steps to repeat. 
+ Steps to repeat.
  1. empty drive install 17.10 and do all of the updates.  Install the 
suggested Nvidia driver.
  2. reboot
  3. command line type sudo do-release-upgrade -d
  you will get the following errors:
+ 
+ Errors were encountered while processing:
+  libvtk6.3
+  openjdk-8-jre:amd64
+  xorg
+ upgrade complete
+ 
+ 4. then try and do a sudo apt update/upgrade gives the following
+ 
  You might want to run 'apt --fix-broken install' to correct these
  The following have unmet dependencies:
-   libvtk6.3 : Depends: gdal-abi-2-2-3
-               Depends: libgl2ps1.4 but it is not installed
-               Depends: libnetcdf13 (>=4.0.1) but it is not installed.
-  openjdk-8-jre : Depends openjdk-8-jre-headless (= 8u162-b12-1) but 
8u151-b12-0ubuntu0.17.10.2 is installed
-  xorg : Depends xserver-xorg (>= 1:7.7+19ubuntu5) but 1:7.7+19buntu3 is 
installed
+   libvtk6.3 : Depends: gdal-abi-2-2-3
+               Depends: libgl2ps1.4 but it is not installed
+               Depends: libnetcdf13 (>=4.0.1) but it is not installed.
+  openjdk-8-jre : Depends openjdk-8-jre-headless (= 8u162-b12-1) but 
8u151-b12-0ubuntu0.17.10.2 is installed
+  xorg : Depends xserver-xorg (>= 1:7.7+19ubuntu5) but 1:7.7+19buntu3 is 
installed
  
- 4. enter the sudo apt --fix-broken install
+ 5. enter the sudo apt --fix-broken install
  
  Reading package lists... Done
- Building dependency tree       
+ Building dependency tree
  Reading state information... Done
  Correcting dependencies... Done
  The following packages were automatically installed and are no longer 
required:
-   bbswitch-dkms gdal-data lib32gcc1 libaec0 libarmadillo7 libarmadillo8 
libarpack2 libblas3 libc6-i386 libcuda1-384 libdap25 libdapclient6v5 
libepsilon1 libfabric1 libffi6:i386 libfreexl1 libfyba0
-   libgdal20 libgeos-3.5.1 libgeos-c1v5 libgeotiff2 libgfortran4 libgl2ps1 
libgl2ps1.4 libhdf4-0-alt libhdf5-100 libhdf5-openmpi-100 libhwloc-plugins 
libhwloc5 libibverbs1 libjsoncpp1 libkmlbase1
-   libkmldom1 libkmlengine1 liblapack3 liblept5 libnetcdf-c++4 libnetcdf11 
libnetcdf13 libodbc1 libogdi3.2 libopencv-flann3.1 libopencv-ml3.1 
libopencv-photo3.1 libopencv-shape3.1
-   libopencv-video3.1 libopencv-viz3.1 libopenmpi2 libpq5 libproj12 
libprotobuf10 libpsm-infinipath1 libqhull7 librdmacm1 libspatialite7 libsrtp0 
libsuperlu5 libsz2 libtesseract-data libtesseract3
-   liburiparser1 libvtk6.3 libxerces-c3.2 nvidia-opencl-icd-384 nvidia-prime 
odbcinst odbcinst1debian2 openmpi-bin openmpi-common proj-bin proj-data
+   bbswitch-dkms gdal-data lib32gcc1 libaec0 libarmadillo7 libarmadillo8 
libarpack2 libblas3 libc6-i386 libcuda1-384 libdap25 libdapclient6v5 
libepsilon1 libfabric1 libffi6:i386 libfreexl1 libfyba0
+   libgdal20 libgeos-3.5.1 libgeos-c1v5 libgeotiff2 libgfortran4 libgl2ps1 
libgl2ps1.4 libhdf4-0-alt libhdf5-100 libhdf5-openmpi-100 libhwloc-plugins 
libhwloc5 libibverbs1 libjsoncpp1 libkmlbase1
+   libkmldom1 libkmlengine1 liblapack3 liblept5 libnetcdf-c++4 libnetcdf11 
libnetcdf13 libodbc1 libogdi3.2 libopencv-flann3.1 libopencv-ml3.1 
libopencv-photo3.1 libopencv-shape3.1
+   libopencv-video3.1 libopencv-viz3.1 libopenmpi2 libpq5 libproj12 
libprotobuf10 libpsm-infinipath1 libqhull7 librdmacm1 libspatialite7 libsrtp0 
libsuperlu5 libsz2 libtesseract-data libtesseract3
+   liburiparser1 libvtk6.3 libxerces-c3.2 nvidia-opencl-icd-384 nvidia-prime 
odbcinst odbcinst1debian2 openmpi-bin openmpi-common proj-bin proj-data
  Use 'sudo apt autoremove' to remove them.
  The following additional packages will be installed:
-   gdal-data libarmadillo8 libgdal20 libgl2ps1.4 libnetcdf13 libxerces-c3.2 
openjdk-8-jre-headless xserver-xorg
+   gdal-data libarmadillo8 libgdal20 libgl2ps1.4 libnetcdf13 libxerces-c3.2 
openjdk-8-jre-headless xserver-xorg
  Suggested packages:
-   fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei 
fonts-wqy-zenhei
+   fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei 
fonts-wqy-zenhei
  The following packages will be REMOVED:
-   libopencv-calib3d3.1 libopencv-contrib3.1 libopencv-features2d3.1 
libopencv-highgui3.1 libopencv-imgcodecs3.1 libopencv-objdetect3.1 
libopencv-stitching3.1 libopencv-superres3.1
-   libopencv-videoio3.1 libopencv-videostab3.1
+   libopencv-calib3d3.1 libopencv-contrib3.1 libopencv-features2d3.1 
libopencv-highgui3.1 libopencv-imgcodecs3.1 libopencv-objdetect3.1 
libopencv-stitching3.1 libopencv-superres3.1
+   libopencv-videoio3.1 libopencv-videostab3.1
  The following NEW packages will be installed:
-   libarmadillo8 libgl2ps1.4 libnetcdf13 libxerces-c3.2
+   libarmadillo8 libgl2ps1.4 libnetcdf13 libxerces-c3.2
  The following packages will be upgraded:
-   gdal-data libgdal20 openjdk-8-jre-headless xserver-xorg
+   gdal-data libgdal20 openjdk-8-jre-headless xserver-xorg
  4 upgraded, 4 newly installed, 10 to remove and 716 not upgraded.
  3 not fully installed or removed.
  Need to get 0 B/34.1 MB of archives.
  After this operation, 7,106 kB disk space will be freed.
  Do you want to continue? [Y/n] y
  (Reading database ... 223161 files and directories currently installed.)
  Removing libopencv-contrib3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  Removing libopencv-superres3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  Removing libopencv-stitching3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  dpkg: libopencv-imgcodecs3.1:amd64: dependency problems, but removing anyway 
as you requested:
-  libopencv-videoio3.1:amd64 depends on libopencv-imgcodecs3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).
-  libopencv-highgui3.1:amd64 depends on libopencv-imgcodecs3.1.
+  libopencv-videoio3.1:amd64 depends on libopencv-imgcodecs3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).
+  libopencv-highgui3.1:amd64 depends on libopencv-imgcodecs3.1.
  
  Removing libopencv-imgcodecs3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  dpkg: libopencv-calib3d3.1:amd64: dependency problems, but removing anyway as 
you requested:
-  libopencv-videostab3.1:amd64 depends on libopencv-calib3d3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).
+  libopencv-videostab3.1:amd64 depends on libopencv-calib3d3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).
  
  Removing libopencv-calib3d3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  dpkg: libopencv-features2d3.1:amd64: dependency problems, but removing anyway 
as you requested:
-  libopencv-videostab3.1:amd64 depends on libopencv-features2d3.1; however:
-   Package libopencv-features2d3.1:amd64 is to be removed.
+  libopencv-videostab3.1:amd64 depends on libopencv-features2d3.1; however:
+   Package libopencv-features2d3.1:amd64 is to be removed.
  
  Removing libopencv-features2d3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  dpkg: libopencv-highgui3.1:amd64: dependency problems, but removing anyway as 
you requested:
-  libopencv-objdetect3.1:amd64 depends on libopencv-highgui3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).
+  libopencv-objdetect3.1:amd64 depends on libopencv-highgui3.1 (= 
3.1.0+dfsg1-1~exp1ubuntu3).
  
  Removing libopencv-highgui3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  dpkg: libopencv-videoio3.1:amd64: dependency problems, but removing anyway as 
you requested:
-  libopencv-videostab3.1:amd64 depends on libopencv-videoio3.1; however:
-   Package libopencv-videoio3.1:amd64 is to be removed.
+  libopencv-videostab3.1:amd64 depends on libopencv-videoio3.1; however:
+   Package libopencv-videoio3.1:amd64 is to be removed.
  
  Removing libopencv-videoio3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  (Reading database ... 223075 files and directories currently installed.)
  Preparing to unpack .../0-gdal-data_2.2.3+dfsg-2_all.deb ...
  Unpacking gdal-data (2.2.3+dfsg-2) over (2.2.1+dfsg-2build3) ...
  Selecting previously unselected package libarmadillo8.
  Preparing to unpack .../1-libarmadillo8_1%3a8.400.0+dfsg-2_amd64.deb ...
  Unpacking libarmadillo8 (1:8.400.0+dfsg-2) ...
  Selecting previously unselected package libnetcdf13:amd64.
  Preparing to unpack .../2-libnetcdf13_1%3a4.6.0-2build1_amd64.deb ...
  Unpacking libnetcdf13:amd64 (1:4.6.0-2build1) ...
  Selecting previously unselected package libxerces-c3.2:amd64.
  Preparing to unpack .../3-libxerces-c3.2_3.2.0+debian-2_amd64.deb ...
  Unpacking libxerces-c3.2:amd64 (3.2.0+debian-2) ...
  Preparing to unpack .../4-libgdal20_2.2.3+dfsg-2_amd64.deb ...
  Unpacking libgdal20 (2.2.3+dfsg-2) over (2.2.1+dfsg-2build3) ...
  Selecting previously unselected package libgl2ps1.4.
  Preparing to unpack .../5-libgl2ps1.4_1.4.0+dfsg1-1_amd64.deb ...
  Unpacking libgl2ps1.4 (1.4.0+dfsg1-1) ...
  Preparing to unpack .../6-openjdk-8-jre-headless_8u162-b12-1_amd64.deb ...
  Unpacking openjdk-8-jre-headless:amd64 (8u162-b12-1) over 
(8u151-b12-0ubuntu0.17.10.2) ...
  Preparing to unpack .../7-xserver-xorg_1%3a7.7+19ubuntu5_amd64.deb ...
  Unpacking xserver-xorg (1:7.7+19ubuntu5) over (1:7.7+19ubuntu3) ...
  (Reading database ... 223098 files and directories currently installed.)
  Removing libopencv-videostab3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  Removing libopencv-objdetect3.1:amd64 (3.1.0+dfsg1-1~exp1ubuntu3) ...
  Setting up libarmadillo8 (1:8.400.0+dfsg-2) ...
  Setting up xserver-xorg (1:7.7+19ubuntu5) ...
  Setting up gdal-data (2.2.3+dfsg-2) ...
  Processing triggers for libc-bin (2.27-0ubuntu2) ...
  Setting up libnetcdf13:amd64 (1:4.6.0-2build1) ...
  Setting up libxerces-c3.2:amd64 (3.2.0+debian-2) ...
  Setting up xorg (1:7.7+19ubuntu5) ...
  Setting up openjdk-8-jre-headless:amd64 (8u162-b12-1) ...
  Installing new version of config file 
/etc/java-8-openjdk/management/management.properties ...
  Installing new version of config file 
/etc/java-8-openjdk/security/java.security ...
  Setting up libgl2ps1.4 (1.4.0+dfsg1-1) ...
  Setting up libgdal20 (2.2.3+dfsg-2) ...
  Setting up libvtk6.3 (6.3.0+dfsg1-11build1) ...
  Setting up openjdk-8-jre:amd64 (8u162-b12-1) ...
  Processing triggers for libc-bin (2.27-0ubuntu2) ...
  
- 5. type sudo apt update  then sudo apt upgrade and the install will
+ 6. type sudo apt update  then sudo apt upgrade and the install will
  finish.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1756743

Title:
  Upgrade from 17.10 to 18.04 has package dependancies blocking install.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to