Unable to locate package phpmyadmin on Ubuntu Server 18.04
Matthew Harrington
Whenever I try to install phpmyadmin on my ubuntu server 18.04 I get the following errors
sudo apt install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package phpmyadmin
E: Unable to locate package php-mbstring
E: Unable to locate package php-gettextMost threads I ca find suggest reupdating and upgrading using apt, but doing so doesn't do anything, also I get that error on the fourth line
Err:5 bionic Release 404 Not Found [IP: 91.189.95.83 80]
Hit:6 bionic-updates InRelease
Hit:7 sarge Release
Reading package lists... Done
E: The repository ' bionic Release' does not have a Release file.Can someone help with this?
23 Answers
This worked for me:
sudo add-apt-repository universeThen:
sudo apt install phpmyadmin 2 Your ppa doesn't serve phpmyadmin for bionic version. You should remove ppa first:
sudo add-apt-repository --remove ppa:nijel/phpmyadmin
sudo apt updatethen run your command again
sudo apt install phpmyadmin php-mbstring php-gettext 5 I have precisely the same issue. Tried sudo apt install phpmyadmin (with and without php-gettext and php-mbstring which I installed separately as I am using php7.1) but always get E: Unable to locate package phpmyadmin
and for the add-add-repository
E: The repository ' bionic Relea se' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disa bled by default.
Also tried downloading the package from a mirror but got nowhere with that either.
Is the ppa broken and is there another solution or workaround or something I can do to help resolve this issue?
1