2

Are there alternate repositories for debian than:

deb http://http.us.debian.org/debian stable main contrib non-free

Because stuff placed in there is really old. What can I do? Can I use arch's AUR somehow?

3
  • 5
    The stable/testing/unstable/experimental paradigm is very central for the Debian project, and I would recommend that you at least get some understanding for the concept when using the operating system. See Debian's homepage or whatever resource suits you for more info. Apr 3, 2012 at 18:21
  • Why the negative votes on the question? People, vote for the quality of the question, don't judge his understanding of Debian.
    – Gnoupi
    Apr 16, 2012 at 16:09
  • 1
    People often downvote questions that are easily found in a FAQ or a basic Google search. I agree that a downvoted question should usually be accompanied by a comment that helps someone ask better questions in the future, but the system doesn't actually force anyone to do that.
    – CodeGnome
    Apr 16, 2012 at 16:31

3 Answers 3

6

AFAIK you cannot use arch's AUR on debian but you can switch to testing.

You should substitute the word "stable" with testing in order to use these more updated repositories.

Change your /etc/apt/source.list file replacing "stable" with "testing". For the provided line it would be like this:

deb http://http.us.debian.org/debian testing main contrib non-free

Now you have to update your local repository database:

sudo aptitude update

Then do a safe upgrade:

sudo aptitude safe-upgrade

And finally, perform a full upgrade:

sudo aptitude full-upgrade

When finished, restart and you should be running testing.

From my point of view, testing is a nice balance between stability and recent packages. If you want to go for the latest packages you can use "unstable" instead, but I wouldn't recomend that.

2
  • I think you forgot the repository-update (sudo aptitude update) after changing the line, without which it wouldn't pick up any changes.
    – Darael
    Apr 3, 2012 at 20:07
  • Pretty bad idea to use unstable unless he's a dev himself, because the breakage rate is quite big there, and it's the place where one should carefully pick his updates (as they may break other stuff). Testing is a good bet instead, and can be even more stable than Arch, speaking of AUR. Apr 10, 2012 at 16:50
3

This issue is clearly addressed in the Debian FAQ - Chapter 3 - Choosing a Debian distribution and not only explains why you should choose a particular Debian distribution, but how to upgrade it if you want newer packages.

You should also read up on apt-pinning and the APT::Default-Release setting in /etc/apt/preferences for additional options on how to run a mixed-release system. There are also special repositories like Debian Backports and squeeze-updates (formerly volatile) that may offer updated packages for your current distribution without requiring a switch away from stable--that's usually a better choice for production systems anyway.

0

There are the unstable and testing repositories, which has more recent packages; however they might break stuff.

As for AUR, you can't use it on Debian.

You must log in to answer this question.

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