Upgrade from kubuntu 17.10 to 18.04 fails with dependency problems on lsb_release preventing processing triggers for plymouth-theme-kubuntu-text

Bug #1756743 reported by Jeff.m
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kubuntu-settings (Ubuntu)
Confirmed
High
Unassigned

Bug Description

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.

Jeff.m (vsteel)
description: updated
Revision history for this message
Darin Miller (darinmiller) wrote :

Confirmed here on 3 different machines.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

Could you please attach the content of the directory /var/log/dist-upgrade ?

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I cannot reproduce by installing nvidia-current, vtk6 and default-jre on a freshly installed 17.10. I'll need the logs to investigate further.

Revision history for this message
Jeff.m (vsteel) wrote :

I used a blank drive and installed 17.10 I then did all updates with no other PPAs enabled besides the default Kubuntu ones. The driver manager did ask if I wanted to use a propitiatory Nvidia driver and I said yes and let it install the default Nvidia driver. I installed nothing else. I then did the upgrade.

Here is the contents of /var/log/dist-upgrade
xorg_fixup.log
main.log
history.log
apt-term.log
eipp.log.xz
apt.log
lspci.txt
apt-clone_system_state.tar.gz

I have attached the files

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for the logs.

From term.log it's a dependency issue when processing triggers for plymouth
"""
Processing triggers for plymouth-theme-kubuntu-text (1:17.10ubuntu3) ...
dpkg: warning: version '/etc/lsb-release' has bad syntax: version number does not start with digit
rmdir: failed to remove '/lib/plymouth/': No such file or directory
update-initramfs: deferring update (trigger activated)
dpkg: dependency problems prevent processing triggers for plymouth-theme-ubuntu-text:
 plymouth-theme-ubuntu-text depends on lsb-release; however:
  Package lsb-release is not configured yet.

dpkg: error processing package plymouth-theme-ubuntu-text (--configure):
 dependency problems - leaving triggers unprocessed
"""

However I still cannot reproduce it with Kubuntu and the nvidia drivers installed.

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Confirmed
affects: ubuntu-release-upgrader (Ubuntu) → plymouth (Ubuntu)
Changed in plymouth (Ubuntu):
importance: Undecided → High
summary: - Upgrade from 17.10 to 18.04 has package dependancies blocking install.
+ Upgrade from 17.10 to 18.04 fails with dependency problems on
+ lsb_release preventing processing triggers for plymouth-theme-ubuntu-
+ text
summary: - Upgrade from 17.10 to 18.04 fails with dependency problems on
+ Upgrade from kubuntu 17.10 to 18.04 fails with dependency problems on
lsb_release preventing processing triggers for plymouth-theme-ubuntu-
text
Revision history for this message
Brian Murray (brian-murray) wrote : Re: Upgrade from kubuntu 17.10 to 18.04 fails with dependency problems on lsb_release preventing processing triggers for plymouth-theme-ubuntu-text

Please provide the contents of /etc/lsb-release ideally from before the upgrade. Thanks!

summary: Upgrade from kubuntu 17.10 to 18.04 fails with dependency problems on
- lsb_release preventing processing triggers for plymouth-theme-ubuntu-
+ lsb_release preventing processing triggers for plymouth-theme-kubuntu-
text
affects: plymouth (Ubuntu) → kubuntu-settings (Ubuntu)
Revision history for this message
Jeff.m (vsteel) wrote :

Do you want to see /etc/lsb-release after 17.10 install and updates but before I issue the sudo do-release-upgrade -d command or after I get the failed install but before I issue the fix broken command?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.