Sponsored Links

How To Downgrade Proposed Repository Packages In Ubuntu

Enabling the proposed repository in Ubuntu is usually not a good idea because it’s a testing area for updates so things can break. If you’ve enabled the proposed repository and something broke, here’s how to revert the changes by downgrading the packages installed from the proposed repository.Revert package upgrades from the Ubuntu proposed repository1. Firstly, launch Software & Updates (or Software Sources, depending on the Ubuntu version you’re using) from System Settings and on the Updates tab, disable “Pre-released updates (proposed)”:2. Next, we’ll have to pin the packages from the Ubuntu repositories: for stable, updates, security and backports we’ll use a priority greater than 1000 which will cause the packages from these repositories to be installed even if this constitutes a downgrade and for the proposed repository, we’ll set a pin priority of less than 0 which prevents the packages from being installed.To do this, create a file called “99-downgrade-proposed” under /etc/apt/preferences.d/ – I’ll use Gedit below:gksu gedit /etc/apt/preferences.d/99-downgrade-proposedAnd in this file, paste the following:Package: *Pin: release a=saucyPin-Priority: 1001Package: *Pin: release a=saucy-updatesPin-Priority: 1001Package: *Pin: release a=saucy-securityPin-Priority: 1001Package: *Pin: release a=saucy-backportsPin-Priority: 1001Package: *Pin: release a=saucy-proposedPin-Priority: -1Replace “saucy” with your Ubuntu version in the file above. Then save the file.3. Now you

Read more …

Comments are closed.