
我是 ubuntu/linux 系統的新手。我正在嘗試安裝 phpmyadmin,但出現以下錯誤。
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:
phpmyadmin : Depends: php5-mysql but it is not going to be installed or
php5-mysqli but it is not installable
Recommends: php5-gd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我嘗試過跑步apt-get install dist-upgrade
,sudo apt-get -f install
但沒有幫助..
我已經安裝了阿帕契2和php5和mysql
有哪位朋友可以幫忙解決這個問題嗎
先致謝
答案1
您是否在安裝 phpmyadmin 之前安裝了 PHP?確保您有某種 Web 伺服器軟體(例如 Apache2)並且正在執行 PHP前嘗試安裝 phpmyadmin。 phpmyadmin 不是獨立的軟體,而是依賴其他軟體的功能來執行其功能。最重要的是,請確保在 phpmyadmin 之前安裝了 MySQL。
由於您是網站寄存新手,也許您應該安裝一個包含所有這些內容的軟體包。查看http://vestacp.com一個包含您所需一切的精美套餐。安裝非常簡單,您可以立即開始託管。