PDA

View Full Version : Kali dependency ****



Alpha-moe
2015-11-21, 20:33
1036
every time i try to update or upgrade ,the operation fails because of the issues in the screenshot
basically nothing i do solved it and i wasn't even able to uninstall the conflicting packages
transcript of the error (edited to become shorter):

"insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 4.3.28-dfsg-1kali1+b1); however:
Package virtualbox is not configured yet.

dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
Setting up rpcbind (0.2.1-6+deb8u1) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (empty) of script `rpcbind' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 1 6 S) of script `rpcbind' overrides LSB defaults (0 1 6).
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop between service rc.local and mountdevsubfs if started
insserv: loop involving service mountdevsubfs at depth 2
insserv: loop involving service udev at depth 1
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!

insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!

insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package rpcbind (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.

dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kali-linux:
kali-linux depends on mysql-server; however:
Package mysql-server is not configured yet.

dpkg: error processing package kali-linux (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kali-linux-sdr:
kali-linux-sdr depends on kali-linux; however:
Package kali-linux is not configured yet.

dpkg: error processing package kali-linux-sdr (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kali-linux-full:
kali-linux-full depends on kali-linux; however:
Package kali-linux is not configured yet.
kali-linux-full depends on kali-linux-sdr; however:
Package kali-linux-sdr is not configured yet.

dpkg: error processing package kali-linux-full (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
ntp
virtualbox
virtualbox-qt
rpcbind
mysql-server
kali-linux
kali-linux-sdr
kali-linux-full
E: Sub-process /usr/bin/dpkg returned an error code (1)"

Alpha-moe
2015-11-22, 23:00
no takers ?

grid
2015-11-23, 12:58
Based on the errors, I'd say you were running Kali within VirtualBox, is that true? If so, did you install from scratch, or use the pre-made VM images from www.offensive-security.com?

Alpha-moe
2015-11-23, 13:54
it's not ona VM ,this is my lenovo laptop , Kali running as a primary OS

grid
2015-11-23, 19:02
Hmm, that's odd. Anything useful from dmesg?

pedropt
2015-11-23, 21:07
instead using "apt-get install", use : "aptitude install -f" for package conflicts use "aptitude install package name -f"

reidamaxia
2015-11-24, 06:54
Hi Alpha-moe

You do not have to uninstall but disabling the packages with sysv-rc-conf. Next you should run the following steps:

apt-get autoclean
apt-get clean

Then remove the packages that are causing the errors (Due to your post: mysql-server, ntp, virtualbox, virtualbox-qt, rpcbind, mysql-server, kali-linux, kali-linux-sdr, kali-linux-full)
Followed by

apt-get update
apt-get -f install
apt-get dist-upgrade

Then reinstall any packages that you need.
Hope this helps!

regards, reidamaxia

Alpha-moe
2015-11-24, 11:05
thanks all, will try and post the results

Alpha-moe
2015-11-27, 15:36
turns out the smfpd caused all this problem , and since no one uses these ports anymore ,it's safe to remove it
"sudo rm /etc/init.d/smfpd"
helped solve the problem

grid
2015-11-30, 13:06
Thanks for posting the fix, Alpha-moe :)