如何在ubuntu 14.04 LTS 64位版本上安装flash插件

当我播放在线video时,它们经常被许多眨眼和其他干扰打断。 很多次我都看到了一个错误消息,即flash播放器崩溃了。 当我尝试在命令行上安装Flash插件时,显示此错误。 任何人都可以帮助我摆脱这场冲突吗?

$ sudo apt-get install flashplugin-installer [sudo] password for agha: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem 

这是一个完整的日志:

 Ign http://in.archive.ubunutu.com trusty-updates/restricted Translation-en_IN Ign http://in.archive.ubunutu.com trusty-updates/universe Translation-en_IN Ign http://in.archive.ubunutu.com trusty-backports/main Translation-en_IN Ign http://in.archive.ubunutu.com trusty-backports/multiverse Translation-en_IN Ign http://in.archive.ubunutu.com trusty-backports/restricted Translation-en_IN Ign http://in.archive.ubunutu.com trusty-backports/universe Translation-en_IN Fetched 964 kB in 42s (22.4 kB/s) E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? agha@agha-GA-78LMT-USB3:~$ sudo apt-get install wine1.7 winetricks E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? agha@agha-GA-78LMT-USB3:~$ sudo dpkg --configure -a dpkg: error: dpkg status database is locked by another process agha@agha-GA-78LMT-USB3:~$ sudo apt-get install -f E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 

运行sudo dpkg --configure -a ,它应该能够自行纠正。

要不然

sudo apt-get install -f (修复损坏的软件包),然后再次尝试运行sudo dpkg --configure -a

您将看到如何在链接后以Ubuntu格式安装Flash播放器
http://www.wikihow.com/Install-Flash-Player-on-Ubuntu

更新答案:

dpkg已锁定,请尝试以下解决方案并按照上述(链接)步骤安装Flash palyer。

无法锁定管理目录(/ var / lib / dpkg /)是另一个使用它的进程吗?

以下适用于我! 出现此错误时,我正尝试安装无线驱动程序。 不得不删除文件和锁定文件。

 sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock cd /var/lib/dpkg/updates sudo rm * sudo apt-get update 

然后你可以运行你的apt-get install到你想要安装的任何软件包