環境
RedHat Linux 9 + VWWare 8.0 + SSH 3.2.9 + Putty 0.62 + MySQL 3.2 + MySQL 5.5
問題
Linux下安裝MySQL出現如下錯誤:
warning: MySQL-server-5.5.28-1.linux2.6.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 Preparing... ########################################### [100%] You have more than one PID file: ls: /var/lib/mysql/*.pid: 沒有那個文件或目錄 Please check which one (if any) corresponds to a running server and delete all others before repeating the MySQL upgrade. error: %pre(MySQL-server-5.5.28-1.linux2.6) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping MySQL-server- 5.5.28-1.linux2.6
解決
嘗試過加參數—nodeps、重啟Linux, 未果。待解決。還請各位賜教。