Results 1 to 16 of 16

Thread: Kali boots with systemd & fails afterdist-upgrade

  1. #1
    Join Date
    2014-Nov
    Posts
    18

    Kali boots with systemd & fails afterdist-upgrade

    I installed Kali 1.0.9 and everything was working smoothly. Recently I added the following line to my sources.list:
    deb http://http.kali.org/kali/ kali-dev main contrib non-free

    And I did so because my llvm version was 3.1, which I think is very old. I also wanted to install the llvm toochain which didn't exist in the repo's if I had these lines:

    deb http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    So I added kali-dev to my sources. Then I did a apt-get update; apt-get upgrade; apt-get dist-upgrade. And lo and behold, everything broke. I had conflicting dependencies with respect to ruby-zip and ruby-zip-zip. I resolved the problem by removing both those packages and a couple more packages like cewl et.c that depended on these packages. The conflict was resolved and my dist-upgrade continued. After the upgrade, when I rebooted my machine I noticed that systemd has now replaced init. And my gdm3 couldn't launch Xorg. I removed all the nouveau packages and then I was able to launch Xorg. Now Xorg does not let me login as root. My WiFi is disabled (hard-locked) and what not... All **** broke lose. Now I am clueless.

    What is this kali-dev supposed to be? Is it some kind of unstable kali? Is it kali for development (for developers)?

  2. #2
    You shouldn't be adding kali-dev repositories unless you know what you are doing, as stated in our documentation (http://docs.kali.org/general-use/kal...t-repositories). No clue how to undo your mess, sorry.

  3. #3
    Join Date
    2014-Nov
    Location
    Cyberspace
    Posts
    4
    you must add another line to your sources.list

    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb http://http.kali.org/kali kali main contrib non-free
    deb-src http://http.kali.org/kali kali main contrib non-free

    and then try.
    good luck.!
    [FONT=Impact]DeadCode[/FONT]

  4. #4
    Join Date
    2014-Nov
    Location
    Cyberspace
    Posts
    4
    Sorry for the my first reply. you added the wrong line to your sources.list

    Try this -

    deb http://security.kali.org/kali-security kali/updates main contrib non-free

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

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


    Then save (ctrl+o) and exit (ctrl+x)

    then update

    apt-get update && apt-get upgrade && apt-get dist-upgrade
    [FONT=Impact]DeadCode[/FONT]

  5. #5
    Join Date
    2014-Nov
    Posts
    3
    Check /etc/pam.d/gdm-password, look at the third line and the issue should be obvious.

  6. #6
    Join Date
    2014-Nov
    Posts
    18
    Thanks muts, for your reply. Seems like there is no easy path out of my mess. I am planning to reinstall 1.0.9. But after that how do I install llvm toolchain v3.5, if I do not want to download the sources and compile? I see that kali-dev has them. What's the easiest way out?

  7. #7
    Join Date
    2014-Nov
    Posts
    18
    Hi DeadCode, thanks for your reply. Do you think I will be able to install the llvm 3.5 and llvm toolchain if I add kali-src?

  8. #8
    Join Date
    2014-Nov
    Posts
    18
    Hi Photon, thanks for that! I will try your suggestion and let you know how it goes.

  9. #9
    The advice given by DeadCode is pointless. Your best bet is building the toolset you need form source or trying to pin the tools and repositories you require.

  10. #10
    Join Date
    2014-Nov
    Posts
    18
    Hi Photon, I commented line # 3 in /etc/pam.d/gdm-password and root login works with gdm. Thanks!

  11. #11
    Join Date
    2014-Nov
    Posts
    18
    I have been trying to fix the issues one after another, thanks to the fantastic kali forums. Looks like my Kali installation is slowly getting into shape. I have llvm 3.5 and llvm tools installed from kali-dev. As a bonus I am getting gcc v4.9.1, and a host of other updated softwares, that I did not find when I didn't have kali-dev in my sources!! Looks like I am going to have some serious fun! Thanks mut and to all of you folks on the forums!

  12. #12
    Join Date
    2014-Nov
    Posts
    3
    Quote Originally Posted by nikkipolya View Post
    Hi Photon, thanks for that! I will try your suggestion and let you know how it goes.
    Assuming I'm right, ot should sort the issue with gdm denying root login. As far as the wifi goes, have you checked the module is loading at boot? systemd is rather more stroppy about blacklists than sysvinit. There should be something in the output of journalctl if it's doing that.

    Additionally, assuming kali-dev is based on debian jessie, the option exists to remove systemd and and drop sysvinit back in by running apt-get install sysvinit-core systemd-shim, IIRC.

  13. #13
    Join Date
    2014-Nov
    Posts
    18
    All is not well. Too many packages are broken. I guess I will have to reinstall Kali.

  14. #14
    Join Date
    2014-Nov
    Posts
    18
    I have reinstalled. What is kali-dev supposed to be anyways?

  15. #15
    kali-dev is a development branch where we stage experimental upgrades and packages. Adding it to your Kali installation without knowing *exactly* what you are doing and why you are doing it will almost certainly break your foo every single time. I keep on seeing all sorts of "tutorials" on the internet encouraging people to add these repositories (and others) , and i sigh. These tutorials are written by individuals who know not what they are doing, and thus misleading many others.

  16. #16
    kali-dev is a development branch where we stage experimental upgrades and packages. Adding it to your Kali installation without knowing *exactly* what you are doing and why you are doing it will almost certainly break your foo every single time. I keep on seeing all sorts of "tutorials" on the internet encouraging people to add these repositories (and others) , and i sigh. These tutorials are written by individuals who know not what they are doing, and thus misleading many others. http://kaligr3y.blogspot.ie/2013/04/...ali-linux.html is a good example of what you SHOULDN'T be doing.

Similar Threads

  1. apt-get -y upgrade fails apt-get -y dist-upgrade fails
    By billp11 in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2016-11-04, 03:42
  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. Upgrade to Kali-Linux rolling fails.
    By ArtichokeLama in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-08-18, 11:04
  4. About Kali Linux and systemd
    By fennica2003 in forum Development Archive
    Replies: 0
    Last Post: 2014-11-20, 08:57
  5. Replies: 0
    Last Post: 2014-05-14, 09:07

Posting Permissions

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