package runit 2.1.2-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1653984 reported by Jithendra Myla
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
runit (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

webadmin@ubuntu1:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-47 linux-headers-4.4.0-47-generic linux-headers-4.4.0-51
  linux-headers-4.4.0-51-generic linux-image-4.4.0-47-generic
  linux-image-4.4.0-51-generic linux-image-extra-4.4.0-47-generic
  linux-image-extra-4.4.0-51-generic linux-signed-image-4.4.0-47-generic
  linux-signed-image-4.4.0-51-generic ubuntu-core-launcher
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  grub2-common ifupdown initramfs-tools initramfs-tools-bin
  initramfs-tools-core isc-dhcp-client isc-dhcp-common unattended-upgrades
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 3,710 kB of archives.
After this operation, 79.9 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-signed amd64 1.66.6+2.02~beta2-36ubuntu3.6 [293 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64 amd64 2.02~beta2-36ubuntu3.6 [65.5 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-bin amd64 2.02~beta2-36ubuntu3.6 [658 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.6 [512 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.6 [1,706 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ifupdown amd64 0.8.10ubuntu1.2 [54.9 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools all 0.122ubuntu8.7 [8,640 B]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-core all 0.122ubuntu8.7 [42.6 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-bin amd64 0.122ubuntu8.7 [9,652 B]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 isc-dhcp-client amd64 4.3.3-5ubuntu12.6 [223 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 isc-dhcp-common amd64 4.3.3-5ubuntu12.6 [105 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 unattended-upgrades all 0.90ubuntu0.3 [31.7 kB]
Fetched 3,710 kB in 0s (4,823 kB/s)
Preconfiguring packages ...
(Reading database ... 286792 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-signed_1.66.6+2.02~beta2-36ubuntu3.6_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.66.6+2.02~beta2-36ubuntu3.6) over (1.66.2+2.02~beta2-36ubuntu3.2) ...
Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.6_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ...
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.6_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ...
Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.6_amd64.deb ...
Unpacking grub2-common (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ...
Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.6_amd64.deb ...
Unpacking grub-common (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ...
Preparing to unpack .../ifupdown_0.8.10ubuntu1.2_amd64.deb ...
Unpacking ifupdown (0.8.10ubuntu1.2) over (0.8.10ubuntu1.1) ...
Preparing to unpack .../initramfs-tools_0.122ubuntu8.7_all.deb ...
Unpacking initramfs-tools (0.122ubuntu8.7) over (0.122ubuntu8.5) ...
Preparing to unpack .../initramfs-tools-core_0.122ubuntu8.7_all.deb ...
Unpacking initramfs-tools-core (0.122ubuntu8.7) over (0.122ubuntu8.5) ...
Preparing to unpack .../initramfs-tools-bin_0.122ubuntu8.7_amd64.deb ...
Unpacking initramfs-tools-bin (0.122ubuntu8.7) over (0.122ubuntu8.5) ...
Preparing to unpack .../isc-dhcp-client_4.3.3-5ubuntu12.6_amd64.deb ...
Unpacking isc-dhcp-client (4.3.3-5ubuntu12.6) over (4.3.3-5ubuntu12.4) ...
Preparing to unpack .../isc-dhcp-common_4.3.3-5ubuntu12.6_amd64.deb ...
Unpacking isc-dhcp-common (4.3.3-5ubuntu12.6) over (4.3.3-5ubuntu12.4) ...
Preparing to unpack .../unattended-upgrades_0.90ubuntu0.3_all.deb ...
Unpacking unattended-upgrades (0.90ubuntu0.3) over (0.90ubuntu0.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for systemd (229-4ubuntu13) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Setting up runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing package runit (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of git-daemon-run:
 git-daemon-run depends on runit; however:
  Package runit is not configured yet.

dpkg: error processing package git-daemon-run (--configure):
 dependency problems - leaving unconfigured
Setting up grub-common (2.02~beta2-36ubuntu3.6) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up grub2-common (2.02~beta2-36ubuntu3.6) ...
Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.6) ...
Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.6) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-57-generic
Found initrd image: /boot/initrd.img-4.4.0-57-generic
Found linux image: /boot/vmlinuz-4.4.0-53-generic
Found initrd image: /boot/initrd.img-4.4.0-53-generic
Found linux image: /boot/vmlinuz-4.4.0-51-generic
Found initrd image: /boot/initrd.img-4.4.0-51-generic
Found linux image: /boot/vmlinuz-4.4.0-47-generic
Found initrd image: /boot/initrd.img-4.4.0-47-generic
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi-amd64-signed (1.66.6+2.02~beta2-36ubuntu3.6) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up ifupdown (0.8.10ubuntu1.2) ...
Setting up initramfs-tools-bin (0.122ubuntu8.7) ...
Setting up initramfs-tools-core (0.122ubuntu8.7) ...
Setting up initramfs-tools (0.122ubuntu8.7) ...
update-initramfs: deferring update (trigger activated)
Setting up isc-dhcp-client (4.3.3-5ubuntu12.6) ...
Setting up isc-dhcp-common (4.3.3-5ubuntu12.6) ...
Setting up unattended-upgrades (0.90ubuntu0.3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for shim-signed (1.19~16.04.1+0.8-0ubuntu2) ...
find: ‘/var/lib/dkms’: No such file or directory
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for initramfs-tools (0.122ubuntu8.7) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-57-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin for module i915_bpo
Errors were encountered while processing:
 runit
 git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
webadmin@ubuntu1:~$

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: runit 2.1.2-3ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-57.78-generic 4.4.35
Uname: Linux 4.4.0-57-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
Date: Mon Jan 2 15:47:21 2017
Dependencies:
 fgetty 0.7-1
 gcc-6-base 6.0.1-0ubuntu1
 libc6 2.23-0ubuntu5
 libgcc1 1:6.0.1-0ubuntu1
DpkgHistoryLog:
 Start-Date: 2017-01-02 15:47:19
 Commandline: apt install vim
 Requested-By: ansible (1001)
 Install: vim-runtime:amd64 (2:7.4.1689-3ubuntu1.2, automatic), vim:amd64 (2:7.4.1689-3ubuntu1.2)
DuplicateSignature:
 package:runit:2.1.2-3ubuntu1
 Setting up runit (2.1.2-3ubuntu1) ...
 start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
 dpkg: error processing package runit (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-11-16 (48 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.15ubuntu0.2
SourcePackage: runit
Title: package runit 2.1.2-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jithendra Myla (jithe1978) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in runit (Ubuntu):
status: New → Confirmed
Changed in runit (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1448164, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.