Announcement

Collapse
No announcement yet.

What is it with updates?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What is it with updates?

    I'm running along smoothly, see updates available and install them, then the next morning when I go to boot up I can't get in and have to do a complete install. My system freezes right after the Kubuntu logo and sits there with a cursor line flashing in the upper left corner of a black screen. No reboots cure this, nothing I seem to be able to do with grub tools fixes this, just re-install.
    The other thing I have noticed is that after an update is that Discover is unable to get a lock when trying to download software, apt install also does not work, but at least it tells you how to configure the breakage.
    I am pretty certain that the freeze is caused by a clash with Nvidia but is there a fix so that I am not re-installing every two days?
    Thank you kindly,
    System:
    MSI X299 Tomahawk
    Intel i7-7800X 6 core
    MSI GeForce RTX4070 12GB

    #2
    I will ask you a few questions to try to narrow down why you may be having this problem .

    1- I will assume you are doing your updates with Discover ,yes/no , I personally do not, and the "lock" problem I think you are describing is usually caused by the update's not completing properly and leaves you having to manually remove the "lock" file .
    2-whow did you install your Nvidia driver and what model is your nvidia hardware.

    I prefer to do my updates on the command line as ,as you have discovered you get more feedback and suggestions for a fix.

    I do
    Code:
    sudo apt-get update && sudo apt-get  dist-upgrade
    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Originally posted by vinnywright View Post
      I will ask you a few questions to try to narrow down why you may be having this problem .

      2-whow did you install your Nvidia driver and what model is your nvidia hardware.

      I prefer to do my updates on the command line as ,as you have discovered you get more feedback and suggestions for a fix.

      I do
      Code:
      sudo apt-get update && sudo apt-get  dist-upgrade
      VINNY
      I installed my Asus GeForce GTX1060 6GB with cli:
      Code:
      sudo ubuntu-drivers autoinstall
      I am wondering if it would be helpful to do a re-install of Nvidia after an update. It seems that things work well (during the re-install) when I install Nvidia after doing updates.
      Thank you kindly
      System:
      MSI X299 Tomahawk
      Intel i7-7800X 6 core
      MSI GeForce RTX4070 12GB

      Comment


        #4
        your Nvidia driver may need to be reinstalled especially after and kernel upgrade or Xord up grade.
        in order to get to the desktop you may have to add nomodeset to the boot line in grub.
        Last edited by kc1di; Sep 13, 2018, 11:38 AM. Reason: further info.
        Dave Kubuntu 20.04 Registered Linux User #462608

        Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

        Comment


          #5
          first lets see what you have installed for nvidia
          Code:
          sudo dpkg -l | grep nvidia
          then lets make sure dkms is installed
          Code:
          dpkg -l | grep dkms
          post these back and we will go from their

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Originally posted by kc1di View Post
            your Nvidia driver may need to be reinstalled especially after and kernel upgrade or Xord up grade.
            in order to get to the desktop you may have to add nomodeset to the boot line in grub.
            Figured as much about the drivers, thanks. I no longer have grub because I removed my Windows partition, never used it.
            One of the things I love about Linux is that I don't lose any info after a re-install as long as I don't format my home drive, even my app configuration is there when the apps are re-installed.
            System:
            MSI X299 Tomahawk
            Intel i7-7800X 6 core
            MSI GeForce RTX4070 12GB

            Comment


              #7
              Originally posted by kc1di View Post
              your Nvidia driver may need to be reinstalled especially after and kernel upgrade or Xord up grade.
              in order to get to the desktop you may have to add nomodeset to the boot line in grub.
              the dkms package is for rebuilding the kernel modules as needed

              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                Originally posted by Scorpa54 View Post
                Figured as much about the drivers, thanks. I no longer have grub because I removed my Windows partition, never used it.
                One of the things I love about Linux is that I don't lose any info after a re-install as long as I don't format my home drive, even my app configuration is there when the apps are re-installed.
                you still have "the grub bootloder installed" it just dose not show it's self if you only have the 1 install ,,,to see it at boot , as soon as you powere up the box keep taping the "shift" key

                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Originally posted by vinnywright View Post
                  first lets see what you have installed for nvidia
                  Code:
                  sudo dpkg -l | grep nvidia
                  Code:
                  drew@scorpa54:~$ sudo dpkg -l | grep nvidia
                  [sudo] password for drew: 
                  ii  libnvidia-cfg1-390:amd64                        390.48-0ubuntu3                             amd64        NVIDIA binary OpenGL/GLX configuration library
                  ii  libnvidia-common-390                            390.48-0ubuntu3                             all          Shared files used by the NVIDIA libraries
                  ii  libnvidia-compute-390:amd64                     390.48-0ubuntu3                             amd64        NVIDIA libcompute package
                  ii  libnvidia-compute-390:i386                      390.48-0ubuntu3                             i386         NVIDIA libcompute package
                  ii  libnvidia-decode-390:amd64                      390.48-0ubuntu3                             amd64        NVIDIA Video Decoding runtime libraries
                  ii  libnvidia-decode-390:i386                       390.48-0ubuntu3                             i386         NVIDIA Video Decoding runtime libraries
                  ii  libnvidia-encode-390:amd64                      390.48-0ubuntu3                             amd64        NVENC Video Encoding runtime library
                  ii  libnvidia-encode-390:i386                       390.48-0ubuntu3                             i386         NVENC Video Encoding runtime library
                  ii  libnvidia-fbc1-390:amd64                        390.48-0ubuntu3                             amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
                  ii  libnvidia-fbc1-390:i386                         390.48-0ubuntu3                             i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
                  ii  libnvidia-gl-390:amd64                          390.48-0ubuntu3                             amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
                  ii  libnvidia-gl-390:i386                           390.48-0ubuntu3                             i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
                  ii  libnvidia-ifr1-390:amd64                        390.48-0ubuntu3                             amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
                  ii  libnvidia-ifr1-390:i386                         390.48-0ubuntu3                             i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
                  ii  nvidia-compute-utils-390                        390.48-0ubuntu3                             amd64        NVIDIA compute utilities
                  ii  nvidia-dkms-390                                 390.48-0ubuntu3                             amd64        NVIDIA DKMS package
                  ii  nvidia-driver-390                               390.48-0ubuntu3                             amd64        NVIDIA driver metapackage
                  ii  nvidia-kernel-common-390                        390.48-0ubuntu3                             amd64        Shared files used with the kernel module
                  ii  nvidia-kernel-source-390                        390.48-0ubuntu3                             amd64        NVIDIA kernel source package
                  ii  nvidia-prime                                    0.8.8                                       all          Tools to enable NVIDIA's Prime
                  ii  nvidia-settings                                 390.42-0ubuntu1                             amd64        Tool for configuring the NVIDIA graphics driver
                  ii  nvidia-utils-390                                390.48-0ubuntu3                             amd64        NVIDIA driver support binaries
                  ii  xserver-xorg-video-nvidia-390                   390.48-0ubuntu3                             amd64        NVIDIA binary Xorg driver
                  drew@scorpa54:~$
                  then lets make sure dkms is installed
                  Code:
                  dpkg -l | grep dkms
                  post these back and we will go from their

                  VINNY
                  Code:
                  drew@scorpa54:~$ dpkg -l | grep dkms
                  ii  dkms                                            2.3-3ubuntu9.2                              all          Dynamic Kernel Module Support Framework
                  ii  nvidia-dkms-390                                 390.48-0ubuntu3                             amd64        NVIDIA DKMS package
                  drew@scorpa54:~$
                  System:
                  MSI X299 Tomahawk
                  Intel i7-7800X 6 core
                  MSI GeForce RTX4070 12GB

                  Comment


                    #10
                    OK .

                    lets check the state of the system as far as updates goes

                    post this one just the bottom 10 lines or so to see the suggestions

                    Code:
                    sudo apt-get update && sudo apt-get  dist-upgrade
                    you can select(type) n to not go through with it if you so wish

                    VINNY
                    i7 4core HT 8MB L3 2.9GHz
                    16GB RAM
                    Nvidia GTX 860M 4GB RAM 1152 cuda cores

                    Comment


                      #11
                      Originally posted by vinnywright View Post
                      OK .

                      lets check the state of the system as far as updates goes

                      post this one just the bottom 10 lines or so to see the suggestions

                      Code:
                      sudo apt-get update && sudo apt-get  dist-upgrade
                      you can select(type) n to not go through with it if you so wish

                      VINNY
                      I did 122 updates with this mornings install, yesterday there was 119, and all is running okay as Nvidia was the last thing to go in.

                      Code:
                      drew@scorpa54:~$ sudo apt-get update
                      [sudo] password for drew: 
                      Hit:1 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
                      Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
                      Get:3 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]       
                      Get:4 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
                      Fetched 247 kB in 1s (206 kB/s)    
                      Reading package lists... Done
                      drew@scorpa54:~$
                      Code:
                      drew@scorpa54:~$ sudo apt-get dist-upgrade
                      Reading package lists... Done
                      Building dependency tree       
                      Reading state information... Done
                      Calculating upgrade... Done
                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                      drew@scorpa54:~$
                      System:
                      MSI X299 Tomahawk
                      Intel i7-7800X 6 core
                      MSI GeForce RTX4070 12GB

                      Comment


                        #12
                        OK ,,see how that goes then .

                        if you want to try the newest driver 396 (witch is what the nvidiad website is recommending as of now) then add the PPA

                        Code:
                        sudo add-apt-repository ppa:graphics-drivers/ppa
                        sudo apt-get update
                        then

                        Code:
                        sudo apt install nvidia-396
                        VINNY
                        i7 4core HT 8MB L3 2.9GHz
                        16GB RAM
                        Nvidia GTX 860M 4GB RAM 1152 cuda cores

                        Comment


                          #13
                          Originally posted by vinnywright View Post
                          OK ,,see how that goes then .

                          if you want to try the newest driver 396 (witch is what the nvidiad website is recommending as of now) then add the PPA

                          Code:
                          sudo add-apt-repository ppa:graphics-drivers/ppa
                          sudo apt-get update
                          then

                          Code:
                          sudo apt install nvidia-396
                          VINNY
                          Thank you, much appreciated
                          Last edited by Scorpa54; Sep 14, 2018, 12:18 PM.
                          System:
                          MSI X299 Tomahawk
                          Intel i7-7800X 6 core
                          MSI GeForce RTX4070 12GB

                          Comment


                            #14
                            Well, so much for that theory. Reinstall this morning.
                            I did find that adding "Option Touch "off"" to the 70wacom.conf file locks me out on reboot and may have been the only reason for the reinstall this morning.
                            I am trying with Nvidia 396 drivers installed first and going through the arduous task of separately installing all updates to see which, if any, cause problems.
                            I will get back to you with the results in a few days (hopefully, only 89 more system updates to go)
                            System:
                            MSI X299 Tomahawk
                            Intel i7-7800X 6 core
                            MSI GeForce RTX4070 12GB

                            Comment


                              #15
                              Had a freeze this morning at the display manager, this was after installing xorg update. Was able to get in after a hard reboot.
                              I have noticed that any/all updates dealing with pango have mysteriously disappeared before I had gotten to them and they were security updates. Very strange.
                              System:
                              MSI X299 Tomahawk
                              Intel i7-7800X 6 core
                              MSI GeForce RTX4070 12GB

                              Comment

                              Working...
                              X