• henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    37
    ·
    9 months ago

    Are you running a proprietary video driver? It might be worthwhile to disable it in case it became incompatible perhaps after a kernel upgrade.

    Did you perform a graphical login prior?

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        14
        ·
        9 months ago

        First, you might try booting an older kernel to see if that runs for you. Your bootloader such as grub might help you pick an old one.

        The older kernels are actually combinations of kernel + initial ramdisk that contains the version of your graphics drivers that were being used at that time. It could be a way to test the hypothesis.

          • henfredemars@infosec.pub
            link
            fedilink
            English
            arrow-up
            11
            ·
            9 months ago

            Hmm, interesting. That tells us that it’s not actually a problem with your graphics driver or kernel version, and given that it was working on this version before, I would think some aspect of Xorg configuration, your graphics hardware has an issue, or your installation in general has been corrupted when it tried to upgrade.

            You might try to detect corruption by using a tool like debsums to check for any obviously corrupted files.

            What’s the state of your debian packages I wonder… does something like apt-get update or apt-get check highlight any problems with the state of installed packages that could point to a failed upgrade?

            • mariah@feddit.rocksOP
              link
              fedilink
              arrow-up
              6
              ·
              9 months ago

              I think its because / is full. Some packages cant update. Is there a way to combine them without gui as i am disabled and cant use a mouse? I know u cant edit partitions booted

              • Successful_Try543@feddit.de
                link
                fedilink
                arrow-up
                14
                ·
                edit-2
                9 months ago

                If you can boot into terminal session, e.g. by pressing Ctrl + Alt + F2, you can try:

                sudo apt clean
                sudo apt -f install
                sudo apt clean
                sudo apt dist-upgrade
                sudo apt clean
                

                If sudo apt -f install doesn’t work properly, you can create an apt-cache folder on, e.g. your home partition, assuming this is the one with sufficient amounts of free storage.

                sudo apt clean
                sudo mkdir /home/apt-cache
                sudo nano /etc/fstab
                

                In the fstab you specify where this directory shall be mounted:

                /home/apt-cache    /var/cache/apt/archives    none    bind    0    0
                

                Now you copy the files in place and mount the partition:

                sudo cp -r /var/cache/apt/archives/* /home/apt-cache
                sudo mount -a
                

                Nou you should be able to run the fix-installation and update commands without the errors:

                sudo apt -f install
                sudo apt dist-upgrade
                
              • henfredemars@infosec.pub
                link
                fedilink
                English
                arrow-up
                5
                ·
                9 months ago

                This may seem like an obvious question, but are there files you can remove or perhaps move to another drive or USB stick temporarily to make enough space to get through your updates? You should be able to do those while rootfs is full.

                We can certainly delete or copy files using the terminal.

                Are you sure the root is full and not readonly due to other errors? Why do you believe root is full?

    • cevn@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      9 months ago

      Every time I have seen a funky black screen with text against my will Nvidia was involved.

  • Naz@sh.itjust.works
    link
    fedilink
    arrow-up
    23
    ·
    9 months ago

    It’s good to see that the same problems from Knoppix in 1998 still persist into 2024.

    It’s become my standard procedure to do a full backup before a major version upgrade of Linux nowadays as a result

    Xserver has failed to start.

  • thevoidzero@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    9 months ago

    Did you solve it? Recently there was a problem with graphics thing and downgrading mess from 1.24 to 1.23 helped me. It was in arch with AMD graphics, but some people said Nvidia ones also had the problem.

    Edit: mesa not mess

  • PrettyFlyForAFatGuy@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    9 months ago

    if your updates included a new kernel try installing the kernel headers for the new kernel.

    then if it’s still not working reinstall the nvidia driver.

    i used to daily drive debian with proprietary nvidia drivers and it would break with every kernel upgrade

    from memory, so almost certainly incorrect, the fix was simply something like

    
    sudo apt install linux-headers-`uname -r` && sudo reboot
    
  • BabyVi@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    9 months ago

    I would be looking for ways to revert that update. Either using a pre-existing timeshift shapshot or maybe apt’s built in reversion capability. (Which I’m not familiar with, sorry.) Hopefully someone with real skills will chime in, good luck.

    • BradleyUffner@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      9 months ago

      Yeah. Why would anyone expect one of the most popular video cards in the world to work in Linux. Those idiots.

      Just to be clear. I understand why a proprietary card may not work. It isn’t Linux’s responsibility to make it work. However, what isn’t acceptable is for the automated update system of an OS to break a working system. Proprietary driver or not. The update system should have thrown up some very strong warnings that proceeding would break the system.

      • redcalcium@lemmy.institute
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        This would implies the package management system to know the inner working of nvidia drivers so it can warn users when updates would break it. How one’s implement it?

        • BradleyUffner@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          9 months ago

          The distro should be testing the driver within their update system before including it in their repo. The package should include metadata about system settings that could potentially break the system.

          • redcalcium@lemmy.institute
            link
            fedilink
            arrow-up
            2
            ·
            9 months ago

            Distro makers have test machines to test their packages before pushing them out, but they can only cover popular and common hardware. Expecting them to test it on all graphic card permutations is too much considering most distros are released for free and maintained by volunteers, especially since nvidia cards aren’t cheap anymore.

        • BradleyUffner@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          9 months ago

          As long as you keep relying on this cliche excuse, Linux is never going to be treated as a serious desktop operating system.

          Distros are trying to create usable, friendly systems. They failed at that if their distros are this fragile. That’s what “unacceptable” means in this context. You can’t just throw your middle finger up in the air at the user when their system fails by saying “you didn’t pay for it” and scurry off giggling. Yet Linux advocates keep pushing Linux on inexperienced users, saying that it’s the solution to everything; that it’s so easy their grandma uses it.

          I don’t use Linux as anything more than a toy for this very reason. I’ll start taking it seriously when its advocates do.