I’ve found a solution (but I haven’t found the cause…) so I’m replying myself, maybe someone can take advantage of this.
Reading about similar problem on GitHub here, i’ve tried to change “packaging” package of Python3 to version 22, using this command:
I would like to thank you immensely.
After having my server hacked due to a lack of CSF, I tried every way to upgrade the system and was unable to do so.
After many hours of research, I found your answer. Thank you very much.
Thank you for this, I was having some weird log entries and error 500 on the login screen, everything else seemed fine besides the log entries and admin login.
After trying to perform an upgrade (it was a fairly recent version within the last 2-3 months) then there was a lsphp problems with doing a DNF update on rocky/alma 9.x but I was able work through much of it and the python issue was doing my head in, so I think you for this, I am curious as to how you stumbled on the solution, can you share? I know it was a while ago… but if you can share it would be interesting I think.
I did have some DJANGO issues too and removed and installed the latest release as part of my fixing other parts. The upgrade appeared to go through with only some warning messages, nothing too serious observed, more just alerts than issues.