Author Topic: Cannot update python  (Read 799 times)

Lars

  • Hero Member
  • *****
  • Posts: 1431
  • Karma: +72/-0
    • View Profile
Cannot update python
« on: May 12, 2025, 08:34:13 am »
Hi there,

I am offered python3 update to 3.13.2.-1. ANPM properly download all dependencies but fails with a "depsolve" problem.
I have tried both, copy python2.7.exe to python.exe and also python3.9.exe to python.exe but it fails anyway.
How do I force installation ? Obviously, I cannot do that from ANPM but a simple "yum update" does not offer such a thing as a --force switch.

David McKenna

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +32/-0
    • View Profile
Re: Cannot update python
« Reply #1 on: May 12, 2025, 12:17:13 pm »
Lars,

  Same here - I just now opened a ticket on Bitwiseworks' github page...

Regards,

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5284
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Cannot update python
« Reply #2 on: May 12, 2025, 10:38:33 pm »
Hello

I have the same problem.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 404
  • Karma: +6/-0
    • View Profile
Re: Cannot update python
« Reply #3 on: May 16, 2025, 04:55:26 pm »
You need to install both the python2.7 and python3 packages at the same time.

yum install python3 python2.7

Or select both of these packages in ANPM and install them together.

https://www.arcanoae.com/wiki/anpm/known-issues-limitations/

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +128/-1
    • View Profile
Re: Cannot update python
« Reply #4 on: May 16, 2025, 06:11:48 pm »
yum install python3 python2.7 2>&1 | tee yum.out
Code: [Select]
Setting up Install Process
Package python2.7-2.7.18-3.oc00.pentium4 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package python3.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python(abi) = 3.9 for package: python3-flit-core-3.12.0-1.oc00.noarch
--> Processing Dependency: python(abi) = 3.9 for package: python3-flit-core-3.12.0-1.oc00.noarch
--> Processing Dependency: python3 = 3.9.21-1.oc00 for package: python-unversioned-command-3.9.21-1.oc00.pentium4
---> Package python3.pentium4 0:3.13.2-1.oc00 will be an update
--> Processing Dependency: python3-libs = 3.13.2-1.oc00 for package: python3-3.13.2-1.oc00.pentium4
--> Processing Dependency: pytho313.dll for package: python3-3.13.2-1.oc00.pentium4
--> Running transaction check
---> Package python-unversioned-command.pentium4 0:3.9.21-1.oc00 will be updated
---> Package python-unversioned-command.pentium4 0:3.13.2-1.oc00 will be an update
---> Package python3-flit-core.noarch 0:3.12.0-1.oc00 will be updated
---> Package python3-flit-core.noarch 0:3.12.0-2.oc00 will be an update
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
--> Processing Dependency: python39.dll for package: hplip-libs-3.19.12-1.oc00.pentium4
--> Processing Dependency: python39.dll for package: python3-rpm-4.15.1-3.oc00.pentium4
---> Package python3-libs.pentium4 0:3.13.2-1.oc00 will be an update
--> Processing Dependency: mpdec4.dll for package: python3-libs-3.13.2-1.oc00.pentium4
--> Running transaction check
---> Package hplip-libs.pentium4 0:3.19.12-1.oc00 will be updated
--> Processing Dependency: hplip-libs = 3.19.12-1.oc00 for package: hplip-3.19.12-1.oc00.pentium4
--> Processing Dependency: hplip-libs = 3.19.12-1.oc00 for package: libsane-hpaio-3.19.12-1.oc00.pentium4
---> Package hplip-libs.pentium4 0:3.19.12-2.oc00 will be an update
--> Processing Dependency: hplip-common = 3.19.12-2.oc00 for package: hplip-libs-3.19.12-2.oc00.pentium4
---> Package mpdecimal.pentium4 0:4.0.0-1.oc00 will be installed
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package python3-rpm.pentium4 0:4.15.1-3.oc00 will be updated
---> Package python3-rpm.pentium4 0:4.15.1-4.oc00 will be an update
--> Processing Dependency: rpm-libs = 4.15.1-4.oc00 for package: python3-rpm-4.15.1-4.oc00.pentium4
--> Running transaction check
---> Package hplip.pentium4 0:3.19.12-1.oc00 will be updated
---> Package hplip.pentium4 0:3.19.12-2.oc00 will be an update
---> Package hplip-common.pentium4 0:3.19.12-1.oc00 will be updated
---> Package hplip-common.pentium4 0:3.19.12-2.oc00 will be an update
---> Package libsane-hpaio.pentium4 0:3.19.12-1.oc00 will be updated
---> Package libsane-hpaio.pentium4 0:3.19.12-2.oc00 will be an update
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package rpm-libs.pentium4 0:4.15.1-3.oc00 will be updated
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: python2-rpm-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-sign-libs-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-plugin-syslog-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-build-libs-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-devel-4.15.1-3.oc00.pentium4
---> Package rpm-libs.pentium4 0:4.15.1-4.oc00 will be an update
--> Processing Dependency: rpm = 4.15.1-4.oc00 for package: rpm-libs-4.15.1-4.oc00.pentium4
--> Running transaction check
---> Package python2-rpm.pentium4 0:4.15.1-3.oc00 will be updated
---> Package python2-rpm.pentium4 0:4.15.1-4.oc00 will be an update
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package rpm.pentium4 0:4.15.1-3.oc00 will be updated
--> Processing Dependency: rpm = 4.15.1-3.oc00 for package: rpm-build-4.15.1-3.oc00.pentium4
---> Package rpm.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-build-libs.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-build-libs.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-devel.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-devel.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-plugin-syslog.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-plugin-syslog.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-sign-libs.pentium4 0:4.15.1-3.oc00 will be updated
--> Processing Dependency: rpm-sign-libs = 4.15.1-3.oc00 for package: rpm-sign-4.15.1-3.oc00.pentium4
---> Package rpm-sign-libs.pentium4 0:4.15.1-4.oc00 will be an update
--> Running transaction check
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package rpm-build.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-build.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-sign.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-sign.pentium4 0:4.15.1-4.oc00 will be an update
--> Finished Dependency Resolution
Error: Package: python3-createrepo_c-1.2.1-1.oc00.pentium4 (installed)
           Requires: python39.dll
           Removing: python3-libs-3.9.21-1.oc00.pentium4 (installed)
               python39.dll
           Updated By: python3-libs-3.13.2-1.oc00.pentium4 (netlabs-exp)
               Not found
           Available: python3-libs-3.9.5-8.oc00.pentium4 (netlabs-rel)
               python39.dll
           Available: python3-libs-3.9.17-1.oc00.pentium4 (netlabs-rel)
               python39.dll
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

David McKenna

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +32/-0
    • View Profile
Re: Cannot update python
« Reply #5 on: May 16, 2025, 09:44:59 pm »
 Try now... Sylvan updated everything that needed it for Python 3.13 and so should work now. At least it did for me.

Regards,

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5284
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Cannot update python
« Reply #6 on: May 16, 2025, 11:33:34 pm »
Hello

Right now on my VM with ArcaOS 5.1.1 (Bios), ANPM (1.1) was crashing when a "Update All" was requested.

On the command line I did "yum install python3 python2.7" as requested. It installed the stuff without problems.

After that ANPM made the "Update All" and did not crashed , rebooted for the first install of packages, and I got this new error on the next boot.

Regards

Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +32/-0
    • View Profile
Re: Cannot update python
« Reply #7 on: May 16, 2025, 11:39:40 pm »
Martin,

  That error is about OpenSSL, not Python. Best to raise a ticket like the message says.

Regards,

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +128/-1
    • View Profile
Re: Cannot update python
« Reply #8 on: May 17, 2025, 05:14:40 am »
I had to remove python3-createrepo_c-1.2.1-1, and then like Martin, ANPM crashed. Command line worked.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +128/-1
    • View Profile
Re: Cannot update python
« Reply #9 on: May 17, 2025, 06:06:46 am »
Doug had this to say on the testers list in response to an earlier ANPM crash I had,
Quote
This is caused by trying to update HPLIP, HPLIP-COMMON, or HPLIP-LIBS. If you select only LIBAIO, it includes those three, and all updates properly.
Should have remembered sooner.