Observed with Ubuntu 20.04 Beta.
apt remove 'mypackage*' does not remove all installed packages starting with “mypackage”. Instead:
$ sudo apt remove 'mypackage*' Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mypackage*
However:
$ sudo apt list --installed 'mypackage*' Listing... Done mypackage-data-v1/focal,focal,now 0.3.2-5build1 all [installed,automatic] mypackage1/focal,now 0.3.2-5build1 amd64 [installed]
Observed with Ubuntu 20.04 Beta.
apt remove 'mypackage*' does not remove all installed packages starting with “mypackage”. Instead:
$ sudo apt remove 'mypackage*'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mypackage*
However:
$ sudo apt list --installed 'mypackage*' data-v1/ focal,focal, now 0.3.2-5build1 all [installed, automatic] focal,now 0.3.2-5build1 amd64 [installed]
Listing... Done
mypackage-
mypackage1/