apt fails if dbus is not running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: aptdaemon
When running in a chroot environment in karmic I get the following error after using apt-get update:
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/
E: Problem executing scripts APT::Update:
E: Sub-process returned an error code
The bug is similar to this one:
https:/
To solve it I changed this line:
APT::Update:
to
APT::Update:
in /etc/apt/
summary: |
- apt fails in a chroot environment if dbus is not running + apt fails if dbus is not running |
Changed in aptdaemon (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in aptdaemon (Ubuntu): | |
status: | Fix Committed → Fix Released |
actually the test should be -S. This is an error in packagekit too. Thanks a lot. I fixed the bug upstream.