I want to install vscode through the software center and open Ubuntu Software on the left toolbar. The software inside is blank, and I searched for vscode but did not find it.
Through online search and my own meal operation, the problem was solved. What reason has not been analyzed. The record is as follows:
sudo apt update
sudo apt upgrade
sudo systemctl reboot
software-properties-gtk
The above software-properties-gtk command is seen by looking at the /usr/share/applications folder.
After the software-properties-gtk command opened Software & Updates, several items were changed, probably Canonical Partners, All updates, etc.
Then open Ubuntu Software, you can search for vscode.
reference: