Solve the problem that the Ubuntu 20 software center is blank and the software cannot be found

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:

https://blog.csdn.net/qq_26744901/article/details/78559412

https://blog.csdn.net/zhagzheguo/article/details/79511675?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control

Guess you like

Origin blog.csdn.net/eidolon_foot/article/details/112942564