package:phpmyadmin:4:4.9.5+dfsg1-2ubuntu0.1~esm1 Removing phpmyadmin (4:4.9.5+dfsg1-2ubuntu0.1~esm1) ... Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. [?1049h[?1h=[?25l                                            Package configuration┌─────────────────────────────────────────────┤ Configuring phpmyadmin ├──────────────────────────────────────────────┐│ │ │ Since you are removing phpmyadmin, it's possible that you no longer want the underlying datab ase and the │ │ privileges for the user associated with this package. │ │ │ │ Please choose whether database removal and privilege revocation should be handled with dbconfig-common. │ │ │ │ If you choose this option, dbconfig-common will check if phpmyadmin provided scripts and database commands to undo │ │ package specific operations and run them if they exist. Then it will ask if you want to delete the phpmyadmin │ │ database a nd revoke the standard privileges for the user of phpmyadmin. If you don't want any of this, or if you │ │ want to handle this manually, you should refuse this option. │ │ │ │ Deconfigure database for phpmyadmin with dbconfig-common? │ │ │ │  │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  [?25h [?1l>[?1049l[?1049h[?1h=[?25l                                            Package configuration┌─────────────────────────────────────────────┤ Configuring phpmyadmin ├──────────────────────────────────────────────┐│ │ │ If you no longer need the database for phpmyadmin and the privileges of the database user of phpmyadmin, you can │ │ choose to delete the database and revoke the privileges now. │ │ │ │ If you no longer have need of the data being stored by phpmyadmin, you should choose this option. If you want to │ │ keep this data, or if you would rather handle this process manually, you should refuse this option. Either way, it │ │ won't affect your other databases. │ │ │ │ Delete the database for phpmyadmin? │ │ │ │  │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  [?25h [?1l>[?1049ldbconfig-common: dumping mysql database phpmyadmin to /var/tmp/phpmyadmin.phpmyadmin.2024-04-11-11.47.mysql.16maGw. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). unable to connect to mysql server. error encountered dumping database: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [?1049h[?1h=[?25l                                            Package configuration┌────────────────────────────────────────┤ Configuring phpmyadmin ├─────────────────────────────────────────┐│ An error occurred while removing the database: │ │ │ [ 30m│ ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) │ │ │ │ As a result it was not possible to remove the database for phpmyadmin. 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. │ │ * ignore - Continues the operation ignoring dbconfig-common errors. │ [1m │ This will usually leave the database and user privileges in place. │ │ │ │ Next step for database removal: │ │ │ │ abort  │ │ retry │ │ retry (skip questions) │ │ ignore │ │ │ │ │ │ │ │ │ └─────────────────────────────────────────────────────────────────────── ────────────────────────────────────┘  [?25h [?1l>[?1049ldbconfig-common: phpmyadmin remove: aborted. dbconfig-common: flushing administrative password dpkg: error processing package phpmyadmin (--remove): installed phpmyadmin package pre-removal script subprocess returned error exit status 1