Rpm install/upgrade in Silverblue

Hello,

I’m trying to install/upgrade opensnitch-ui.
When I initially installed (v1.6.2), I did → Right click, open with Software Install.
If I try the same now (with v1.6.3), it only shows an uninstall option.

The linked wiki says an uninstall is not necessary.
I hope that’s not necessary in Silverblue… ?

I think this is best installed as a layer (and not within toolbox), as it’s a network activity monitor/blocker.

Also reported here: Upgrade component in Fedora Silverblue · Issue #1026 · evilsocket/opensnitch · GitHub (please link discussions when you’re reporting an issue in multiple places).

Can you give us the output of rpm-ostree status as a starting point?

Is that me? :shushing_face:

fdra  ~  rpm-ostree status
State: idle
Deployments:
● fedora:fedora/38/x86_64/silverblue
                  Version: 38.20230821.0 (2023-08-21T00:44:15Z)
               BaseCommit: 282f3874e66e7c8f03e52e176defd608926c133e171e4642f20c3019c25b6c9c
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
          LayeredPackages: ...
            LocalPackages: opensnitch-1.6.2-1.x86_64
                           opensnitch-ui-1.6.2-1.noarch

  fedora:fedora/38/x86_64/silverblue
                  Version: 38.20230819.0 (2023-08-19T00:42:32Z)
               BaseCommit: 1e0a8d426c680e8ececaeb458f1796015c4755452cd4f8184d42ca43be23dbb0
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
          LayeredPackages: ...
            LocalPackages: opensnitch-1.6.2-1.x86_64
                           opensnitch-ui-1.6.2-1.noarch

You have the 1.6.2 version installed as a LocalPackage, which means that it does not come from a repo. If you want to install a newer version from a new RPM package, you’ll have to uninstall the one you have and install the new one. You can do it in one command using:

rpm-ostree uninstall opensnitch-1.6.2-1.x86_64 opensnitch-ui-1.6.2-1.noarch --install opensnitch-XYZ.rpm --install opensnitch-ui-.XYZ.rpm

To appease some community flag that hid my post above…
my question was - will it preserve my config, settings, etc. ?

I don’t know. That depends on the application but it should. Files you changed in /etc and /var should remain as you’ve changed them.

Okay, thanks again!