You may have experience install a broken package that you want to uninstall. If
you uninstall with command
dpkg -r file_name.deb
You will get an error:
root@7b63e2627d93:/var/lib/ghost/content# dpkg -r dpkg-git_latest.deb
dpkg: error: you must specify packages by their own names, not