Ubuntu 12.04 LTS(GNU / Linux 3.2.0-24-generic x86_64)にphp5-curlをインストールする方法

Ubuntu 12.04 LTS(GNU / Linux 3.2.0-24-generic x86_64)にphp5-curlをインストールする方法

ApacheやPHPを含むUbuntu 12.04 LTS(GNU / Linux 3.2.0-24-generic x86_64)を実行しているジョブサーバーがあります。それでは、次のように実行してPHPにカールサポートを追加したいと思います。

apt-get install php5-curl

簡単に聞こえますか?いいえ、次の応答を受け取ります。

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-image-generic : Depends: linux-image-3.2.0-26-generic but it is not going to be installed
 php5-curl : Depends: libcurl3 (>= 7.16.2-1) but it is not going to be installed
             Depends: php5-common (= 5.3.10-1ubuntu3.4) but 5.3.10-1ubuntu3.2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

php-curlが機能するには、新しいカーネル(3.2.0-26)にアップグレードする必要があるようです。むしろこのようなことをする必要はありません。

カーネルバージョン3.2.0-24にPHPカールをインストールする方法はありますか?

ありがとうございます。

ベストアンサー1

答えは次のとおりです。

もともと私はカーネルをアップグレードしたいと思いました。実際、パーティションのスペース不足によって引き起こされる依存関係に実際の問題があることがわかりました。いくつかの削除後、より多くのスペースを見つけて、新しいカーネルをインストールしました。今、すべてが大丈夫です。

おすすめ記事