There is a problem
In the use of Ubuntu using Apt-get install wine, resulting in the download in suspended animation, whether the dpkg command to kill, or in accordance with the prompts sudo apt-get--configure-a, has been in suspended animation, leading to no solution, Eventually, you will not be able to use the system's own update operations.
Problem scenarios
Ubuntu 12.04 32-bit
Solution
Enter Terminal: Ctrl+alt+t
Kill the dpkg process.
Command: PS-AF | grep dpkg, listing all the dpkg PID
Command: Kill process PID, killing all the dpkg.
Remove dpkg Lock
sudo rm-rf/var/cache/apt/archives/lock
sudo rm-rf/var/lib/dpkg/lock
Delete an existing installation package
sudo dpkg-r wine
sudo apt-get--purge Remove wine
To Adobe's official download of the latest wine package, http://mirrors.ibiblio.org/wine/source/, the latest version of the current blog post is 1.6
Preparatory work
sudo apt-get install Flex bison
sudo apt-get install build-essential
sudo tar jxvf wine.xxx.tar.bz2
Enter the wine directory, sudo./configure--without-x--without-freetype
sudo make #这个时间会很长, wait patiently
sudo make install #这个时间会很长, waiting patiently
After the installation is complete, you are ready to use wine.
The download address of wine and wine QQ is provided in the appendix.
Attachment download
Wine http://mirrors.ibiblio.org/wine/source/
WINEQQ Http://www.longene.org/download/WineQQ2012-20121221-Longene.deb
This article from "Bo Far to Quiet" blog, please be sure to retain this source http://sunspot.blog.51cto.com/372554/1255766