Newbie question - how to prevent upgrade

Started by zzup, August 14, 2023, 06:58:04 PM

Previous topic - Next topic
August 14, 2023, 06:58:04 PM Last Edit: August 14, 2023, 07:00:14 PM by zzup
Ok still learning and newbie question.  How can i hold Zenarmor to 1.3 but still be able to upgrade opnsense to the latest version.  When i go to update it wants to do both.  I want to hold off on 1.4 until more of the bugs are worked out. 

Edit: Is this what the lock option is for?  Picture attached

Here's an improved version of the original content:

Hello,

It is possible to disable the Zenarmor package upgrade in Opnsense, but unfortunately, making changes to do so is not supported. However, you can disable the Sunnyvalley repository by using the following command:

/usr/local/etc/pkg/repos/SunnyValley.conf

Simply update the enable parameters with a "no" value:

enabled: yes -> no

This will prevent upgrades from the Sunnyvalley repository. When you're ready to upgrade to a new version, simply change the enable parameter to "yes".


Quote from: zzup on August 14, 2023, 06:58:04 PM
Ok still learning and newbie question.  How can i hold Zenarmor to 1.3 but still be able to upgrade opnsense to the latest version.  When i go to update it wants to do both.  I want to hold off on 1.4 until more of the bugs are worked out. 

Edit: Is this what the lock option is for?  Picture attached

You'll need to keep OPNsense/FreeBSD and Zenarmor in sync, else you'll get into a lot of trouble with package dependencies, and the upgrade will fail/ not be complete.

You have been warned :)

Quote from: ureyni on August 14, 2023, 10:03:37 PM
Here's an improved version of the original content:

Hello,

It is possible to disable the Zenarmor package upgrade in Opnsense, but unfortunately, making changes to do so is not supported. However, you can disable the Sunnyvalley repository by using the following command:

/usr/local/etc/pkg/repos/SunnyValley.conf

Simply update the enable parameters with a "no" value:

enabled: yes -> no

This will prevent upgrades from the Sunnyvalley repository. When you're ready to upgrade to a new version, simply change the enable parameter to "yes".

So you use a burner account and make fun of how someone asks a question. Classy of you


Thanks for the warning newsense. Did not realize that would have an impact. Ok will hold off both updates for just a bit. I know the zen armor team is patching thing quickly so will just give it a little time.