Environment: Ubuntu 14.04 STL, 64-bit
In Ubuntu, when we install software using sudo apt-get install or dpkg-i *.deb, we often prompt for "unsatisfied dependencies" because the version of the repository that is dependent on the current software source does not meet the requirements of the software.
Workaround:
Step 1: Update the software source. Ubuntu comes with the old software source, a lot of software version is low, the domestic more useful source has Ali;
sudo cp/etc/apt/sources.list/etc/apt/sources.list.bak #备份
sudo vim/etc/apt/sources.list #修改源列表, copy Alibaba Cloud Source to sources.list file
sudo apt-get update #更新本地源列表;
Alibaba Cloud Source:
Deb Http://mirrors.aliyun.com/ubuntu/trusty main restricted universe multiverse Deb http://mirrors.aliyun.com/ Ubuntu/trusty-security main restricted Universe Multiverse Deb Http://mirrors.aliyun.com/ubuntu/trusty-updates main Restricted Universe Multiverse Deb http://mirrors.aliyun.com/ubuntu/trusty-proposed main restricted universe Multiverse Deb Http://mirrors.aliyun.com/ubuntu/trusty-backports main restricted Universe Multiverse DEB-SRC/http Mirrors.aliyun.com/ubuntu/trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ Trusty-security main restricted universe Multiverse deb-src Http://mirrors.aliyun.com/ubuntu/trusty-updates main Restricted Universe Multiverse deb-src http://mirrors.aliyun.com/ubuntu/trusty-proposed main restricted universe Multiverse
DEB-SRC http://mirrors.aliyun.com/ubuntu/trusty-backports main restricted universe Multiverse step 2:sudo apt-get Install The software name. There will be a hint of "unsatisfied dependencies";
Step 3:sudo apt-get-f Install. This command downloads the correct version of the dependent library for the current unsatisfied dependency;
Step 4:sudo apt-get Install software name. This step will install the software correctly, OK.