dpkg dependency problems

Under debian-based linux distributions, if using dpkg -i xxx.deb, there may be dependencies

Solutions are as follows:

# 1、更新源
sudo apt-get update

# 2、fix解决依赖关系
sudo apt-get -f install

# 3、再次安装xxx.deb
sudo dpkg -i xxx.deb

Guess you like

Origin www.cnblogs.com/guangnianxd/p/10964258.html