I found that using a gpg2 keyring would not work due to debootstrap using gpgv under the hood, which uses a gpg1 database version. I recreated by gpg database like so from the debian archive keyring server, note that gpg is gpg 1.x.x not gpg 2.x.x or newer at time of writing:
wget https://ftp-master.debian.org/keys/release-10.asc -qO- | gpg --import --no-...
I ran into the same issue (using chocolatey to do the uninstall) and ended up with this solution. (Don't forget to change the $version variable to match the version you want to remove)
$version = '2.2.6'
$softwareName = '.Net Core'
$searchString = "*$softwareName*$version*"
$msiExecPath = Join-Path -Path $env:SystemRoot -ChildPath 'system32' | Join-Path -...