I started seeing an odd issue on my laptop this week and I’m not sure what the cause or fix is. One of the official patches, openSUSE-2020-290, couldn’t be applied when it came to my computer. I just ignored it at first thinking a fix would be coming but not yet. Today I tried to manually update PyYAML2 and when I do that I see this.
> zypper up python2-PyYAML
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: docker-compose-1.17.0-lp151.3.2.noarch conflicts with python-PyYAML >= 4 provided by python2-PyYAML-5.1.2-lp151.2.3.1.x86_64
Solution 1: deinstallation of docker-compose-1.17.0-lp151.3.2.noarch
Solution 2: do not install python2-PyYAML-5.1.2-lp151.2.3.1.x86_64
Both docker-compose and PyYAML2 are installed from the main repos as seen here:
> zypper info python2-PyYAML
Loading repository data...
Reading installed packages...
Information for package python2-PyYAML:
---------------------------------------
Repository : Main Update Repository
Name : python2-PyYAML
Version : 5.1.2-lp151.2.3.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 671.8 KiB
Installed : Yes (automatically)
Status : out-of-date (version 3.13-lp151.1.1 installed)
> zypper info docker-compose
Loading repository data...
Reading installed packages...
Information for package docker-compose:
---------------------------------------
Repository : Main Repository
Name : docker-compose
Version : 1.17.0-lp151.3.2
Arch : noarch
Vendor : openSUSE
Installed Size : 762.8 KiB
Installed : Yes
Status : up-to-date
I also tried option 1 (removing docker-compose) and that did allow PyYAML2 to update. But then when I went to install docker-compose again it forced PyYAML2 to downgrade. Any idea what could be causing that and what I can do to fix it?
Thanks!