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

English Edit question
Ubuntu update-manager Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
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:~$ sudo apt-get update
[sudo] password for ea:
Get:1 bionic-security InRelease [83.2 kB]
Hit:2 bionic InRelease
Get:3 bionic-updates InRelease [88.7 kB]
Get:4 bionic-security/universe Sources [14.2 kB]
Get:5 bionic-security/multiverse Sources [1,336 B]
Get:6 bionic-security/main amd64 DEP-11 Metadata [204 B]
Get:7 bionic-security/main DEP-11 48x48 Icons [29 B]
Get:8 bionic-security/universe amd64 Packages [50.8 kB]
Get:9 bionic-security/universe i386 Packages [50.7 kB]
Get:10 bionic-security/universe Translation-en [29.4 kB]
Get:11 bionic-security/universe amd64 DEP-11 Metadata [5,768 B]
Get:12 bionic-security/universe DEP-11 48x48 Icons [6,962 B]
Get:13 bionic-security/universe DEP-11 64x64 Icons [8,060 B]
Get:14 bionic-security/multiverse amd64 Packages [1,444 B]
Get:15 bionic-security/multiverse i386 Packages [1,608 B]
Get:16 bionic-backports InRelease [74.6 kB]
Get:17 bionic/main DEP-11 48x48 Icons [118 kB]
Get:18 bionic/universe DEP-11 48x48 Icons [2,151 kB]
Get:19 bionic/multiverse DEP-11 48x48 Icons [8,931 B]
Get:20 bionic-updates/universe Sources [54.6 kB]
Get:21 bionic-updates/multiverse Sources [2,672 B]
Get:22 bionic-updates/main i386 Packages [262 kB]
Get:23 bionic-updates/main amd64 Packages [290 kB]
Get:24 bionic-updates/main amd64 DEP-11 Metadata [138 kB]
Get:25 bionic-updates/main DEP-11 48x48 Icons [31.4 kB]
Get:26 bionic-updates/main DEP-11 64x64 Icons [53.7 kB]
Get:27 bionic-updates/universe i386 Packages [160 kB]
Get:28 bionic-updates/universe amd64 Packages [160 kB]
Get:29 bionic-updates/universe Translation-en [73.4 kB]
Get:30 bionic-updates/universe amd64 DEP-11 Metadata [152 kB]
Get:31 bionic-updates/universe DEP-11 48x48 Icons [153 kB]
Get:32 bionic-updates/universe DEP-11 64x64 Icons [262 kB]
Get:33 bionic-updates/multiverse amd64 Packages [3,772 B]
Get:34 bionic-updates/multiverse i386 Packages [3,928 B]
Get:35 bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:36 bionic-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:37 bionic-backports/universe amd64 DEP-11 Metadata [5,096 B]
Get:38 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?

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.