I'm having trouble with my Nvidia 3050 laptop GPU on my Kubuntu system. There are two main issues: First, I get an error when trying to update all apps in the Discover manager, specifically, 'Error while installing package: installed linux-headers-6.14.0-34-generic package post-installation script subprocess returned error exit status 11.' It seems the update completes despite this error. Second, when I try to switch graphics drivers—either from the latest one to the nouveau driver or the other way around—I encounter a similar error, which causes the manager to close before it finishes. I'm not sure what happened since everything was working fine yesterday. Any suggestions?
2 Answers
Your Nvidia 3050 should work with the latest 580 series driver, but the errors you're seeing suggest there might be a different issue at play. It sounds like the driver packages could be corrupted or not downloading properly. Make sure you're obtaining the drivers directly from the official package manager in Kubuntu. Have you checked if there are any updates for your system that might fix the headers issue?
Always good to provide your distro, hardware info, and error messages when troubleshooting! It sounds like you've got the right idea, but I'd suggest checking if you're using the most stable version of the drivers from the Nvidia website instead of relying on what comes with the Discover manager. Sometimes using proprietary drivers directly can resolve these kinds of issues much quicker.
Thanks for the tip! I’ll check the Nvidia website for the driver, just in case. I appreciate the advice!

I had a similar issue once! It could also be a problem with how the kernel headers are installed. Try reinstalling the headers package with the command `sudo apt install --reinstall linux-headers-$(uname -r)` and then attempt to install the Nvidia drivers again.