OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: jnissley@nissley.org on January 28, 2023, 08:53:10 PM

Title: console upgrade to 23.1 failed with no package python37
Post by: jnissley@nissley.org on January 28, 2023, 08:53:10 PM
Tried to upgrade with option 12 from the console and receive the following error:
>>> 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.


I found that python39 is installed but cannot seem to install python37.
Any suggestions?
Title: Re: console upgrade to 23.1 failed with no package python37
Post by: computeralex92 on January 28, 2023, 09:19:06 PM
From which version do you try to update to 23.1?
Title: Re: console upgrade to 23.1 failed with no package python37
Post by: jnissley@nissley.org on January 28, 2023, 09:40:52 PM
OPNsense 22.7.11_1-amd64
Title: Re: console upgrade to 23.1 failed with no package python37
Post by: KHE on January 28, 2023, 10:46:07 PM
Hi

sometimes there is the package py37-markupsafe left installed from some plugin and not upgraded/uninstalled.
That package was causing a few failed health checks in the 22.7 series.

try:
pkg remove py37-markupsafe
If it succeeds, then I guessed right, otherwise run a health check and post the result.

KH
Title: Resolved console upgrade to 23.1 failed with no package python37
Post by: jnissley@nissley.org on January 28, 2023, 11:48:04 PM
Thank you.  That worked.  I thought all the packages it looked for would be required by the new version or I would have done that earlier.  Thank you for the help.