Masalah ini benar-benar aneh, saya telah mencoba banyak cara untuk menyelesaikan tetapi tidak ada yang berhasil. Output terakhir saya adalah:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pl_PL.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up mysql-server-5.5 (5.5.38-0ubuntu0.14.04.1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found
ATTENTION: An error has occured. More info is in the syslog!
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 236: logger: command not found
dpkg: error processing package mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Saya benar-benar tidak tahu bagaimana cara memperbaikinya, tolong bantu saya :)
Jawaban:
Punya masalah yang sama dengan mysql-server-5.6 dan solusi ini membantu saya:
launchpad: Bug # 392051: Perintah logger [Karmic] tidak ditemukan
Pada dasarnya, program ini
logger
menjadi kacau;Itu dapat diciptakan kembali dengan menginstal ulang paket
bsdutils
:apt-get --reinstall install bsdutils
atau
aptitude reinstall bsdutils
sumber
"Lokal" Anda belum dibuat, atau belum benar.
Coba ini:
Kemudian coba lagi untuk menginstal MySQL.
sumber
Ini adalah jawaban asli yang disebutkan dari blok ini:
https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/
Perbarui Lokal:
Jalankan perintah ini di bawah ini
Di server Anda dan itu akan menggantikan semua
archive.ubuntu.com
dan dengansecurity.ubuntu.com
repositori URL paketold-releases.ubuntu.com
sumber