Saturday, April 5, 2014

Ubuntu apt-get Install Error


When running apt-get install, got following error.
/var/lib/dpkg/info/ebtables.postinst: 6: /var/lib/dpkg/info/ebtables.postinst: update-rc.d: not found
dpkg: error processing ebtables (--configure):
 subprocess installed post-installation script returned error exit status 127
After lots of search, finally find a solution that works for my problem:
First remove the relative files in /var/lib/dpkg/info, then reinstall 
$ sudo rm ebtables*
$ sudo apt-get -f install ebtables

No comments:

Post a Comment