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?
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.
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
:Then, remove the
ppa:ondrej/php
PPA: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: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.