Bug#1033617: libopenexr-dev: Cannot just upgrade libopenexr-dev to 3.1.5-4 because of file conflict with older version of libilmbase-dev
Felix Stupp
me+debian-bugs at banananet.work
Thu Mar 30 21:26:36 BST 2023
Hello,
that's true, somehow I messed up the version number, sorry.
I had libilmbase-dev version 2.5.7-2+b1 installed when I ran into this issue according to my aptitude log.
I also tried out to reproduce the issue again in Docker & succeeded, see the attached Dockerfile.
However, after seeing how old both package versions are and that these exact versions were not available at the same time,
I do not know how I ended up with exactly these versions and using them until just a few days ago.
Maybe another package which wasn't updated for quite a while had a hardlocked dependency.
To know for sure, I would need to restore the full list of packages & versions I had installed before upgrading by reading the dpkg logs.
Best Regards,
Felix Stupp
Am Mittwoch, 29. März 2023, 19:06:29 CEST schrieben Sie:
> On 2023-03-28 Felix Stupp <me+debian-bugs at banananet.work> wrote:
> > Package: libopenexr-dev
> > Version: 3.1.5-4
> > Severity: serious
> > Justification: Policy 7.4
> > X-Debbugs-Cc: me+debian-bugs at banananet.work
>
> > Dear Maintainer,
>
> > I cannot upgrade this package from version 2.5.7-1 to version 3.1.5-4
> > due to a file conflict with the package libilmbase-dev on version
> > 2.5.4-1. I tried with apt & aptitude as well. Both want to replace
> > libilmbase-dev with libopenexr-dev in a single execution of them, but
> > fail to do that in a way that dpkg allows that (tries first to install
> > the new package and then uninstall the old one).
> > Currently I see no other solution than removing the old one first aside
> > with all packages depending it on it, and then installing the new one
> > with all packages which were removed before.
> [...]
>
> Hello,
>
> I cannot reporoduce this from your description because the original
> setup you started with
>
> libopenexr-dev + libopenexr25 2.5.7-1
> libilmbase-dev + libilmbase25 2.5.4-1
>
> is not installable, libopenexr25 2.5.7-1 depends on libilmbase25 (>= 2.5.7).
>
> cu Andreas
>
-------------- next part --------------
FROM docker.io/library/debian:bookworm-20230320
# Install tools required further
RUN apt-get update && apt-get install -y aptitude
# Disable current and enable snapshot repository
RUN sed -i -r 's~# ~URIs: ~;s~URIs:( http://deb.debian.org)~#\1~' /etc/apt/sources.list.d/debian.sources
# Enable old enough snapshot repository
RUN sed -i -r 's~# ~URIs: ~;s~/20[0-9]*(T[0-9]*Z)$~/20210929\1~;s~URIs:( http://deb.debian.org)~#\1~' /etc/apt/sources.list.d/debian.sources
RUN aptitude -o Acquire::Check-Valid-Until=false update
# Install packages to break
RUN aptitude install -y libopenexr-dev=2.5.7-1
# Jump to specific date
RUN sed -i -r 's~/20[0-9]*(T[0-9]*Z)$~/20221010\1~' /etc/apt/sources.list.d/debian.sources
RUN cat /etc/apt/sources.list.d/debian.sources
RUN aptitude -o Acquire::Check-Valid-Until=false update
# Install packages to break
RUN aptitude install -y libilmbase-dev=2.5.7-2+b1
# Reset to newer repository
RUN sed -i -r 's~# ~URIs: ~;s~URIs:( http://snapshot.debian.org)~#\1~' /etc/apt/sources.list.d/debian.sources
RUN aptitude update
# Try to upgrade package with following command:
# apt install -y libopenexr-dev>=3.1.5-4
More information about the Pkg-phototools-devel
mailing list