Re: prevent apt from downgrading packages
- Date: Fri, 01 Mar 2019 21:02:31 +0100
- From: Felix Rubio Dalmau <felix@xxxxxxxxx>
- Subject: Re: prevent apt from downgrading packages
On divendres, 1 de març de 2019 10:45:48 CET Alexander V. Makartsev wrote:
> On 01.03.2019 13:27, Felix Rubio wrote:
> > Hi all,
> > I have mix stable+testing (~1200 packages from stable, ~20
> > packages from testing). I have the following contents in
> > /etc/apt/preferences.d/pinning:
> This is something you should not do in first place. 
> The right and safe way to run stable branch and install packages from
> other branches (eg testing) is to make backports of them.  This is
> why debian-backports branch exists.
> When doing it right way you won't need any pinning and if package you
> backported will hit stretch-backports branch and will be newer version
> it will be upgraded just as regular package.
>  https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian
>  https://wiki.debian.org/SimpleBackportCreation
Thank you for your advice. I have moved to stretch-backports as many packages as I could (I have to see what I do with the few, ~5, remaining).