Cannot install mythtv-backend on Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mythtv (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
New upgrade of xenial, installing mythtv-backend fails with the following:
jesse@nietzsche
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libslang2:i386
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
mythtv-backend
The following packages will be upgraded:
mythtv-backend
1 upgraded, 0 newly installed, 0 to remove and 2337 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,243 kB of archives.
After this operation, 179 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 797839 files and directories currently installed.)
Preparing to unpack .../mythtv-
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
invoke-rc.d: unknown initscript, /etc/init.
dpkg: warning: subprocess old pre-removal script returned error exit status 100
dpkg: trying script from the new package instead ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
invoke-rc.d: unknown initscript, /etc/init.
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 100
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
invoke-rc.d: unknown initscript, /etc/init.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help greatly appreciated.
Created an empty file /etc/init. d/mythtv- backend and made it executable, re-ran apt-get install -f and everything worked.