I have updated and add repositories to sourcelist , but still doesn't work.

cyan@cyanonvo:~$ sudo apt install phpmyadmin
[sudo] password for cyan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package phpmyadmin is not available, but is referred to by another package. 
This may mean that the package is missing, it has been obsoleted, or   
is only available from another source.

Package 'phpmyadmin' has no installation candidate

Currently there's no phpmyadmin package in the Ubuntu 19.10 repositories. As you may know, Ubuntu is based on Debian. The person who used to build Debian packages of phpMyAdmin doesn't have the time for it anymore, so there are no current phpmyadmin packages for Debian. And without current packages for Debian, (at least in this case) there are no current packages for Ubuntu.

Some people are working on phpmyadmin packages for Debian, and once those are finished, they can be adapted for Ubuntu 19.10.

So you can either wait until the volunteers for Debian and Ubuntu have created and tested those packages, or install phpMyAdmin with some other method. It's basically a PHP app, so you can just put it into a folder on a server where PHP gets executed. Or you use Composer, or...

| improve this answer | |
  • 1
    Thank you for reply,I installed LTS which you don't face weird problems – Aria P74 Oct 31 '19 at 17:44
  • Looking forward to having phpmyadmin in the main repo for Ubuntu 19.10 – Saqib Ali Nov 6 '19 at 14:38
wget https://files.phpmyadmin.net/phpMyAdmin/4.9.1/phpMyAdmin-4.9.1-english.tar.gz
tar xvzf phpMyAdmin-4.9.1-english.tar.gz
sudo cp -avr ./phpMyAdmin-4.9.1-english/. /usr/share/phpmyadmin

I would use 18.04 and LTS Enablement for Mariadb and phpMyAdmin. It is 5 year support LTS

| improve this answer | |
  • 2
    Hi, welcome to AU. Although switching Ubuntu versions and installing phpmyadmin might temporarily solve OP's problems, this would be considered a workaround, not a fix to the problem – David Oct 29 '19 at 21:20
  • hanks,I installed LTS version , I think it is always better to use LTS – Aria P74 Oct 31 '19 at 17:42
  • You are welcome. I am not sure why switching versions to one that is support was a wrong answer. How does using a supported version not a fix? In 35 years, I found using the OS version that is supported by an application is the first rule of support. I have been told that OS is not supported with this version of software so many times. – SCSIraidGURU Nov 1 '19 at 18:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.