The cocould not exec dpkg solution encountered the problem "cocould not exec dpkg!" when using apt-get install !", After multi-party search, finally solved, sorted as follows: www.2cto.com 1, mkdir/tmp/dpkg cd tmp/dpkg wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.15.5.6ubuntu4_i386.deb (32-bit system) or: www.2cto.com wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.15.5.6ubuntu4_amd64.deb (64 bit OS) ar x dpkg *. deb data.tar.gz tar xfvz data.tar.gz sudo cp. /usr/bin/dpkg/usr/bin/sudo apt-get install update sudo apt-get install- -Reinstall dpkg 2 and then it works! I don't know why dpkg disappear has solved many pitfalls. For example, a 32-bit dpkg system is installed during wget, and "tar xfvz data.tar.gz" is used for decompression. "/usr/bin/dpkg", and then found that a dpkg-dev is missing, and it has not been noticed for a long time. Www.2cto.com anyway, hope to be useful to you ~ Reference url: http://ubuntuforums.org/showthread.php? T = 1516119 https://answers.launchpad.net/ubuntu/+source/apt/+question/177908