dpkg遇到安装有依赖,而依赖的包有无法安装的时候,可以试试强制安装:
sudo dpkg --force-depends -i teamviewer_11.0.90154_amd64.deb
虽然报错,但是安装后还是可以使用。
如果使用:
sudo dpkg -i teamviewer_11.0.90154_amd64.deb
提示下面错误信息并且无法安装通过:
dpkg: teamviewer: dependency problems, but configuring anyway as you requested:
teamviewer depends on lib32asound2; however:
Package lib32asound2 is not installed.
teamviewer depends on ia32-libs; however:
Package ia32-libs is not installed.
使用--force-depends后,虽然安装还是提示报错,但是还是会继续安装。