When running apt upgrade
I get this upgrade related to phpmyadmin:
dpkg-maintscript-helper: error: file '/usr/share/phpmyadmin/js/vendor/codemirror/addon/hint' not owned by package 'phpmyadmin:all'
dpkg-maintscript-helper: error: file '/usr/share/phpmyadmin/js/vendor/codemirror/addon/hint/sql-hint.js' not owned by package 'phpmyadmin:all'
dpkg-maintscript-helper: error: file '/usr/share/phpmyadmin/js/vendor/codemirror/addon/hint/show-hint.js' not owned by package 'phpmyadmin:all'
dpkg-maintscript-helper: error: file '/usr/share/phpmyadmin/js/vendor/codemirror/addon/hint/show-hint.css' not owned by package 'phpmyadmin:all'
dpkg-maintscript-helper: error: directory '/usr/share/phpmyadmin/js/vendor/codemirror/addon/hint' contains files not owned by package phpmyadmin:all, cannot switch to symlink
dpkg: Fehler beim Bearbeiten des Archivs /tmp/apt-dpkg-install-LiE4n0/28-phpmyadmin_4%3a5.0.4+dfsg2-2_all.deb (--unpack):
»neues phpmyadmin-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 1 zurück
Looks like to me that an old version of phpmyadmin is registered somewhere. How can I get rid of this?
Running a Debian Bullseye server with PHP 7.4.28.
Same here for Ubuntu 20.04.6 LTS and PHP 7.4.33
Got the upgrade working by doing the following:
and
Specify whether you want to connect to an existing SQL instance by specifying the password for the DB user, or whether you want to create a new instance.