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 am using Linux Mint Debian Edition and am using the unstable for all my packages. I do have some that I installed from experimental like gnome3. How do I upgrade all and only all that have been installed from experimental to their new versions in experimental?

share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted
apt-get install apt-show-versions
apt-show-versions -i
apt-get install `apt-show-versions -u -b | fgrep experimental`

See the man page for apt-show-versions. There is an example with proper syntax using backticks.

share|improve this answer
1  
Could you edit your answer to tell us a bit about what this code actually does and how it works? Thanks. –  nhinkle Apr 29 '11 at 5:10
add comment

I'm not sure if this is correct so its best to test this with --simulate first.

aptitude upgrade "?upgradable ?archive(experimental)"

Or the shorthand version.

aptitude upgrade "~U ~Aexperimental"
share|improve this answer
add comment

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.