My Linux Distro: Ubuntu 22.04.1
This is referring to the following segment in gcm install.md debian package
Running the following commands to install:
sudo dpkg -i <path-to-package>
git-credential-manager configure
The above works as intended.
Running the following commands to uninstall:
git-credential-manager unconfigure
sudo dpkg -r gcmcore
The above results in error message:
dpkg: warning: ignoring request to remove gcmcore which isn't installed
Simple Workaround
Running the following command to check recent dpkg:
grep " install " /var/log/dpkg.log
Look for recently installed gcm package (example for my system):
2022-11-29 13:28:29 install gcm:amd64 <none> 2.0.877
Tried (successfully) to uninstall with new package name: