3

Good afternoon all. Iḿ having this problem in a debian OS

Setting up phpmyadmin (4:4.9.7+dfsg1-1) ... /var/lib/dpkg/info/phpmyadmin.config: 144: .: cannot open /usr/share/dbconfig-common/internal/mysql: No such file dpkg: error processing package phpmyadmin (--configure): installed phpmyadmin package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: phpmyadmin

  • Already tryied to force, and already reinstaled mysql and mysql is running, but phpmyadmin doens´t work.
  • sudo apt-get clean sudo apt-get update sudo dpkg -r mysql-client-5.7 sudo dpkg -r mysql-server-5.7 sudo dpkg -r libmysqlclient20:i386 sudo dpkg -r libmysqlclient20:amd64 sudo dpkg -r libmysqlclient18:amd64 sudo dpkg -r mysql-common sudo dpkg -r mysql

apt upgrade and aptitude --fix-missing and nothing worked

Thanks

1 Answers1

2

That file is provided by dbconfig-common, so while I have no idea why it's missing in the first place, you should be able to fix it with apt-get install --reinstall dbconfig-common.

Isaac Bennetch
  • 11,830
  • 2
  • 32
  • 43
  • use `sudo apt-get install --reinstall dbconfig-common` if get permission denied / root user error – Satish Nov 09 '21 at 13:21