Also had the issue while downgrading :
The following packages will be DOWNGRADED:
libsystemd0 libudev1
0 upgraded, 266 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
On 2025-05-13 09:02, 'Felix Moessbauer' via isar-users wrote:
> The sbuild chroots carry many packages needed for the build environment.
> This sometimes requires packages from bootstrapping to be downgraded so
> that the dependencies can be resolved.
>
> An example is the liblzma5 which currently (1st of May 2025) needs to be
> downgraded on Debian bookworm.
I think this touches a tricky topic and we should check whether this intersects
with e.g. [1], [2]. A testcase would definitely help. Also, at least the known
cases should be considered (upgrade / downgrade, non-essential / essential,
maybe non-compat / compat).
1. https://lists.isar-build.org/isar-users/20250221154843....@ilbers.de/
2. https://lists.isar-build.org/isar-users/215cc575-fa4f-45e6...@ilbers.de/T/#t
With kind regards,
Baurzhan