PDA

View Full Version : rolling dist-upgrade failed. apt-get not working... somethings broken



vanhalt
2016-02-02, 23:08
After following the instructions here:

https://www.kali.org/news/kali-linux-rolling-edition-2016-1/

My system:


uname -a
Linux 3.18.0-kali3-amd64 #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux

This is happening:


https://www.kali.org/news/kali-linux-rolling-edition-2016-1/
Preparing to unpack .../texlive-latex-base-doc_2015.20160117-1_all.deb ...
Unpacking texlive-latex-base-doc (2015.20160117-1) over (2012.20120611-5) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-latex-base-doc_2015.20160117-1_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/url/miscdoc.sty', which is also in package texlive-latex-recommended-doc 2012.20120611-5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../texlive-latex-extra-doc_2015.20160117-1_all.deb ...
Unpacking texlive-latex-extra-doc (2015.20160117-1) over (2012.20120611-2) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-latex-extra-doc_2015.20160117-1_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/adjustbox/README', which is also in package texlive-pictures-doc 2012.20120611-5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.21-7) ...
Errors were encountered while processing:
/var/cache/apt/archives/texlive-latex-base-doc_2015.20160117-1_all.deb
/var/cache/apt/archives/texlive-latex-extra-doc_2015.20160117-1_all.deb
Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.Permi ssionsInvalid: The permission of the setuid helper is not correct
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.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /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 '[ ! -x /usr/share/kali-menu/update-kali-menu ] || /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)

I have no clue on how to solve it, don't know what broke either. Any help or suggestion?

Thanks in advance!

aephlux
2016-02-03, 02:42
Looking at your kernel version, I'm assuming your kali is version 1.x.x(kernel 3). The instruction you followed is to upgrade from sana(kernel 4) to rolling(kernel 4.3).

I'm guessing that is why your updates is not working. Probably you should have change your sources list to sana's first, and do dist-upgrade. Then doing it with rolling sources list like the instructions you followed.
If all else fails, I would suggest to just download the new iso and do a fresh install.

quickuser
2016-02-03, 14:24
Hi, upgrading from a sana 4.0.0 kernel to kali rolling following the same instruction set as OP.
Getting 503 errors aswell so im pretty sure my installation is going to turn out fucked.
http://i.imgur.com/fqmQXxZ.jpg

Is there a list of trusted kali rolling mirrors i can add?
Fix your server please :o

jfranco
2016-02-09, 00:00
https://www.kali.org/news/kali-linux-rolling-edition-2016-1/

code from the link, no work on my part other than finding it:
In terminal window, type the following:

cat << EOF > /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib
EOF

apt-get clean && apt-get update && apt-get dist-upgrade
reboot

#You can also use leafpad or gedit and manually add the line yourself. Dont forget to comment out your old repo lines when you add it!!!

leafpad /etc/apt/sources.list
apt-get clean && apt-get update && apt-get dist-upgrade