Errors on upgrade

Started by jmcgee, January 30, 2024, 06:39:05 PM

Previous topic - Next topic
How do I resolve these errors. I upgraded using web interface from 23.x to 24.1.
***GOT REQUEST TO UPDATE***
Currently running OPNsense 24.1 at Tue Jan 30 11:27:16 CST 2024
Updating OPNsense repository catalogue...
Waiting for another process to update repository OPNsense
Updating SunnyValley repository catalogue...
Waiting for another process to update repository SunnyValley
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
Waiting for another process to update repository SunnyValley
All repositories are up to date.
Checking for upgrades (11 candidates): .......... done
Processing candidates (11 candidates): . done
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
squid-6.6 [OPNsense] (direct dependency changed: openssl)

Number of packages to be reinstalled: 1

2 MiB to be downloaded.
[1/1] Fetching squid-6.6.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/1] Reinstalling squid-6.6...
===> Creating groups.
Using existing group 'squid'.
===> Creating users
Using existing user 'squid'.
===> Creating homedir(s)
===> Pre-installation configuration for squid-6.6
[1/1] Extracting squid-6.6: .......... done
You may need to manually remove /usr/local/etc/squid/squid.conf if it is no longer needed.
You may need to manually remove /usr/local/etc/squid/mime.conf if it is no longer needed.
You may need to manually remove /usr/local/etc/squid/errorpage.css if it is no longer needed.
You may need to manually remove /usr/local/etc/squid/cachemgr.conf if it is no longer needed.
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 4 packages:

Installed packages to be REMOVED:
py39-cython: 0.29.37
squid: 6.6
squid-langpack: 7.0.0.20230225
wireguard-kmod: 0.0.20220615_1

Number of packages to be removed: 4

The operation will free 21 MiB.
[1/4] Deinstalling py39-cython-0.29.37...
[1/4] Deleting files for py39-cython-0.29.37: .......... done
[2/4] Deinstalling squid-6.6...
[2/4] Deleting files for squid-6.6: .......... done
==> You should manually remove the "squid" user.
==> You should manually remove the "squid" group
[3/4] Deinstalling squid-langpack-7.0.0.20230225...
[3/4] Deleting files for squid-langpack-7.0.0.20230225: .......... done
[4/4] Deinstalling wireguard-kmod-0.0.20220615_1...
[4/4] Deleting files for wireguard-kmod-0.0.20220615_1: .... done
Checking all packages: .......... done
py37-pymongo has a missing dependency: python37
py37-pymongo has a missing dependency: py37-setuptools
py37-pymongo 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.

>>> Also make sure to check 'pkg updating' for known issues.
The following package files will be deleted:
/var/cache/pkg/squid-6.6~30a6c199f3.pkg
/var/cache/pkg/squid-6.6.pkg
The cleanup will free 2 MiB
Deleting files: .. done
All done
Nothing to do.
Starting web GUI...done.
Generating RRD graphs...done.
***DONE***

Zenarmor stuff from a while ago. Remove manually:

# pkg remove py37-pymongo

Not sure about the squid package shift.


Cheers,
Franco

Thanks. That appears to have fixed it:


***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 24.1 at Tue Jan 30 15:03:55 CST 2024
Fetching changelog information, please wait... done
Updating OPNsense repository catalogue...
Waiting for another process to update repository OPNsense
Updating SunnyValley repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: ... done
Processing entries: ....... done
SunnyValley repository update completed. 64 packages processed.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking for upgrades (10 candidates): .......... done
Processing candidates (10 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***


June 13, 2024, 08:42:20 PM #4 Last Edit: June 13, 2024, 08:50:52 PM by osn1803
I have this issue currently on 24.1.8-amd64.

After adding the sunnyvalley repo (because I intended to add so-sensei), attempting to check for updates hangs for a long period on this:

Updating SunnyValley repository catalogue...
Waiting for another process to update repository SunnyValley


Update check does complete after a long time.

Worse, the Packages and Plugins tabs are blank, so I cannot manage software.

I have:

* rebooted
* verified that DNS works (Interfaces -> Diagnostics)
* verified that all services are running (except iperf, which is normal)
* verified that all attached networks are working correctly
* Tried the suggestion above, with this result:

# pkg remove py37-pymongo
No packages matched for pattern 'py37-pymongo'

Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing


Out of ideas. I'm down to the last resort option of reinstalling and restoring a config backup.

Update:

Right after I submitted this, the plugins page suddenly populated. The last time I was able to view it (right after adding the sunnyvalley repo), the installed plugins showed "(orphaned)" instead of "(installed)". Now, they say "(installed)".

I would guess there's a problem with the sunnyvalley repo (slow to respond? a dead mirror?) that is causing issues.

No need to reinstall.

Can you post a screenshot from System-Settings-General please ?

June 14, 2024, 04:40:32 AM #6 Last Edit: June 14, 2024, 04:42:14 AM by osn1803
Not much to see. DNS settings are all blank (using unbound at localhost, which works fine when tested at Interfaces->Diagnostics->DNS).

The observed issues went away when I removed the os-sunnyvalley (after the Plugins page finally repopulated).

Add a DNS server there such as 1.1.1.1 and you should check how responsive things are, zenarmor repo included.