On Sun, 15 May 2016 19:43:02 +0200
Irrwahn <irrwahn@???> wrote:
> On Sun, 15 May 2016 13:20:47 -0400, Fsmithred wrote:
> > I have the following file (or equivalent) any time I have more than
> > one release enabled in sources.list:
> >
> > cat /etc/apt/apt.conf.d/00defaultrelease
> > APT::Default-Release "jessie";
> >
> > That way, only packages from jessie will be installed unless I use
> > the -t option to name a different release.
Be careful, this may interfere with your apt pinning. After having put
your suggested file into apt.conf.d, I added jessie-backports to my
sources.list and the following well-proven pin didn't take any effect:
Package: *
Pin: release a=jessie-backports
Pin-Priority: 200
Bug, or feature? Drove me nuts until I realized that I had added this
"default release" two hours earlier ;)
Florian