OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: pgh on July 08, 2022, 01:35:59 PM

Title: Update 22.1.10 PKG python37 missing
Post by: pgh on July 08, 2022, 01:35:59 PM
I updated my opnsense to the version 22.1.10 whith following (shortened) log:

Quote
...
Checking all packages: .......... done
py37-markupsafe has a missing dependency: python37
py37-markupsafe has a missing dependency: py37-setuptools
py37-markupsafe is missing a required shared library: libpython3.7m.so.1.0

>>> Missing package dependencies were detected.
>>> Found 2 issue(s) in the package database.

pkg-static: No packages available to install matching 'python37' have been found in the repositories
pkg-static: No packages available to install matching 'py37-setuptools' have been found in the repositories
>>> Summary of actions performed:

python37 dependency failed to be fixed
py37-setuptools dependency failed to be fixed

>>> There are still missing dependencies.
>>> Try fixing them manually.

...

1st Question: Is it possible to fix the python pkg dependency issues by/over web-control? How?
2nd If not, then how can one fix the issues over shell?
tnx
Title: Re: Update 22.1.10 PKG python37 missing
Post by: franco on July 08, 2022, 02:48:01 PM
22.1.10 uses Python 3.9. If Python 3.7 is missing that is intentional and you need to manually remove any  remnants that were left behind.

The issue with py37-markupsafe was a suboptimal implementation of a rename of the package (case change in name) which was being handled by the FreeBSD package manager at the time a couple of versions ago.

# pkg remove py37-markupsafe


Cheers,
Franco
Title: Re: Update 22.1.10 PKG python37 missing
Post by: pgh on July 08, 2022, 07:15:01 PM
[SOLVED]
Worked like a charm.
Thank you very much Franco.