Results 1 to 4 of 4

Thread: rolling dist-upgrade failed. apt-get not working... somethings broken

  1. #1
    Join Date
    2015-Feb
    Posts
    2

    rolling dist-upgrade failed. apt-get not working... somethings broken

    After following the instructions here:

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

    My system:

    Code:
    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:
    Code:
    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.PermissionsInvalid: 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!

  2. #2
    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.

  3. #3
    Join Date
    2016-Feb
    Posts
    1
    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
    Last edited by rAWjAW; 2016-02-03 at 17:30.

  4. #4
    Join Date
    2014-Nov
    Posts
    13
    https://www.kali.org/news/kali-linux...dition-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
    Last edited by jfranco; 2016-02-09 at 03:50. Reason: correct the information given and add to the post

Similar Threads

  1. Kali Rolling 2020 dist-upgrade
    By Ub3rDaddy in forum Installing Archive
    Replies: 0
    Last Post: 2020-05-10, 17:18
  2. Kali Rolling - gdm fails to start after dist-upgrade
    By wtf in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-09-25, 07:43
  3. Kali-rolling dist-upgrade failed
    By junk-I in forum ARM Archive
    Replies: 1
    Last Post: 2016-07-15, 05:47
  4. apt-get dist-upgrade error on Kali Rolling
    By stevo4 in forum TroubleShooting Archive
    Replies: 20
    Last Post: 2016-04-25, 21:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •