OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: vamp on February 09, 2022, 01:56:27 am

Title: py37-markupsafe still exist after 22.1 update
Post by: vamp on February 09, 2022, 01:56:27 am
Hello there, after the update, if i test health check, i get this:

Code: [Select]
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)
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: franco on February 09, 2022, 08:05:56 am
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
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: RamSense on February 18, 2022, 07:55:33 am
had this also. pkg remove py37-markupsafe
removed this. thnx
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: Andreas_ on February 24, 2022, 12:55:38 pm
Just checked on a box that never had manual fixes, but that py37-markupsafe leftover nevertheless.
pkg remove py37-markupsafe is your friend ;-)
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: ric91 on March 25, 2022, 05:52:11 pm
I have this error too:

Code: [Select]
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:

Code: [Select]
# 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.
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: ric91 on March 25, 2022, 06:28:13 pm
I noticed the same error on two devices running on APU2.
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: franco on March 29, 2022, 03:45:10 pm
> # pkg remove p37-markupsafe

maybe type

# pkg remove py37-markupsafe

as it should be ;)


Cheers,
Franco
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: ric91 on March 30, 2022, 10:47:39 am
That's a real painful one. Thanks for open my eyes!

 :D
Title: Re: py37-markupsafe still exist after 22.1 update
Post by: Marcel_75 on September 13, 2022, 12:52:03 pm
It can be as simple as this:

Code: [Select]
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