On 10. 05. 20 18:37, Scott Talbert wrote:
On Sun, 10 May 2020, Barry Scott wrote:
I know that python2 is a dead language, but I have a need to use some python 2 code on one of my servers. It's clearly on me to maintain the old code if I choose to use it.
I use MoinMoin via mon_wsgi.
After upgrading to fedora 32 I took the trouble to install moin using the F31 package. And all was good.
But I just did my first dnf update and was surprised to find these lines in the log of the dnf update:
---> Package moin.noarch 1.9.10-3.fc31 will be erased ---> Package python2-mod_wsgi.x86_64 4.6.6-2.fc32 will be erased
What is forcing the erase? I need to workaround this.
Probably fedora-obsolete-packages: https://src.fedoraproject.org/rpms/fedora-obsolete-packages/blob/f32/f/fedor...
I don't know how to workaround it though as the f-o-p package doesn't actually get installed anymore - it's work happens through some dnf tricks now.
You should still be able to exclude the package in the dnf config:
$ cat /etc/dnf/dnf.conf [main] ... exclude=fedora-obsolete-packages