Ubuntu 12.04, broken update manager, phpmyadmin, and many other things

view story

http://askubuntu.com – I'm using Ubuntu 12.04 with XFCE My story is a more than a week long, but from today I have lot of strange problems with system and apache2, mysql, phpmyadmin, update manager, and some other. I had apache2, mysql and phpmyadmin working without any troubles. Story begins from installing and configuring system for SSH. I changed some settings in hosts file and some permissions in /home/user and some other witch I don't remember now. As I discovered later my apache2, mysql and phpmyadmin didn't work at all. After lot of googling and trying many settings, reinstalling packages I solved problems (HowTos)