Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Using aptitude is supposed to be the easiest thing in the world. but I've been messing it up somehow. I've recently added backports and non-free to sources.list to try to get my audio working, but as I've been playing around with the sources file, aptitude update only seems to give an update count when it encounters an error, and then upgrade does nothing. I'm pretty sure nothing's wrong with my sources file, but here it is anyway:

deb squeeze main contrib non-free
deb-src squeeze main contrib non-free
deb squeeze/updates main contrib non-free
deb-src squeeze/updates main contrib non-free
deb squeeze-updates main contrib non-free
deb-src squeeze-updates main contrib non-free
deb squeeze-backports main contrib non-free

Is it possible that you can't just update everything from backports?? I'm running Debian 6.

share|improve this question

AFAIR, by default backports packages have lesser priority (for a reason). If you don't want to configure package pinning, the following should work:

sudo apt-get -t squeeze-backports [dist-]upgrade


sudo aptitude -t squeeze-backports [dist-]upgrade

However, i'd rather suggest to install only needed packages from backports, i.e.

sudo apt-get -t squeeze-backports install packagename


sudo aptitutde -t squeeze-backports install packagename
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .