Pre-requisite:
- Ubuntu 20.04 LTS (minimal installation) on a VirtualBox 6.1
I was trying to install VS Code through Snap:
$ snap install code --classic
error: cannot install "code": Post https://api.snapcraft.io/v2/snaps/refresh:
x509: certificate signed by unknown authority
Then I tried PyCharm CE also, same error:
$ snap install pycharm-community --classic
error: cannot install "pycharm-community": Post
https://api.snapcraft.io/v2/snaps/refresh: x509: certificate signed by
unknown authority
Taken from: askubuntu.com/questions/1029117
You can abort ongoing "Do" or "Doing" change(s):
Original answer by fnkr