phpmyadmin not working after mysql update
Of the three, I prefer repair!

Looks like your phpMyAdmin was installed by the package manager, so the first thing to try is reconfiguring it. sudo dpkg-reconfigure phpmyadmin should accomplish that. Hopefully that will fix the error message you got that "phpmyadmin is broken or not fully installed" -- or if not, at least provide you with a more helpful message.

You may have other broken packages or missing dependencies, which you can try to fix with sudo aptitude -f. That will attempt to fix any broken packages.

I'm not really sure about your terminal error message. It appears that the /bin/ directory (which contains many of your system commands like ls, kill, mkdir, and many more), isn't in the list of directories used when looking for a command (the "path"). I'm hopeful that the aptitude -f will fix this too, because otherwise something really strange (and unrelated) happened to your bash configuration file.

Note that, while these are reasonably safe commands, I'm not responsible if your system explodes.