prevent apt from downgrading packages
- Date: Fri, 01 Mar 2019 08:27:35 +0000
- From: Felix Rubio <felix@xxxxxxxxx>
- Subject: prevent apt from downgrading packages
I have mix stable+testing (~1200 packages from stable, ~20 packages
from testing). I have the following contents in
Pin: release a=stable
Pin: release a=testing
Pin: release a=experimental
Pin: release a=unstable
What happens is: after an apt update, I list the packages to be upgraded
with apt list --upgradable, and I get only those that will be upgraded.
However, when I run apt upgrade, I get a number of packages that will be
downgraded. How can I prevent this downgrading from happening?