Ubuntu learning notes [2] solution to flash plug-in installation failure in Ubuntu12.04 Software Center

Source: Internet
Author: User

Ubuntu learning notes [2] solution to flash plug-in installation failure in Ubuntu12.04 Software Center

Difficult to solve: Because WebQQ in ubuntu cannot transmit files, you can use QQ to install wine (Windows applications can be run on Linux, BSD, Solaris, and Mac OS X, when wine -- version is used on the terminal, it is found that the system has not installed wine. Fortunately, the source is updated before. The terminal automatically reminds me to install wine1.4 and then uses the apt-get install command to install it, however, some of them become stuck:

Setting update-notifier-common (0.119ubuntu8.1 )...
Flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.233.orig.tar.g

Run this command on the terminal: sudo dpkg-r flashplugin-installer
Dpkg: error: dpkg status database is locked by another process
Continue terminal input: sudo rm-rf/var/lib/dpkg/lock
Sudo dpkg-r flashplugin-installer
(Reading the database... the system currently has 147128 files and directories installed .)
Uninstalling flashplugin-installer...

......

Sudo apt-get remove -- purge flashplugin-installer # Delete configuration options

Continue terminal input: ps-af | grep dpkg
Root 2044 2039 0 00:00:00 pts/3/bin/sh/var/lib/dpkg/info/update-notifier-common.postinst configure 0.119ubuntu8.1
Myd 2848 2687 0 00:00:00 pts/4 grep -- color = auto dpkg
Sudo kill-9 2044 # Here 2044 is the ID of the dpkg process on my Ubuntu system at that time

Then:

Cd/home/wanglin/desktops/adobe-flashplugin-11.2.202.411/i386
Sudo cp libflashplayer. so/usr/lib/mozilla/plugins

Sudo cp-r usr/*/usr

In this way, I have successfully installed the flash plug-in.
In addition, the answer to the question about why the apt-get command is locked by dpkg is: http://zhidao.baidu.com/question/334540792.html

Reference 1:

"The reason for this problem is that you are using dpkg to install something. Apt-get or aptitude is only the front end of dpkg"

Reference 2:

To use tar.gz for flash, use sudo cp libflashplayer. the so/usr/lib/mozilla/plugins command does not solve sudo dpkg -- configure-, sudo dpkg-r flashplugin-installer !!!" Adobe's explanation of the Installation Method of the tar.gz package

References: http://hi.baidu.com/cangshulou/item/2b688dce7b86fd24a1b50a5a

Http://zhidao.baidu.com/question/334540792.html

PS: due to the limited level of the author, if there is anything wrong with it, I hope the readers will not be enlightened!

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.