26.7 upgrade failure - openssl35-3.5.7 conflicts with openssl-3.0.21,1

Started by ubu, July 19, 2026, 11:04:56 AM

Previous topic - Next topic
Trying to upgrade opnsense to 26.7 but it fails. Here's the pastebin link
Can someone help me finish the update?


can you explain what i need to do in order to upgrade please?

Disable the FreeBSD repository/repositories. For this do the opposite of what you did to enable them. OPNsense never does this on its own.

Check /etc/pkg and /usr/local/etc/pkg/repos directories.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on July 19, 2026, 05:01:03 PMDisable the FreeBSD repository/repositories. For this do the opposite of what you did to enable them. OPNsense never does this on its own.

Check /etc/pkg and /usr/local/etc/pkg/repos directories.
i never enabled them. i've only ever done what I could right through the web gui. it appears they were added when I choose to install some plugins maybe? I just asked google and it said I have to disable them through the command line.

Look in the directories I listed for files containing FreeBSD repositories set to "enabled". Change "enabled" to "disabled" with a text editor. If you are not familiar with the editor "vi" there is "ee", the "easy editor" as an alternative.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Looks like a partial upgrade with base/kernel on 26.7 and packages still at 26.1.

Since FreeBSD renamed repositories they will pop up until the 26.7 core is installed.


Cheers,
Franco

i edited /etc/pkg/FreeBSD.conf, that was the only file in /etc/pkg/, i disabled the repository. Went to the webgui and did another update. I was staring at this screen
https://pastebin.com/41hUyBL3
and the Updates tab in System:Firmware had a spinning circle progress bar. I let it do that for about 10 minutes. then I hit refresh in my browser. Now when i go to System Firmware Status, its completely blank.. I don't know what to do. Can someone help please?
so

Others may have different opinions, but for me... if your system is broken and you don't know what caused it to get into that state, I wouldn't trust it going forward (you don't know the extent of the brokenness). I'd take a backup of your config, then do a fresh install of 26.7 and import the config from the backup.

Quote from: ubu on July 22, 2026, 09:52:30 AMI don't know what to do. Can someone help please?
Run the Health Check if possible and post the output here :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

all is working after I disabled the FreeBSD repo but my question would be why was it enabled in the first place and do I need to re-enable it now that 26.7.1 is installed and working?

Quote from: ubu on Today at 10:52:03 AMdo I need to re-enable it

No. You should not have any third party repos enabled unless you know exactly what you are doing. And expect major upgrades to fail and manual intervention to be necessary if you do use them.

E.g. Zenarmor or AdGuard Home need extra repos. The best advice then is to postpone the OPNsense upgrade until the third party repos are updated, too.

The FreeBSD repo should never be active.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)