Installation of wine under Ubuntu may cause the problem of suspended animation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.