qdbus-qt5 crashing upgrade from 17.10 -> 18.04
I am trying to upgrade kubuntu 17.10 to 18.04. The upgrade is halting and crashing with the following errors:
Errors were encountered while processing:
/tmp/user/
/tmp/user/
/tmp/user/
/tmp/user/
/tmp/user/
/tmp/user/
I tried removing/purging all of these packages prior to upgrading, and the upgrade works, but I cannot install plasma-desktop because it crashes while trying to install qdbus-qt5.
root@Crynfyd:/# dpkg -i /var/cache/
(Reading database ... 839516 files and directories currently installed.)
Preparing to unpack .../qdbus-
Unpacking qdbus-qt5 (5.9.5-0ubuntu1) ...
dpkg: error processing archive /var/cache/
unable to open '/usr/lib/
Errors were encountered while processing:
/var/cache/
So it goes for the other qt files mentioned above -- it is crashing because it can't find files that don't exist. I tried "touching" the relevant files, but the install procedure evidently erases the files before it looks for them.
As an experiment, I tried removing/purging qdbus-qt5 from 17.10, then reinstalling it, and it works -- version qdbus-qt5_
root@Crynfyd:
(Reading database ... 781393 files and directories currently installed.)
Preparing to unpack qdbus-qt5_
Unpacking qdbus-qt5 (5.9.5-0ubuntu1) over (5.9.1-2) ...
dpkg: error processing archive qdbus-qt5_
unable to install new version of '/usr/lib/
Errors were encountered while processing:
qdbus-
Fails exactly the same way either before the upgrade to 18.04, or after. Is this a problem with the install script that can be fixed?
"Fresh install" is not a reasonable option.
Thanks for any help.
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
For diagnostic purposes please provide the output of the following commands:
uname -a
lsb_release -crid
sudo dpkg --audit
apt-cache policy qdbus-qt5
I am astonished to see version 5.9.4-0ubuntu1 mentioned in your output; this version has already been superseded by 5.9.5-0ubuntu1
Revision history for this message
|
#2 |
Thanks for your reply.
I have already deleted the failed upgrade system. I will run the upgrade again and provide this information, though it may take a day or two to run it all. Note that I have done this several times, always with the same result.
I tried it with both 5.94 and 5.95 -- same problem.
Revision history for this message
|
#3 |
Here is the information requested.
First, running on 17.10 BEFORE the upgrade:
<email address hidden> ~$ uname -a
Linux Crynfyd 4.13.0-39-generic #44-Ubuntu SMP Thu Apr 5 14:25:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
<email address hidden> ~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
<email address hidden> ~$ sudo dpkg --audit
<email address hidden> ~$ apt-cache policy qdbus-qt5
qdbus-qt5:
Installed: 5.9.1-2
Candidate: 5.9.1-2
Version table:
*** 5.9.1-2 500
500 http://
100 /var/lib/
-------
Now running on 18.04 AFTER the (failed) upgrade:
<email address hidden> ~$ uname -a
Linux Crynfyd 4.13.0-39-generic #44-Ubuntu SMP Thu Apr 5 14:25:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
<email address hidden> ~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
<email address hidden> ~$ sudo dpkg --audit
[sudo] password for greenman:
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
ardour the digital audio workstation
ardour-data digital audio workstation (data)
bluez Bluetooth tools and daemons
ca-certificates Common CA certificates
console-setup console font and keymap setup program
console-
db5.3-util Berkeley v5.3 Database Utilities
freetype2-demos FreeType 2 demonstration programs
friendly-recovery Make recovery boot mode more user-friendly
gnome-
gnome-session-bin GNOME Session Manager - Minimal runtime
grub-common GRand Unified Bootloader (common files)
grub-pc GRand Unified Bootloader, version 2 (PC/BIOS version)
grub-pc-bin GRand Unified Bootloader, version 2 (PC/BIOS binaries)
grub2-common GRand Unified Bootloader (common files for version 2)
initramfs-tools generic modular initramfs generator (automation)
initramfs-
kbd Linux console font and keytable utilities
kde-style-
klibc-utils small utilities built with klibc for early boot
libanalitzagui8 library to work with mathematical expressions - GUI routi
libanalitzaplot8 library to work with mathematical expressions - plotting
libavcodec-
libavcodec-
libavdevice57:
libavfilter6:amd64 FFmpeg library containing media filters - runtime files
libavformat-
libavformat57:
libavresample-
libavresample3
libavutil-
libavutil55:amd64 FFmpeg library with functions for simplifying programming
libb-hooks-
libc-dev-bin GNU C Library: Development binaries
libc6-dev:amd64 GNU C Library: Development Libraries and Header Files
libc6-dev-i386 GNU C Library: 32-bit development libraries for AMD64
libc6-dev-x32 GNU C Library: X32 ABI Development Libraries for AMD64
libcairo-
libcairo-
libcairo-
libcairo2:amd64 Cairo 2D vector graphics library
libcairo2:i386 Cairo 2D vector graphics library
libcairo2-
libcdio-
libcdio-
libcdio17:amd64 library to read and control CD-ROM
libcgi-fast-perl CGI subclass for work with FCGI
libcgi-pm-perl module for Common Gateway Interface applications
libclass-c3-perl pragma for using the C3 method resolution order
libclass-
libclass-
libcommon-
libcryptsetup1
libdatetime-
libdatetime-perl module for manipulating dates, times and timestamps
libdatetime-
libdevel-
libdevel-
libdrm-
libdrm-
libdrm-dev:amd64 Userspace interface to kernel DRM services -- development
libdrm-
libdrm-intel1:i386 Userspace interface to intel-specific kernel DRM services
libdrm-
libdrm-
libdrm-
libdrm-
libdrm2:amd64 Userspace interface to kernel DRM services -- runtime
libdrm2:i386 Userspace interface to kernel DRM services -- runtime
libdynaloader-
libegl-mesa0:i386 free implementation of the EGL API -- Mesa vendor library
libegl1-
libexception-
libffi-dev:amd64 Foreign Function Interface library (development files)
libffi6:amd64 Foreign Function Interface library runtime
libffi6:i386 Foreign Function Interface library runtime
libfile-
libfinance-
libfontconfig1
libfontconfig1
libfontconfig1
libfreetype6-
libgcrypt20-dev LGPL Crypto library - development files
libgdbm-
libgl1:amd64 Vendor neutral GL dispatch library -- legacy GL support
libgl1:i386 Vendor neutral GL dispatch library -- legacy GL support
libgl1-
libgl1-
libgl1-
libgles2:amd64 Vendor neutral GL dispatch library -- GLES support
libgles2-
libgles2-
libglvnd-
libglvnd-dev:amd64 Vendor neutral GL dispatch library -- development files
libglx-mesa0:amd64 free implementation of the OpenGL API -- GLX vendor libra
libglx-mesa0:i386 free implementation of the OpenGL API -- GLX vendor libra
libglx0:amd64 Vendor neutral GL dispatch library -- GLX support
libglx0:i386 Vendor neutral GL dispatch library -- GLX support
libgnome-
libhtml-
libhtml-tree-perl Perl module to represent and create HTML syntax trees
libhttp-
libhttp-
libicu60:amd64 International Components for Unicode
libicu60:i386 International Components for Unicode
libjavascriptc
libkf5declarat
libkf5xmlgui5:
libmodule-
libmp3lame-
libmro-compat-perl mro::* interface compatibility for Perls < 5.9.5
libmysofa0:amd64 library to read HRTFs stored in the AES69-2015 SOFA forma
libnet-http-perl module providing low-level HTTP connection client
libnss-
libosmesa6:amd64 Mesa Off-screen rendering extension
libosmesa6:i386 Mesa Off-screen rendering extension
libpam-
libpam0g-dev:amd64 Development files for PAM
libparams-
libparams-
libpcre16-3:amd64 Old Perl 5 Compatible Regular Expression Library - 16 bit
libpcre3-dev:amd64 Old Perl 5 Compatible Regular Expression Library - develo
libpcre32-3:amd64 Old Perl 5 Compatible Regular Expression Library - 32 bit
libpcrecpp0v5:
libperl5.26:amd64 shared Perl library
libpostproc54:
libpython3.6:amd64 Shared Python runtime library (version 3.6)
libpython3.
libqt5dbus5:amd64 Qt 5 D-Bus module
libqt5designer
libqt5location
libqt5multimed
libqt5multimed
libqt5network5
libqt5opengl5:
libqt5position
libqt5printsup
libqt5qml5:amd64 Qt 5 QML module
libqt5quick5:amd64 Qt 5 Quick library
libqt5quickcon
libqt5quickpar
libqt5quicktem
libqt5quicktes
libqt5quickwid
libqt5scriptto
libqt5serialpo
libqt5sql5:amd64 Qt 5 SQL module
libqt5sql5-
libqt5sql5-
libqt5svg5:amd64 Qt 5 SVG module
libqt5svg5-
libqt5waylandc
libqt5waylandc
libqt5webchann
libqt5webengin
libqt5webengin
libqt5webengin
libqt5webkit5:
libqt5websocke
libqt5widgets5
libqt5xml5:amd64 Qt 5 XML module
libqt5xmlpatte
libre2-4:amd64 efficient, principled regular expression library
librole-tiny-perl Perl module for minimalist role composition
librubberband2
libscalar-
libsdl2-
libsdl2-dev:amd64 Simple DirectMedia Layer development files
libselinux1-
libspecio-perl Perl module providing type constraints and coercions
libssl1.1:amd64 Secure Sockets Layer toolkit - shared libraries
libstdc++6:amd64 GNU Standard C++ Library v3
libstdc++6:i386 GNU Standard C++ Library v3
libsub-quote-perl helper modules for subroutines
libswresample-
libswresample2
libswscale-
libswscale4:amd64 FFmpeg library for image scaling and various conversions
libsystemd-
libtry-tiny-perl module providing minimalistic try/catch
libudev-dev:amd64 libudev development files
liburi-perl module to manipulate and access URI strings
libva-drm2:amd64 Video Acceleration (VA) API for Linux -- DRM runtime
libva-
libva-x11-2:amd64 Video Acceleration (VA) API for Linux -- X11 runtime
libvpx5:amd64 VP8 and VP9 video codec (shared library)
libwayland-
libwayland-
libwebkitgtk-
libwebp-dev:amd64 Lossy compression of digital photographic images.
libwebp6:amd64 Lossy compression of digital photographic images.
libwebp6:i386 Lossy compression of digital photographic images.
libwebpdemux2:
libwebpmux3:amd64 Lossy compression of digital photographic images.
libwoff1:amd64 library for converting fonts to WOFF 2.0
libwww-perl simple and consistent interface to the world-wide web
libx265-146:amd64 H.265/HEVC video stream encoder (shared library)
libxml-atom-perl module for manipulating Atom feeds
libxml2:amd64 GNOME XML library
libxml2:i386 GNOME XML library
libxml2-dev:amd64 Development files for the GNOME XML library
locales GNU C Library: National Language (locale) data [support]
mesa-common-
mpv video player based on MPlayer/mplayer2
openssl Secure Sockets Layer toolkit - cryptographic utility
perl Larry Wall's Practical Extraction and Report Language
postgresql-
postgresql-common PostgreSQL database-cluster manager
printer-
pyqt5-dev-tools Development tools for PyQt5
python-qt4-sql Python bindings for PyQt4's SQL module
python3-pyqt4 Python3 bindings for Qt4
python3-pyqt5 Python 3 bindings for Qt5
python3-
python3-
python3-
python3-
python3-
python3-
python3-
python3-
python3-
python3-
python3-sip Python 3/C++ bindings generator runtime library
python3-sip-dev Python 3/C++ bindings generator development files
python3.6 Interactive high-level object-oriented language (version
python3.6-dev Header files and a static library for Python (v3.6)
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qml-module-
qt5-gtk-
qt5-qmltooling
qtchooser Wrapper to select between Qt development binary versions
qtractor MIDI/Audio multi-track sequencer application
qtvirtualkeybo
qtwayland5:amd64 QtWayland platform plugin
rename Perl extension for renaming multiple files
sip-dev Python/C++ bindings generator code generator application
The following packages are awaiting processing of triggers that they
have activated in other packages. This processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
bash GNU Bourne Again SHell
gsettings-
menu generates programs menu for all menu-aware applications
The following packages have been triggered, but the trigger processing
has not yet been done. Trigger processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
cups Common UNIX Printing System(tm) - PPD/driver support, web
dbus simple interprocess messaging system (daemon and utilitie
gconf2 GNOME configuration database system (support tools)
gnome-menus GNOME implementation of the freedesktop menu specificatio
hicolor-icon-theme default fallback theme for FreeDesktop.org icon themes
libglib2.0-0:amd64 GLib library of C routines
libglib2.0-0:i386 GLib library of C routines
man-db on-line manual pager
shared-mime-info FreeDesktop.org shared MIME database and spec
systemd system and service manager
<email address hidden> ~$ sudo dpkg --audit qdbus-qt5
<email address hidden> ~$ apt-cache policy qdbus-qt5
qdbus-qt5:
Installed: 5.9.1-2
Candidate: 5.9.5-0ubuntu1
Version table:
5.9.5-0ubuntu1 500
500 http://
*** 5.9.1-2 100
100 /var/lib/
-------
This is what happens if I try to install qdbus-qt5 manually:
<email address hidden> ~$ sudo dpkg -i /var/cache/
(Reading database ... 788266 files and directories currently installed.)
Preparing to unpack .../qdbus-
Unpacking qdbus-qt5 (5.9.5-0ubuntu1) over (5.9.1-2) ...
dpkg: error processing archive /var/cache/
unable to open '/usr/lib/
Errors were encountered while processing:
/var/cache/
Revision history for this message
|
#4 |
To rule out external influence:
Do you have antivirus software running?
Do you have enough free space on the partition(s)?
Revision history for this message
|
#5 |
No, there is no antivirus software running. This system is booting directly from grub, not in a virtualbox or anything like that.
With the system and all the upgradeable packages downloaded, there is over 33gb free disk space.
Revision history for this message
|
#6 |
What output do you receive for the commands
ls -l /usr/lib/qt5/
sudo touch /usr/lib/qt5/bin/
ls -l /usr/lib/qt5/
sudo dpkg --unpack /var/cache/
Revision history for this message
|
#7 |
<email address hidden> /$ ls -l /usr/lib/qt5/
total 36
drwxr-xr-x 2 root root 4096 Apr 26 07:55 bin
drwxr-xr-x 2 root root 4096 Apr 26 07:05 libexec
drwxr-xr-x 4 root root 4096 Apr 25 16:01 mkspecs
drwxr-xr-x 64 root root 20480 Apr 26 07:06 plugins
drwxr-xr-x 16 root root 4096 Apr 26 07:05 qml
<email address hidden> /$ sudo touch /usr/lib/qt5/bin/
[sudo] password for greenman:
<email address hidden> /$ ls -l /usr/lib/qt5/
total 36
drwxr-xr-x 2 root root 4096 Apr 26 13:56 bin
drwxr-xr-x 2 root root 4096 Apr 26 07:05 libexec
drwxr-xr-x 4 root root 4096 Apr 25 16:01 mkspecs
drwxr-xr-x 64 root root 20480 Apr 26 07:06 plugins
drwxr-xr-x 16 root root 4096 Apr 26 07:05 qml
<email address hidden> /$ sudo dpkg --unpack /var/cache/
(Reading database ... 788266 files and directories currently installed.)
Preparing to unpack .../qdbus-
Unpacking qdbus-qt5 (5.9.5-0ubuntu1) over (5.9.1-2) ...
dpkg: error processing archive /var/cache/
unable to open '/usr/lib/
Errors were encountered while processing:
/var/cache/
<email address hidden> /$
-------
Anticipating the next question:
<email address hidden> /$ ls -l /usr/lib/qt5/
total 36
drwxr-xr-x 2 root root 4096 Apr 26 14:00 bin
drwxr-xr-x 2 root root 4096 Apr 26 07:05 libexec
drwxr-xr-x 4 root root 4096 Apr 25 16:01 mkspecs
drwxr-xr-x 64 root root 20480 Apr 26 07:06 plugins
drwxr-xr-x 16 root root 4096 Apr 26 07:05 qml
<email address hidden> /$ ls -l /usr/lib/qt5/bin
total 0
<email address hidden> /$ sudo touch /usr/lib/
<email address hidden> /$ ls -l /usr/lib/qt5/bin/
total 0
-rw-r--r-- 1 root root 0 Apr 26 14:05 qdbus.dpkg-new
<email address hidden> /$ sudo dpkg --unpack /var/cache/
(Reading database ... 788266 files and directories currently installed.)
Preparing to unpack .../qdbus-
Unpacking qdbus-qt5 (5.9.5-0ubuntu1) over (5.9.1-2) ...
dpkg: error processing archive /var/cache/
unable to open '/usr/lib/
Errors were encountered while processing:
/var/cache/
<email address hidden> /$ ls -l /usr/lib/qt5/bin/
total 0
Revision history for this message
|
#8 |
This is strange. Installing qdbus-qt5 on my test system works without problems.
What is the output of
sudo strace dpkg --unpack /var/cache/
Revision history for this message
|
#9 |
root@Crynfyd:/# sudo strace dpkg --unpack /var/cache/
read(10, "./usr/
lstat("
rename(
rmdir("
rmdir("
openat(AT_FDCWD, "/usr/lib/
utimes(
lstat("
rename(
rmdir("
lstat("
unlink(
rmdir("
symlink(
lchown(
utimensat(AT_FDCWD, "/usr/lib/
openat(AT_FDCWD, "/usr/lib/
unable to open '/usr/lib/
lstat("
rmdir("
lstat("
unlink(
lstat("
rmdir("
Revision history for this message
|
#10 |
I am sorry, but I do not understand what there is happening on your system.
If I do this on my system, I get a success message and the installation works.
...
utimensat(AT_FDCWD, "/usr/lib/
openat(AT_FDCWD, "/usr/lib/
...
I am at my wits' end. Maybe somebody else has got an idea what the cause is for your problem, or can suggest a workaround.
Revision history for this message
|
#11 |
I wonder if it is possible to alter the installation script for this package so it doesn't crash doing these file checks. I know that is not a proper solution, but it would allow the upgrade to go through until the real reason can be found.
Revision history for this message
|
#12 |
The other thing I can do is remove --purge the gdbus-qt5 package; this will allow the rest of the system upgrade to finish, but it will remove plasma. Then maybe modify the install script so qdbus-qt5 will install, so plasma-desktop can be installed. A temporary hack, I know, but it might work.
Revision history for this message
|
#13 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.