dpkg --configure dbus - error 1

Bug #295602 reported by Masol on 2008-11-08
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)
Medium
Unassigned

Bug Description

I was to install xubuntu-desktop. However, my computer hung. After restarting when I try 'apt-get install -f' I get an error with 'dbus' package and the following packages are not installed due to missing dependencies.

'sudo apt-get install -f': attachment

'sudo dpkg --configure dbus':
Konfigurowanie dbus (1.2.4-0ubuntu1) ...
Warning: The home dir /var/run/dbus you specified can't be accessed: No such file or directory
The system user `messagebus' already exists. Exiting.
chown: cannot access `/var/run/dbus': No such file or directory
dpkg: błąd przetwarzania dbus (--configure):
 podproces post-installation script zwrócił kod błędu 1
Wystąpiły błędy podczas przetwarzania:
 dbus

'lsb_release -rd':
Description: Ubuntu 8.10
Release: 8.10

'apt-cache policy dbus':
dpkg:
  Zainstalowana: 1.14.20ubuntu6
  Kandydująca: 1.14.20ubuntu6
  Tabela wersji:
 *** 1.14.20ubuntu6 0
        500 http://pl.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

Masol (masol90) wrote :
Charlie Kravetz (charlie-tca) wrote :

Was this an installation (apt-get install xubuntu-desktop) or an upgrade from 8.04? Have been able to install xubuntu desktop? There should be some logs in /var/log/installer. Could you attach /var/log/installer/syslog as a plain text attachment?

Changed in aptitude:
status: New → Incomplete
Masol (masol90) wrote :

It was a clean 8.10 installation. I was never able to install xubuntu-desktop on this installation.

Charlie Kravetz (charlie-tca) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in aptitude:
importance: Undecided → Medium
status: Incomplete → Triaged
phantomjinx (phantomjinx) wrote :

Has a similar experience to original poster.

Upgraded from hardy to ibex and all completed successfully, initially.

Rebooted.

hal failed to start due to dbus.

`dpkg --configure hal` failed due to configuring of dbus required
`dpkg --configure dbus` failed due to:

"Warning: The home dir /var/run/dbus you specified can't be accessed: No such file or directory
The system user `messagebus' already exists. Exiting.
chown: cannot access `/var/run/dbus': No such file or directory"

As root simply did `mkdir /var/run/dbus` and reran `dpkg --configure dbus` and all was fine
Ran `dpkg --cofnigure -a` and all packages were successfully configured.

So maybe a line has been missed somewhere on the lines of:
if [ ! -d /var/run/dbus ]
then
  mkdir /var/run/dbus
fi

Just a thought.

phantomjinx

Daniel Hartwig (wigs) wrote :

> Konfigurowanie dbus (1.2.4-0ubuntu1) ...
> Warning: The home dir /var/run/dbus you specified can't be accessed: No such file or directory
> The system user `messagebus' already exists. Exiting.
> chown: cannot access `/var/run/dbus': No such file or directory
> dpkg: błąd przetwarzania dbus (--configure):

Nothing to do with aptitude here. Problem appears to be dbus maintainer scripts.

affects: aptitude (Ubuntu) → dbus (Ubuntu)
Changed in dbus (Ubuntu):
status: Triaged → New
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dbus (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers