Good Morning Ben, On 06.07.22 at 21:35 Ben Greiner wrote:
Have you seen https://en.opensuse.org/openSUSE:Package_dependencies#Replace_a_package_by_a... ?
This only works if one package obsoletespac*only*. If there are more packages, the solver will not do this update.
Not sure, but I might be the reason for your failure to automatically update.
That was my first guess, so I moved the Obsoletes from docker-compose-switch to docker-compose, which obviously provides "docker-compose" > 2.0.0 and obsoletes the python package which has an additional provides so it was found when people do "zypper in docker-compose". I think zypper calls it "Package capabilities". My tests last week on Leap 15.x and SLES15.x were successful, it only failed to properly replace the python package on Tumbleweed. My guess would be due to the multi-python-setup. Thanks for your help, I'll keep digging and trying. Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537