When we create on a new empty server a phpmyadmin install we see this error, just after ‘configuring’ notice on top.
Hit:1 Index of /ubuntu/packages/ jammy InRelease Hit:2 Index of /ubuntu/packages/ jammy-updates InRelease Hit:3 Index of /ubuntu/packages/ jammy-backports InRelease Hit:4 Index of /ubuntu/security/ jammy-security InRelease Hit:5 Index of /ondrej/php/ubuntu jammy InRelease Hit:6 Index of /phpmyadmin/ppa/ubuntu jammy InRelease Reading package lists… Repository: ‘deb Index of /phpmyadmin/ppa/ubuntu jammy main’ Description: Packages for Ubuntu, maintained on phpMyAdmin Packaging · GitLab You can use this packages on production at your own risk, please wait until they are released through the official Ubuntu-channels for additional safety. That said packages are normally the same as in Ubuntu or Debian. → Find more information about this PPA on our wiki: DebianUbuntu · phpmyadmin/phpmyadmin Wiki · GitHub More info: PPA for phpMyAdmin : “phpMyAdmin” team Adding repository. Found existing deb entry in /etc/apt/sources.list.d/phpmyadmin-ubuntu-ppa-jammy.list Adding deb entry to /etc/apt/sources.list.d/phpmyadmin-ubuntu-ppa-jammy.list Found existing deb-src entry in /etc/apt/sources.list.d/phpmyadmin-ubuntu-ppa-jammy.list Adding disabled deb-src entry to /etc/apt/sources.list.d/phpmyadmin-ubuntu-ppa-jammy.list Adding key to /etc/apt/trusted.gpg.d/phpmyadmin-ubuntu-ppa.gpg with fingerprint 42636FF8DAE547240E01A1CA2EA3055293CB3F45 Reading package lists… Building dependency tree… Reading state information… Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php-slim-psr7 : Depends: php-psr-http-factory (>= 1.1) but 1.0.2-2+jammy1 is to be installed Depends: php-symfony-polyfill-php80 (>= 1.29) but 1.24.0-1ubuntu2 is to be installed E: Unable to correct problems, you have held broken packages. ERROR 1410 (42000) at line 1: You are not allowed to create a user with GRANT mkdir: cannot create directory ‘/usr/share/phpmyadmin’: Permission denied
fixing it manually right now but would like to share this