Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: When Upgrading Screen Shuts Off and On

  1. #1
    Junior Member
    Join Date
    Aug 2015
    Posts
    10

    [SOLVED] When Upgrading Screen Shuts Off and On

    I am using a brand new installation of Kali, and when I upgrade or dist-upgrade after the fresh installation then my screen proceeds to turn off, then back on with only a mouse cursor. When I reboot after the failed upgrade the same thing happens. Which means I automatically have to do another installation because I can't even get to a login prompt. Anyone else having this issue?
    Last edited by RFKiller; 2017-04-11 at 07:17 AM. Reason: Workaround Found

  2. #2
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    449
    Show the output of cat /etc/apt/sources.list

  3. #3
    Junior Member
    Join Date
    Aug 2015
    Posts
    10
    Quote Originally Posted by _defalt View Post
    Show the output of cat /etc/apt/sources.list
    Code:
    root@kali:~# cat /etc/apt/sources.list
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    Do you need anything else?

  4. #4
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    449
    Correct your repositories:
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    #deb-src http://http.kali.org/kali kali-rolling main contrib non-free

  5. #5
    Junior Member
    Join Date
    Aug 2015
    Posts
    10
    But why would not want the source files along with the binaries? I will edit the sources.list file and upgrade. But I don't see why the source would cause problems. The binaries are built from source.

  6. #6
    Junior Member
    Join Date
    Aug 2015
    Posts
    10
    It looks like that was a workaround. It works for now, but it's not a solution. Why does downloading the source code plus the binaries result in non-usable OS, when just the binaries work fine?

  7. #7
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    449
    That was not a workaround. It is a solution. You were downloading and unpacking packages from an incorrect repository. Consider yourself safe as it didn't crash your kernel else it could have been gone worse. Kernel implicitly trust the sources of repositories.

  8. #8
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    449
    Quote Originally Posted by RFKiller View Post
    Why does downloading the source code plus the binaries result in non-usable OS, when just the binaries work fine?
    Downloading wrong packages for your OS would make it unusable.

  9. #9
    Junior Member
    Join Date
    Aug 2015
    Posts
    10
    But they aren't wrong packages. They are official Kali rolling source. And I have used Kali since its birth with both binary packages and their source. So why would it suddenly break? And why would it be listed in the sources.list file?

    P.S.: a kernel panic would have made no difference. I had to do a fresh installation every time I tried to upgrade anyways.

  10. #10
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    449
    Offensive security made the second source obsolete with the release of kali rolling 2016.2. You should read kali-linux documentation and keep yourself updated with new changes.

    The source you are calling official is not official at all and using that may crash your kernel. Kali rolling has only one official repository which is:

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

    Quote Originally Posted by RFKiller View Post
    why would it be listed in the sources.list file
    Your sources.list file is not controlled by offensive security. You can add and remove whatever link you want. In kali-linux documentation it is strictly written what repositories are being used for kali rolling. I can't find yours in it.
    Last edited by _defalt; 2017-04-11 at 03:31 PM.

Posting Permissions

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