OPNsense Forum
Archive => 22.1 Legacy Series => Topic started by: vamp on February 09, 2022, 01:56:27 am
-
Hello there, after the update, if i test health check, i get this:
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
python 3.8 version is also exist:
(https://i.ibb.co/VDkQ7Jf/image.png)
-
It's likely a leftover from a manual fix done some time ago on your box. I remember that FreeBSD renamed the package (to lowercase) which caused some friction within the package manager.
# pkg remove py37-markupsafe
Cheers,
Franco
-
had this also. pkg remove py37-markupsafe
removed this. thnx
-
Just checked on a box that never had manual fixes, but that py37-markupsafe leftover nevertheless.
pkg remove py37-markupsafe is your friend ;-)
-
I have this error too:
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.
But when I try to remove it won't work:
# pkg remove p37-markupsafe
No packages matched for pattern 'p37-markupsafe'
Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
Anything I can do here?
Thanks for your help.
-
I noticed the same error on two devices running on APU2.
-
> # pkg remove p37-markupsafe
maybe type
# pkg remove py37-markupsafe
as it should be ;)
Cheers,
Franco
-
That's a real painful one. Thanks for open my eyes!
:D
-
It can be as simple as this:
pkg remove py37-markupsafe
.
Which makes me wonder a bit though: Wouldn't it make sense that this just happens automatically in one of the upcoming updates/upgrades?
After all, there doesn't seem to be any negative impact, since a newer Python version is in use by now?
Thanks & greetings