← Back to team overview

touch-packages team mailing list archive

[Bug 1436448] Re: Error messages while installing apport package

 

I can easily reproduce this on a generic ppc64el virtual machine; policykit-1 may have trouble starting up:
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)

In my case however it happened with the systemd postinst:
Processing triggers for systemd (219-9ubuntu1) ...
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)

Running the install again appears to eventually let it succeed. Since
it's not just reproducible with apport; I'm reassigning this to
policykit-1.

** Package changed: apport (Ubuntu) => policykit-1 (Ubuntu)

** Summary changed:

- Error messages while installing apport package
+ Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)

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

Title:
  Error calling StartServiceByName for org.freedesktop.PolicyKit1:
  Timeout was reached (g-io-error-quark, 24)

Status in policykit-1 package in Ubuntu:
  Confirmed

Bug description:
  ---Problem Description---
  Error messages while installing apport package
    
  ---uname output---
  3.19.0-9-generic
   
  Machine Type = POWER8 
    
  ---Steps to Reproduce---
  1) Install Ubuntu 15.04 as a PowerKVM guest.
  2) Install apport package using following command

  apt-get install apport

  Error messages are displayed during the installation. The installation
  eventually succeeds.

  root@ub1504:~# apt-get install apport
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    linux-headers-3.18.0-13 linux-headers-3.18.0-13-generic
    linux-image-3.18.0-13-generic linux-image-extra-3.18.0-13-generic
    python-support
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
    apport-symptoms libpolkit-agent-1-0 libpolkit-backend-1-0 policykit-1
    python3-apport python3-problem-report
  Suggested packages:
    apport-gtk apport-kde python3-launchpadlib
  The following NEW packages will be installed:
    apport apport-symptoms libpolkit-agent-1-0 libpolkit-backend-1-0 policykit-1
    python3-apport python3-problem-report
  0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
  Need to get 312 kB of archives.
  After this operation, 2,296 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libpolkit-agent-1-0 ppc64el 0.105-8ubuntu2 [14.6 kB]
  Get:2 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libpolkit-backend-1-0 ppc64el 0.105-8ubuntu2 [33.5 kB]
  Get:3 http://ports.ubuntu.com/ubuntu-ports/ vivid/main python3-problem-report all 2.16.2-0ubuntu4 [10.1 kB]
  Get:4 http://ports.ubuntu.com/ubuntu-ports/ vivid/main python3-apport all 2.16.2-0ubuntu4 [75.9 kB]
  Get:5 http://ports.ubuntu.com/ubuntu-ports/ vivid/main apport all 2.16.2-0ubuntu4 [113 kB]
  Get:6 http://ports.ubuntu.com/ubuntu-ports/ vivid/main apport-symptoms all 0.20 [14.2 kB]
  Get:7 http://ports.ubuntu.com/ubuntu-ports/ vivid/main policykit-1 ppc64el 0.105-8ubuntu2 [50.7 kB]
  Fetched 312 kB in 1s (217 kB/s)        
  Selecting previously unselected package libpolkit-agent-1-0:ppc64el.
  (Reading database ... 114319 files and directories currently installed.)
  Preparing to unpack .../libpolkit-agent-1-0_0.105-8ubuntu2_ppc64el.deb ...
  Unpacking libpolkit-agent-1-0:ppc64el (0.105-8ubuntu2) ...
  Selecting previously unselected package libpolkit-backend-1-0:ppc64el.
  Preparing to unpack .../libpolkit-backend-1-0_0.105-8ubuntu2_ppc64el.deb ...
  Unpacking libpolkit-backend-1-0:ppc64el (0.105-8ubuntu2) ...
  Selecting previously unselected package python3-problem-report.
  Preparing to unpack .../python3-problem-report_2.16.2-0ubuntu4_all.deb ...
  Unpacking python3-problem-report (2.16.2-0ubuntu4) ...
  Selecting previously unselected package python3-apport.
  Preparing to unpack .../python3-apport_2.16.2-0ubuntu4_all.deb ...
  Unpacking python3-apport (2.16.2-0ubuntu4) ...
  Selecting previously unselected package apport.
  Preparing to unpack .../apport_2.16.2-0ubuntu4_all.deb ...
  Unpacking apport (2.16.2-0ubuntu4) ...
  Selecting previously unselected package apport-symptoms.
  Preparing to unpack .../apport-symptoms_0.20_all.deb ...
  Unpacking apport-symptoms (0.20) ...
  Selecting previously unselected package policykit-1.
  Preparing to unpack .../policykit-1_0.105-8ubuntu2_ppc64el.deb ...
  Unpacking policykit-1 (0.105-8ubuntu2) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Processing triggers for shared-mime-info (1.3-1) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Processing triggers for dbus (1.8.12-1ubuntu3) ...
  Setting up libpolkit-agent-1-0:ppc64el (0.105-8ubuntu2) ...
  Setting up libpolkit-backend-1-0:ppc64el (0.105-8ubuntu2) ...
  Setting up python3-problem-report (2.16.2-0ubuntu4) ...
  Setting up python3-apport (2.16.2-0ubuntu4) ...
  Setting up apport (2.16.2-0ubuntu4) ...
  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
  invoke-rc.d: apport.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present.
  Setting up apport-symptoms (0.20) ...
  Setting up policykit-1 (0.105-8ubuntu2) ...
  Processing triggers for libc-bin (2.21-0ubuntu2) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Processing triggers for dbus (1.8.12-1ubuntu3) ...
  root@ub1504:~# dpkg -l | grep apport
  ii  apport                              2.16.2-0ubuntu4              all          automatically generate crash reports for debugging
  ii  apport-symptoms                     0.20                         all          symptom scripts for apport
  ii  python3-apport                      2.16.2-0ubuntu4              all          Python 3 library for Apport crash report handling
  root@ub1504:~# uname -r
  3.19.0-9-generic
  root@ub1504:~# 

   
  Userspace tool common name: apport 
   
  The userspace tool has the following bit modes: 64-bit 

  Userspace package: apport (2.16.2-0ubuntu4)

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