Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #205854

Re: prevent apt from downgrading packages

From "Alexander V. Makartsev" <avbetev@gmail.com>
Newsgroups linux.debian.user
Subject Re: prevent apt from downgrading packages
Date 2019-03-01 10:50 +0100
Message-ID <xwMXL-8ps-1@gated-at.bofh.it> (permalink)
References <xwM1I-7L1-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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. [1]
The right and safe way to run stable branch and install packages from
other branches (eg testing) is to make backports of them. [2] 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.

[1] https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian
[2] https://wiki.debian.org/SimpleBackportCreation

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

prevent apt from downgrading packages Felix Rubio <felix@kngnt.org> - 2019-03-01 09:50 +0100
  Re: prevent apt from downgrading packages "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-03-01 10:50 +0100
    Re: prevent apt from downgrading packages Andrea Borgia <andrea@borgia.bo.it> - 2019-03-01 11:10 +0100
      Re: prevent apt from downgrading packages "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-03-01 11:20 +0100
        Re: prevent apt from downgrading packages Andrea Borgia <andrea@borgia.bo.it> - 2019-03-01 20:50 +0100
      Re: prevent apt from downgrading packages john doe <johndoe65534@mail.com> - 2019-03-01 11:20 +0100
    Re: prevent apt from downgrading packages Felix Rubio Dalmau <felix@kngnt.org> - 2019-03-01 21:30 +0100
  Re: prevent apt from downgrading packages Dan Ritter <dsr@randomstring.org> - 2019-03-01 15:50 +0100

csiph-web