簡體   English   中英

無法在Ubuntu上安裝sqlite

[英]Unable to install sqlite on ubuntu

我是Ubuntu的新手。 我正在使用版本5.4.39-1+deb.sury.org~lucid+2 php,PDO驅動程序僅是mysql 現在,我需要PDO Driver for SQLite 3.x安裝PDO Driver for SQLite 3.x 我已經安裝了3.6.22版的sqlite。 谷歌搜索后,我只運行以下命令:

sudo apt-get install php5-sqlite

但是出現以下錯誤:

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?

現在,它在殺死另一個apt-get進程后顯示以下問題:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  php5-sqlite: Depends: phpapi-20090626+lfs
               Depends: php5-common (= 5.3.2-1ubuntu4.30) but 5.4.39-1+deb.sury.org~lucid+2 is to be installed
E: Broken packages

可能是什么問題? 請幫助我為SQLite 3.x安裝PDO驅動程序。

提前致謝。

一般來說,這似乎是另一個運行apt-get進程。 您可以找到並殺死它,或者只是重新啟動計算機。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM