16.04 Software Updater error(s)

Software Update just failed with error about missing packages so I went to Terminal…
Here is the text of the error:

[email protected]:~$ sudo apt-get install -f
[sudo] password for twowings: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up udev (228-4ubuntu2) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kpartx:
 kpartx depends on udev (>> 136-1); however:
  Package udev is not configured yet.

dpkg: error processing package kpartx (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    dpkg: dependency problems prevent configuration of kpartx-boot:
 kpartx-boot depends on kpartx (>= 0.5.0-7ubuntu12); however:
  Package kpartx is not configured yet.
 kpartx-boot depends on kpartx (<< 0.5.0-7ubuntu12.1~); however:
  Package kpartx is not configured yet.

dpkg: error processing package kpartx-boot (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 udev
 kpartx
 kpartx-boot
E: Sub-process /usr/bin/dpkg returned an error code (1)
[email protected]:~$ sudo apt-get install --fix-missing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up udev (228-4ubuntu2) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kpartx:
 kpartx depends on udev (>> 136-1); however:
  Package udev is not configured yet.

dpkg: error processing package kpartx (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of kpartx-boot:
 kpartx-boot depends on kpartx (>= 0.5.0-7ubuntu12); however:
  Package kpartx is not configured yet.
 kpartx-boot depends on kpartx (<< 0.5.0-7ubuntu12.1~); however:
  Package kpartx is not configured yet.

dpkg: error processing package kpartx-boot (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 udev
 kpartx
 kpartx-boot
E: Sub-process /usr/bin/dpkg returned an error code (1)
[email protected]:~$ sudo apt-get install --fix-broken
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up udev (228-4ubuntu2) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kpartx:
 kpartx depends on udev (>> 136-1); however:
  Package udev is not configured yet.

dpkg: error processing package kpartx (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of kpartx-boot:
 kpartx-boot depends on kpartx (>= 0.5.0-7ubuntu12); however:
  Package kpartx is not configured yet.
 kpartx-boot depends on kpartx (<< 0.5.0-7ubuntu12.1~); however:
  Package kpartx is not configured yet.

dpkg: error processing package kpartx-boot (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 udev
 kpartx
 kpartx-boot
E: Sub-process /usr/bin/dpkg returned an error code (1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

What would be the next step for troubleshooting?  Thank you for any assistance!

Hi,

try changing your software sources download location to a different server, see the update guide for more info:

Hey.
I had the same problem and this resolved it for me:

sudo update-rc.d mountkernfs.sh defaults
sudo apt-get -f install

source:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1540568

1 Like

This worked! Thank you indeed…

1 Like