(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!

  • bigredgiraffe@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    If you are attempting to use regex match on the package name I am pretty sure you need to use .* not just * as . represents any character except newline and * is 0 or more matches of the previous character in a regex. so your expression was looking for libnvidi with 0 or more a character which I don’t think is what you wanted and that might be why it didn’t work as expected. Cheers!

    • FluidOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Thank you! The more you know. Much appreciated