phpmyadmin不工作后,MySQL更新

我遵循本指南来更新我的MySQL表单5.1到5.5。 大量的命令和头痛之后,我能够升级MySQL。 我通过terminal检查了版本。

但现在还有另一个问题。 phpmyadmin不工作。 它说

Forbidden You don't have permission to access /phpmyadmin/ on this server. Apache/2.2.14 (Ubuntu) Server at localhost Port 80 

我searcheverywher,并尝试各种解决scheme,如包括Include /etc/phpmyadmin/apache.confapache2.conf文件和restared apache(它开始显示404错误)。 但它仍然无法正常工作。

我记得terminal显示phpmyadmin is broken or not fully installed ,而我正在尝试各种解决scheme。

现在当我打开terminal(Ctrl + Alt + T),它显示各种错误:

 Command 'uname' is available in '/bin/uname' The command could not be located because '/bin' is not included in the PATH environment variable. uname: command not found bash: [: !=: unary operator expected bash: [: too many arguments bash: [: too many arguments bash: [: too many arguments bash: [: =: unary operator expected bash: [: too many arguments bash: [: too many arguments bash: [: =: unary operator expected bash: [: =: unary operator expected bash: [: =: unary operator expected bash: [: =: unary operator expected bash: [: =: unary operator expected Command 'sed' is available in '/bin/sed' The command could not be located because '/bin' is not included in the PATH environment variable. sed: command not found bash: [: too many arguments bash: [: =: unary operator expected bash: [: too many arguments bash: [: too many arguments bash: [: =: unary operator expected bash: [: =: unary operator expected bash: [: =: unary operator expected bash: [: =: unary operator expected ubc-7@ubc-7-desktop:~$ 

我现在应该怎么做? 修复,重新安装,格式?