could not install 'dbus

Asked by ealthuis on 2018-08-16

The dbus package may not be in working sdtate..
Please consider submitting a bug report about it

final message:
triggers looping, abandoned
Upgrade had many errors and was also abandoned, I still have 16.04 but some things are not working properly i.e Libreoffice has nothing in it's panel.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
ealthuis
Solved:
2018-08-17
Last query:
2018-08-17
Last reply:
2018-08-16
Manfred Hampl (m-hampl) said : #1

Please provide the full and exact text of the error messages that you receive.

For diagnostic purposes please add the output of the commands

uname -a
lsb_release -crid
sudo apt-get update
sudo apt-get dist-upgrade

ealthuis (ealthuis) said : #2

The full text of the error message is above, 4 lines before'Upgrad...'

ea@Discovery:~$ uname -a
Linux Discovery 4.4.0-133-generic #159-Ubuntu SMP Fri Aug 10 07:31:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ea@Discovery:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
ea@Discovery:~$

ea@Discovery:~$ sudo apt-get update
[sudo] password for ea:
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:2 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe Sources [14.2 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse Sources [1,336 B]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [29 B]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [50.8 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [50.7 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [29.4 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [5,768 B]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [6,962 B]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [8,060 B]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [1,444 B]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [1,608 B]
Get:16 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:17 http://ca.archive.ubuntu.com/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]
Get:18 http://ca.archive.ubuntu.com/ubuntu bionic/universe DEP-11 48x48 Icons [2,151 kB]
Get:19 http://ca.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 48x48 Icons [8,931 B]
Get:20 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe Sources [54.6 kB]
Get:21 http://ca.archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [2,672 B]
Get:22 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [262 kB]
Get:23 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [290 kB]
Get:24 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [138 kB]
Get:25 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [31.4 kB]
Get:26 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [53.7 kB]
Get:27 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [160 kB]
Get:28 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [160 kB]
Get:29 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [73.4 kB]
Get:30 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [152 kB]
Get:31 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [153 kB]
Get:32 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [262 kB]
Get:33 http://ca.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [3,772 B]
Get:34 http://ca.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [3,928 B]
Get:35 http://ca.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:36 http://ca.archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:37 http://ca.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,096 B]
Get:38 http://ca.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Fetched 4,505 kB in 4s (1,215 kB/s)
AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code

ea@Discovery:~$ sudo apt-get dist-upgrade
[sudo] password for ea:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ea@Discovery:~

ealthuis (ealthuis) said : #3

I may add, that I was running an available upgrade from 16.04 to 18.04
During that process a number of messages came, most of the variety of 'do you want to update a .conf file' answer 'yes'
One error message which I cannot recall but it went on and ended with the above messages.

This, in eleven years, is the first time an upgrade has gone awry.
I am afraid to shut this computer down in case it will not start, as I have a unity desktop left over from 16.04 LTS but 'uname - a' says 18.04, what will Grub provide jf I shut down?

ealthuis (ealthuis) said : #4

I did shut it down, Started it a few hours later and all was OK.

Thanks for your help and support.