(Linux Mint) Switched to an AMD graphics card recently and ran “sudo apt remove --purge” on all ^nvidia* and ^libnvidia* packages. Unfortunately, one package (libnvidia-compute-470) seems to not get the message and won’t remove itself. Quick search around the internet on solutions have not resolved the issue yet. Wondering if anyone had any ideas how to manually remove this package? Cheers!

You are viewing a single thread.
View all comments
4 points

Get a list of packages that depend on it, as explained in https://unix.stackexchange.com/questions/149805/how-to-find-the-packages-that-depend-on-a-certain-package-in-apt

You may have to remove all the dependants along with NVIDIA package, or maybe remove the dependants before removing the NVIDIA package.

permalink
report
reply
3 points

Thanks. Checking dependencies, a few were listed, but none were installed. I managed to get it to purge finally by using it’s full package name “libnvidia-compute-470:ix86”. Strange why it wouldn’t remove using the ^libnvidia* command though, as it contains those words. Thank you.

permalink
report
parent
reply
1 point

I think its because just specifying libnividia-compute-470 indicates the 64 bit version, but the package that’s installed is the 32-bit version. That’s why specifying the full package name with the architecture suffix works.

permalink
report
parent
reply

Linux

!linux@lemmy.world

Create post

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you’re a seasoned Linux enthusiast or just starting your journey, we’re excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let’s dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

Community stats

  • 1.5K

    Monthly active users

  • 553

    Posts

  • 4K

    Comments

Community moderators