Recently I did a clean install of Ubuntu 14.04. Then I wanted to install latest vlc (2.2.1), and googled for it. Then I came across this ppa: ppa:mc3man/trusty-media and added it to my repositories by following command.
sudo add-apt-repository ppa:mc3man/trusty-media
Then I issued following commands:
sudo apt-get update
sudo apt-get install vlc
But there was an error regarding mesa packages and I again googled for a solution and found that adding ppa:xorg-edgers/ppa would solve the issue. So I used following commands:
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install vlc
Now vlc installed successfully. Then I upgraded my system:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
After that I removed above two ppas from the system
sudo add-apt-repository --remove ppa:mc3man/trusty-media
sudo add-apt-repository --remove ppa:xorg-edgers/ppa
Now when I can not install some softwares or upgrades. For example, if I do apt-get purge vlc && apt-get install vlc I get some dependency problem. Also I got some dependency problem when tried to install inkscape add ons through Software Center.
So how can I revert my Ubuntu system to packages provided by ubuntu repositories only?
Thanks in advance.
UPDATE 1
Purged the 2 ppas along with downgrading ppa provided packages. Still sudo apt-get install vlc gives Dependency error.
UPDATE 2
Executed:aptitude install vlc. There found that the problem was with vlc-data. So executed following commands to install vlc successfully.
apt-get purge vlc-data
apt-get install vlc