I have:
~$ dpkg -l | grep -i nvidia
rc libnvidia-compute-396:i386 396.54-0ubuntu0~gpu18.04.1 i386 NVIDIA libcompute package
When I do:
~$ sudo apt-get remove --purge libnvidia-*
this package is not removed?
Other "libnvidia" package is removed with this command, this one for example:
rc libnvidia-compute-390:amd64 390.48-0ubuntu3 amd64 NVIDIA libcompute package
In the remove log it says:
Package 'libnvidia-compute-396' is not installed, so not removed. Did you mean 'libnvidia-compute-396:i386'?
And when I remove it with full name it gets removed.
apt
matches across the full package name - so if you wanted to remove all packages that hadnvidia
anywhere in the package name, that still works (because the regex-*
matches the empty string as well). So that particular mistake might be harmless, but still worth fixing. – Nov 17 '18 at 12:04