CLI Update gets stuck with Nothing to do.

Started by R1mSG, October 28, 2022, 10:08:36 AM

Previous topic - Next topic
Hey,

i have the problem that when I run an opnsense-update, I get a "Nothing to do." response.

If I run "/usr/local/opnsense/scripts/firmware/check.sh" or a pkg dry-run, it finds the updates (The GUI also shows updates).

The problem here seems to be a popup (every few updates this appears) in the GUI, as soon as I check for new updates and close this popup, the opnsense-update command works again.

You can solve the problem by running "pkg upgrade -y".
But here the question would be, if this command can lead to problems, because there is an extra official opnsense command "opnsense-update" for this, i would actually prefer to use the official command.

Is there a solution for this, or is it safe to update the Firewall via "pkg upgrade -y"?

No problems here with firefox.
I suggest checking browser settings for pop-ups for example and maybe change the mirror and verify your mirror, flavour and type.
Mine are mirror: default; flavour: default; type: community

sorry, my question was misleading.
I am talking about updating via the terminal, not the GUI, the GUI works without problems.

The goal is to update minor/patches via CLI using the "opnsense-update" command.

btw, solution was.

The default mode of "opnsense-update" was changed to "opnsense-update -bkp" last year.

See also:
https://github.com/opnsense/core/issues/6128