Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recently unticked the "pre-released updates" option in Software Sources on my Ubuntu Lucid 10.04.1 installation. The Ubuntu wiki states the following regarding this source:

The proposed updates are updates which are waiting to be moved into the recommended updates queue after some testing. They may never reach recommended or they may be replaced with a more recent update.

Roughly 20 installed packages have indeed not made it into recommended updates, and occasionally cause conflicts when I install new software, as related packages of the newer version are unavailable now that I've disabled the source.

How can I force a downgrade of all packages for which an earlier version exists in a enabled repository?

share|improve this question

3 Answers 3

You can always do

sudo apt-get install <package1>=<version1> <package2>=<version2> ...

where version matches the latest in recommended updates.

share|improve this answer
    
Yes but how can I generate the required versions programmatically? –  Matt Joiner Sep 30 '10 at 9:46
1  
If its only 20 packages, you would've manually typed them by now. ´apt-cache policy <pkg>´ gets you available versions. –  Tuminoid Sep 30 '10 at 14:33

This question gives downgrade instructions: Downgrading linux

I don't think it's possible to do exactly what you want. All you can do is "downgrade" to the release that you are using, which undoes any packages that are ahead in the version.

share|improve this answer
up vote 2 down vote accepted

I wrote a tool to do this, available here.

share|improve this answer
    
Look directly to the issues. It describes the fix, so you can use it :) –  Jan Jun 24 at 7:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.