Hi, recently I changed my PPA to ppa:ondrej/php but the problem is whenever I try to install phpmyadmin I get error like "this PPA has been deprecated, in short I’m not able to install phpmyadmin, I want to know How can i get the list of default PPA of my ubuntu 14.04 droplet?
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!
Hi,
The default PHP and phpMyAdmin packages are in the ubuntu repos, which are enabled on your Droplet. When you installed that PPA, it was set as a higher priority than the default repos so that its packages are installed instead.
One option would be removing the PPA using ppa-purge which will gracefully downgrade the packages to those of the default repos. Keep in mind however that if you’re downgrading to a PHP version that is much older than what you currently have, your configs might not be compatible with it, and you might have to adjust them accordingly.
First, install ppa-purge:
sudo apt-get install ppa-purge
Then, remove the ppa:ondrej/php PPA:
sudo ppa-purge ppa:ondrej/php
If you only want to remove the PPA without affecting any installed packages, however, you can simply run the add-apt-repository command again but with the --remove flag:
sudo apt-add-repository --remove ppa:ondrej/php
Finally, as with any other change to the list of apt repositories on your system, run apt-get update so that apt’s repo cache matches the updated list.
sudo apt-get update
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.