4

okay so i was upgrading all of my packages on my Kali Linux (persistence) with apt-get upgrade but it got interrupted by me trying to copy something and me impulsively doing ctrl c. Now, it seems that no apps want to open and i can't open the terminal to do anything. i was gonna ssh but i turned off WiFi afterwards. how do i finish updating apt without a shell and how do i get my apps working?

- sidenote, Firefox seems to work so maybe it's only system or gnome applications like settings and terminal?

Comments
  • 2
    Good luck.
  • 2
    update: i've managed to get into a tty and use dpkg to reconfigure the broken packages. it should be fine after a reboot?
  • 0
    @Jabster28 chmod into it?
  • 1
    Either do a chroot or just fix broken packets using apt install -f and dpkg.
  • 1
    📌
  • 0
    dpkg --configure --pending

    init 1

    init 5

    init 1 is rescue system without network.

    it's most minimal, but this way you can reload all components without rebooting.

    If it fails you have at least a minimal shell.

    CTRL ALT F1..F6 should switch to console.

    Look at magic sysrq keys if all fails.

    https://en.m.wikipedia.org/wiki/...

    In a nutshell - if it's broken, never reboot unless you have a working USB bootstick ready.
Add Comment