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?

link|improve this question

60% accept rate
feedback

2 Answers

up vote 2 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.

link|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
feedback

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"
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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