Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Upgrade or Downgrade?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Upgrade or Downgrade? (Read 2927 times)
mihak
Jr. Member
Posts: 70
Karma: 5
Upgrade or Downgrade?
«
on:
January 21, 2021, 09:01:03 pm »
I upgraded OPNSense to 21.1.r1 and now when I am checking for updates, I get the notification to "upgrade" down to 20.7.8 - see the attachment.
How do I avoid this? I would like to upgrade n2disk, nprobe and ntopng - but keep the base and kernel at my current version.
Logged
allebone
Sr. Member
Posts: 402
Karma: 34
Re: Upgrade or Downgrade?
«
Reply #1 on:
January 21, 2021, 10:24:39 pm »
I know when unbound had an issue I ran the command:
opnsense-revert -r 20.7.6 unbound
So I am thinking you could try something along the lines of:
opnsense-revert -r 20.7.8 n2disk
Maybe that will change just that package?
Pete
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade or Downgrade?
«
Reply #2 on:
January 22, 2021, 10:17:01 am »
Please post /var/cache/opnsense-update/.upgrade.log
I guess looking at the screen you have the ntop repository installed but that has some incompatiblities and probably prevents your system from installing relevant 21.1 packages.
opnsense-revert only works on packages we provide via releases and e.g. "n2disk" is not one of them.
We did inform ntop people of the release engineerings problematic so that is expected in the current way they provide packages.
Cheers,
Franco
Logged
mihak
Jr. Member
Posts: 70
Karma: 5
Re: Upgrade or Downgrade?
«
Reply #3 on:
January 22, 2021, 05:23:07 pm »
There is no .upgrade.log at all... The whole opnsense-update folder is empty:
admin@OPNsense:~ % sudo tail /var/cache/opnsense-update/.upgrade.log
tail: /var/cache/opnsense-update/.upgrade.log: No such file or directory
admin@OPNsense:~ % ls /var/cache/opnsense-update/
admin@OPNsense:~ %
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade or Downgrade?
«
Reply #4 on:
January 22, 2021, 07:23:22 pm »
Strange, it doesn't look like it did an update in any case. It would look something like this...
# ls /var/cache/opnsense-update/
.sets.pending .upgrade.log .upgrade.pipe 46122 57827
How did you come to update to 21.1.r1?
Cheers,
Franco
Logged
mihak
Jr. Member
Posts: 70
Karma: 5
Re: Upgrade or Downgrade?
«
Reply #5 on:
January 22, 2021, 08:11:05 pm »
Upgrade was offered to me through System:Firmware. I Unlocked the upgrade, confirmed it and let it run its course. If it is relevant, the upgrade didn't reboot OPNSense at the end of the process, I had to ssh into the box and sudo reboot it manually.
Audit health report:
***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 21.1.b_97 (amd64/OpenSSL) at Thu Jan 21 17:03:14 PST 2021
>>> Check installed kernel version
Version 21.1.r1 is incorrect, expected: 20.7.8
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 21.1.r1 is incorrect, expected: 20.7.8
>>> Check for missing or altered base files
No problems detected.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages:
elasticsearch5-5.6.8_5: checksum mismatch for /usr/local/etc/elasticsearch/elasticsearch.yml
Checking all packages.......
ntopng-4.3.210120: checksum mismatch for /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem
Checking all packages....
os-ntopng-devel-1.2: checksum mismatch for /usr/local/opnsense/service/conf/actions.d/actions_ntopng.conf
Checking all packages...
os-sensei-1.6.2: checksum mismatch for /usr/local/etc/rc.d/eastpect
Checking all packages........ done
>>> Check for core packages consistency
Core package "opnsense-devel" has 67 dependencies to check.
Checking packages: .................................................................... done
***DONE***
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade or Downgrade?
«
Reply #6 on:
January 22, 2021, 08:16:40 pm »
Sensei probably gets in the way, but not sure how yet.
https://forum.opnsense.org/index.php?topic=20906.msg97486#msg97486
To fix this set firmware flavour to "21.1/MINT/21.1.r1/OpenSSL" and check for updates + install (not "upgrade").
Afterwards set flavour back to "(default)".
Cheers,
Franco
Logged
mihak
Jr. Member
Posts: 70
Karma: 5
Re: Upgrade or Downgrade?
«
Reply #7 on:
January 22, 2021, 08:20:22 pm »
Like this? (see attached)
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade or Downgrade?
«
Reply #8 on:
January 22, 2021, 08:40:16 pm »
Yes, looks good.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Upgrade or Downgrade?