Feed on

if you find yourself happy with the stability of debian stable but occassionally want to use testing packages, you can use the following trick:

$ sudo emacs /etc/apt/apt.conf

add in the line:

APT::Default-Release “stable”;

and then add the following to your /etc/apt/sources.list file:

deb http://debian.lcs.mit.edu/debian/ testing main
deb-src http://debian.lcs.mit.edu/debian/ testing main

now, run

$ sudo apt-get update

and finally, you can:

$ sudo apt-get -t testing install testing_package

[thanks to pierre at the spry forums for helping me figure this out!]

Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “install testing packages on debian stable machine using apt-get”

  1. on 19 Mar 2021 at 4:48 pm bestseo

    Valuable information. Lucky me I found your website accidentally,
    and I am stunned why this accident did not came about
    in advance! I bookmarked it.

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.