Question

E: Unable to locate package php-mbstring

I followed your tutorial at: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04

Ran this: apt-get install phpmyadmin php-mbstring php-gettext

Got this error: E: Unable to locate package php-mbstring

Possible to take a look?

Regards,

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

same problem here but I am also getting warnings when doing apt-get update which I assume is the cause of the error

W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-amd64/Packages 403 Forbidden

W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-i386/Packages 403 Forbidden

Hello, i was with the same problem here… This page can help: https://help.ubuntu.com/lts/serverguide/configuration.html

Regards, Jorge Henrique

I have the same problem and aint fixing by sudo apt-get install php7.0-mbstring