Home » Questions » Computers [ Ask a new question ]

How do I revert to an alternate version of a package on Ubuntu?

How do I revert to an alternate version of a package on Ubuntu?

I upgraded to an alpha version of a package in a PPA and would now like to revert back to the official version in the Ubuntu universe. What steps do I need to take?

Asked by: Guest | Views: 353
Total answers/comments: 2
bert [Entry]

"Command-line:

sudo apt-get remove package_name
sudo gedit /etc/apt/sources.list -> comment out the ppa providing the new package
sudo apt-get update
sudo apt-get install package_name

GUI:

start Synaptic Package Manager
search for your package, click on it and select mark for removal
click apply
go to Settings > Repositories > Third Party Software and uncheck the PPA providing the new packge
Click Close, and then Reload
search for the package and reinstall it.

Optionally, you can re-enable the PPA after reverting to the Ubuntu default package"
bert [Entry]

"Use ppa-purge. It disables the PPA and reverts your system back to the official Ubuntu packages.

sudo ppa-purge ppa_name

And you're done !

Installation : sudo apt-get install ppa-purge (or apturl install)
If you're not using Ubuntu 10.10 you may need to install it from a ppa, webup8 for example :

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ppa-purge

The package is also included in the xorg-edgers repository and I successfully used it after testing the latest Xorg packages.

There is a blog post on Webupd8."