Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.