***GOT REQUEST TO AUDIT HEALTH***Currently running OPNsense 22.1 (amd64/OpenSSL) at Sat Jan 29 22:48:14 PST 2022>>> Check installed kernel versionVersion 22.1 is correct.>>> Check for missing or altered kernel filesNo problems detected.>>> Check installed base versionVersion 22.1 is correct.>>> Check for missing or altered base filesNo problems detected.>>> Check for missing package dependenciesChecking all packages: .......... donepy37-markupsafe has a missing dependency: python37py37-markupsafe has a missing dependency: py37-setuptoolspy37-markupsafe is missing a required shared library: libpython3.7m.so.1.0py37-pymongo has a missing dependency: python37py37-pymongo has a missing dependency: py37-setuptoolspy37-pymongo is missing a required shared library: libpython3.7m.so.1.0>>> Check for missing or altered package filesChecking all packages: .......... done>>> Check for core packages consistencyCore package "opnsense" has 65 dependencies to check.Checking packages: ................................................................... done***DONE***
FreeBSD/amd64 (OPNsense.localdomain) (ttgv8)login: [ 849] iflib_netmap_config txr 1 rxr 1 txd 1824 rxd 1824rbufsz 2848[ 849] iflib_netmap_config txr 1 rxr 1 txd 1824 rxd 1824 rbufsz2848-m8: link state changed to DUNN[ 849] iflib_netmap_config txr 1 rxr 1 txd 1824 rxd 1824 rbufsz2848-m8: link state changed to UPreeBSDIamd64 (OPNsense.localdomain) (ttgv8)login: 7
# pkg updatingpkg: Unable to open: /usr/ports/UPDATING
Checking all packages: .......... donepy37-markupsafe has a missing dependency: python37py37-markupsafe has a missing dependency: py37-setuptoolspy37-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 repositoriespkg-static: No packages available to install matching 'py37-setuptools' have been found in the repositories>>> Summary of actions performed:python37 dependency failed to be fixedpy37-setuptools dependency failed to be fixed>>> There are still missing dependencies.>>> Try fixing them manually.>>> Also make sure to check 'pkg updating' for known issues.
Any help would be appreciated . Thanks.
# pkg delete py37-markupsafeChecking integrity... done (0 conflicting)Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):Installed packages to be REMOVED: py37-markupsafe: 1.1.1_1Number of packages to be removed: 1Proceed with deinstalling packages? [y/N]: y[1/1] Deinstalling py37-markupsafe-1.1.1_1...[1/1] Deleting files for py37-markupsafe-1.1.1_1: 100%
sudo pkg info -dx py37-markupsafe ─╯py37-markupsafe-1.1.1_1: python37-(null) py37-setuptools-(null)
I ran the firmware healthcheck and noticed I had the same missing dependency on my system.
# pkg info -dx py37-markupsafepy37-markupsafe-1.1.1_1: python37-3.7.11 py37-setuptools-57.0.0
The netmap message is not an error. Netmap unfortunately has a number of this debug/informational message that don't make much sense to anyone but the authors / those who know the internals by heart most likely.Cheers,Franco
We haven't shipped Python 3.7 for quite some time now so your issue lies with a third party repo or manual ports install.Cheers,Franco
After some reading I came to the conclusion, that py37-markupsafe is no longer needed. So I removed it:Code: [Select]# pkg delete py37-markupsafeChecking integrity... done (0 conflicting)Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):Installed packages to be REMOVED: py37-markupsafe: 1.1.1_1... … I did this on my backup machine first to see if any side–effects occur. If not, I will do this on my production box after upgrading that one too.
# pkg delete py37-markupsafeChecking integrity... done (0 conflicting)Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):Installed packages to be REMOVED: py37-markupsafe: 1.1.1_1...