0 کاربر و 1 مهمان درحال مشاهده موضوع.
sudo apt-get install vlc
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 rm /var/lib/dpkg/lock
اولین کاری که باید بکنید سرچ هستش قبلا سوال شما پرسیده شده و جواب داده شدهدستور زیر رو بزنید و بعد از اون برنامه مورد نظرتون رو نصب کنیدکد: [انتخاب]sudo rm /var/lib/dpkg/lockاگر هم جایی دارید برنامه نصب میکنید یا برنامهی که برای نصب هستن باز هستن ببندید
~$ sudo apt-get install vlcReading package lists... DoneBuilding dependency tree Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: vlc : Depends: vlc-nox (= 2.1.4-0ubuntu14.04.1) but it is not going to be installed Depends: libsdl-image1.2 (>= 1.2.10) but it is not installable Depends: libsdl1.2debian (>= 1.2.11) but it is not installable Depends: libtar0 but it is not installable Depends: libva-x11-1 (> 1.3.0~) but it is not installable Depends: libva1 (> 1.3.0~) but it is not installable Depends: libvlccore7 (>= 2.1.0) but it is not going to be installed Depends: libxcb-composite0 but it is not installable Depends: libxcb-keysyms1 (>= 0.3.9) but it is not installable Depends: libxcb-xv0 (>= 1.2) but it is not installable Recommends: vlc-plugin-notify (= 2.1.4-0ubuntu14.04.1) but it is not going to be installed Recommends: vlc-plugin-pulse (= 2.1.4-0ubuntu14.04.1) but it is not going to be installedE: Unable to correct problems, you have held broken packages.
sudo dpkg --configure -asudo apt-get update
دستور زیر رو بزنید بعدش دوباره وی ال سی رو نصب کنید ببیندی درست میشه یا نهکد: [انتخاب]sudo dpkg --configure -asudo apt-get update
sudo apt-get update
Ign http://extras.ubuntu.com trusty InRelease Hit http://extras.ubuntu.com trusty Release.gpg Hit http://extras.ubuntu.com trusty Release Hit http://extras.ubuntu.com trusty/main Sources Get:1 http://dl.google.com stable InRelease [1,540 B] 99% [1 InRelease gpgv 1,540 B] [Connecting to ir.archive.ubuntu.com] [ConnectinSplitting up /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stabIgn http://dl.google.com stable InRelease E: GPG error: http://dl.google.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)