← Back to team overview

touch-packages team mailing list archive

[Bug 1447654] Re: installing policykit-1 hangs under systemd

 

Hi,

I just encountered this bug on a mini computer board (Intel Celeron J1900 x4, 2GHz with 4096 MB of RAM).
Ubuntu 15.04 Server for AMD64

I can give you every details for having this reproduced

With a minimalist installation as I always do with Debian (approximately
nothing is installed but Linux Kernel and apt-get - then I choose what I
need and nothing else)

For doing that :
   - I used "expert mode" by pressing "F6" at the boot of the installer (Legacy mode, not UEFI).
   - I didn't execute "Select and Install software". (because it loads and install many things I'm not going to use)

I use the following sources.list :
http://62.210.206.25:82/html/sources.list (extracted from a fully
installed Ubuntu server 15.04 amd64) because when "Select and Install
software" is not done, sources.list is keept untouched (so I replaced it
manually from a live usb stick)


Then I typed the following commands

apt-get update
apt-get upgrade
apt-get install mate-desktop-environment lightdm

Then it's freezing many times, whatever I try it always fails returning
the same error :

Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
dpkg: error processing package systemd (--unpack):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)

also :
"error calling StartServiceByName for org.freedesktop.PolicyKit"

or also :
"cannot open /run/systemd/was-enabled no such file"

But it continues after a while and then finish by

Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/1447654

Title:
  installing policykit-1 hangs under systemd

Status in policykit-1 package in Ubuntu:
  Confirmed
Status in policykit-1 source package in Vivid:
  Fix Released

Bug description:
  I've installed 15.04 using the current amd64 netboot.tar.gz (MD5 =
  6566065bf73a9c81feeddf5520dda122). It installs fine, but I'm getting
  errors installing packages (such as lubuntu-core).

  Last few lines from apt-get:
  Processing triggers for systemd (219-7ubuntu3) ...
  Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
  Failed to execute operation: Connection timed out
  dpkg: error processing package systemd (--unpack):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libglib2.0-0:amd64 (2.44.0-1ubuntu3) ...
  Processing triggers for shared-mime-info (1.3-1) ...
  Processing triggers for mime-support (3.58ubuntu1) ...
  Processing triggers for udev (219-7ubuntu3) ...
  Processing triggers for dbus (1.8.12-1ubuntu5) ...
  Errors were encountered while processing:
   systemd
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  I've done a second install using the server iso and lubuntu-core
  installs fine on that. The only thing different was my install media.

  SRU INFORMATION
  ===============
  Test case:
  - Boot a minimal VM and purge "apport policykit-1", or do the above netboot installation.
  - sudo apt-get install policykit-1 apport
  - The above hangs on the systemd triggers and eventually fails in vivid final. It should succeed fine with this update.

  Regression potential: Very low: polkitd does not keep state, so one
  can restart it fine. The postinst shell modification is simple and
  obvious.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1447654/+subscriptions