The Ubuntu installer lacks package dependencies

Installing some programs in Ubuntu will prompt you that a dependency package is missing,

A total of three kinds:
1) Install the prompted dependency packages first, and then execute the installed software again

sudo apt-get install xxx

2) Repair damaged missing packages, and then execute the installed software again

sudo apt-get -f install

3) Use gdebi to install

sudo gdebi xxx.deb