gmc
Posts: 123
Joined: Fri Mar 09, 2012 11:31 am
Location: Cheshire, UK
Contact: Website

apt-get upgrade error

Fri Aug 23, 2013 8:29 am

I've run sudo apt-get update and then sudo apt-get upgrade and I get the following error:

Code: Select all

Setting up nfs-common (1:1.2.6-4) ...
insserv: Service rpcbind has to be enabled to start service nfs-common
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Tried rebooting, and rerunning upgrade and still get the same problem.

Any idea how to fix this?

Oakham
Posts: 366
Joined: Tue Aug 20, 2013 9:11 pm

Re: apt-get upgrade error

Fri Aug 23, 2013 8:53 am

""Service rpcbind has to be enabled to start service nfs-common""

sudo update-rc.d rpcbind defaults

..the above may help solve the issue :?
Searching is easy, most questions have been asked before !

gmc
Posts: 123
Joined: Fri Mar 09, 2012 11:31 am
Location: Cheshire, UK
Contact: Website

Re: apt-get upgrade error

Fri Aug 23, 2013 9:09 am

Brilliant - thanks.

Fixed the problem.

Return to “Troubleshooting”