من به کمک اینترنت و منابع خارجی تونتم apach,mysql,phpmyadmin رو از ابتدا حذف کنم.
بعد امدم ابتدا apache و بعد mysql رو نصب کردم. و در آخر امدم phpmyadmin رو نصب کنم که خطای زیر رو داد در انتها:
An error occurred while installing the database:
│
│ ERROR 2002 (HY000): Can't connect to local MySQL server through socket
│ '/var/run/mysqld/mysqld.sock' (2) . Your options are:
│ * abort - Causes the operation to fail; you will need to downgrade,
│ reinstall, reconfigure this package, or otherwise manually intervene
│ to continue using it. This will usually also impact your ability to
│ install other packages until the installation failure is resolved.
│ * retry - Prompts once more with all the configuration questions
│ (including ones you may have missed due to the debconf priority
│ setting) and makes another attempt at performing the operation.
│ * retry (skip questions) - Immediately attempts the operation again,
│ skipping all questions. This is normally useful only if you have
│ solved the underlying problem since the time the error occurred.