Closed kelebek333 closed 4 years ago
Linux Mint's apt uses /usr/bin/apt for package installs and removals. From /usr/bin/apt version 2.0, which is used on Linux Mint 20/Ubuntu 20.04 LTS, wildcards like nvidia-prime*
are not supported and instead it uses aptitude style patterns like ~n^nvidia-prime
for the same. This is a contentious change and upstream is reverting the removal of wildcards: https://lists.debian.org/deity/2020/03/msg00055.html
For your example the syntax would be: apt purge '~n^nvidia-prime'
. Meaning, purge all packages with name (~n) starting (^) with nvidia-prime. BTW you don't need to use sudo
with apt
.
Hi,
apt is not working with * symbol.
but apt-get is working.