PDA

View Full Version : kali is BROKEN after updating



med
2016-10-25, 17:06
i install kali 1.1.0
then i change
the repository to
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

and i tried to update /upgrade/dist-upgrade
so i get this problem


271 upgraded, 352 newly installed, 85 to remove and 1059 not upgraded.
30 not fully installed or removed.
Need to get 0 B/1,188 MB of archives.
After this operation, 1,073 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended-doc:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-pictures:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-pictures:amd64
texlive-base:amd64 conflicts with texlive-pictures-doc:amd64
texlive-base:amd64 conflicts with texlive-pstricks:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-pictures:amd64
texlive-base:amd64 conflicts with texlive-pstricks:amd64
texlive-base:amd64 conflicts with texlive-pstricks-doc:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-pictures:amd64
texlive-base:amd64 conflicts with texlive-pstricks:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-pictures:amd64
texlive-base:amd64 conflicts with texlive-pstricks:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-pictures:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-luatex:amd64
texlive-base:amd64 conflicts with texlive-latex-extra:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
texlive-base:amd64 conflicts with texlive-latex-recommended:amd64
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up initscripts (2.88dsf-59.8) ...
insserv: script checkroot.sh: service mtab already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initscripts
Can't locate File/FcntlLock.pm in @INC (you may need to install the File::FcntlLock module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/kali-menu/update-kali-menu line 9.
BEGIN failed--compilation aborted at /usr/share/kali-menu/update-kali-menu line 9.
E: Problem executing scripts DPkg::Post-Invoke '/usr/share/kali-menu/update-kali-menu wait_dpkg'
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (1)

pedropt
2016-10-26, 00:06
you should not upgrade kali wheezy (7 "1.1.0") directly to kali rooling .
Both linux distributions work completely different from each other .

The repository that you should add to your sources.list was :

deb http://old.kali.org/kali sana main non-free contrib
deb-src http://old.kali.org/kali sana main non-free contrib

And remove your old kali repository from sources.list .

Then , after an :
apt-get update && apt-get upgrade && apt-get dist-upgrade -y
and if only everything is working ok , then you can change to new kali repository like you wrote before .

One this is you install a fresh install of kali sana and add the rolling repositories , other thing is installing kali moto .

boba.fett
2016-10-26, 12:32
Quick Question, Why dont download and install 2016.2 from the begining?