PHPパッケージを正しくインストールできない

PHPパッケージを正しくインストールできない

昨日、apt-get upgradeDebian / testingでいくつかのテストをしましたが、php5パッケージが壊れていました。私も使って、削除してapt削除してみましたdpkg clean apt cache。新規インストールを再実行すると、次のエラーメッセージで失敗します。

Setting up libapache2-mod-php5 (5.3.6-12) ...
readlink: invalid option -- 'm'
BusyBox v1.17.1 (Debian 1:1.17.1-10) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

Options:
        -f      Canonicalize by following all symlinks
        -n      Don't add newline
        -v      Verbose

ucf: Unable to determine The new file
dpkg: error processing libapache2-mod-php5 (--configure):
subprocess installed post-installation script returned error exit status 1

このDebianの問題を解決する方法についてのアイデアはありますか?

ベストアンサー1

/bin/readlink誤ってGNU coreutilsバージョンではなくbusyboxに変更しました。

これにより破損が発生する可能性があります。 GNU coreutilsを復元する必要があります。

努力する

# aptitude reinstall coreutils

おすすめ記事