1password failing to install

I’m trying to install the 1password rpm and keep getting the following error:

error: Running %post for 1password: bwrap(/bin/sh): Child process exited with code 1; run `journalctl -t 'rpm-ostree(1password.post)'` for more information

when I look at the journalctl it becomes apparent that 1password is trying to create a ‘local’ folder where there is a ‘local’ folder:

rpm-ostree(1password.post)[9071]: mkdir: cannot create directory ‘/usr/local’: File exists

does anyone have any pointers (besides installing the flatpak)

Thanks

Unless you have an overwhelming desire to pay for software which doesn’t install properly, I’d sack it off for Bitwarden. The inability to create a directory which already exists should not be cause for an installation failure, as you’re aware. I’d not trust my secrets to something with that “out-of-the-box experience”.

Where was the rpm sourced from?

Even if it weren’t for that mkdir command, if that means it’s trying to put things under /usr/local, that’s a showstopper anyway as that directory is a symlink to the /var partition in Atomic.

The rpm is from 1password.com, I’ve not had issues before. It’s sounding like this might be worth getting in touch with 1password about.

looks like someone else encountered the same issue: https://www.1password.community/1password-at-home-31/update-to-fedora-silverblue-fails-25075

Might want to look at the flatpak hosted on Flathub as an alternative or temporary solution until their official RPM package works on a Fedora atomic variant.

Instances like this are where the shortcomings of atomic distributions are exposed, due to their “non-standardness”.

And the entire /usr is read-only on Atomic.

Just adding my workaround in case it helps until they release the fix on stable:

  1. Install updates while removing the offending 1password package
sudo rpm-ostree upgrade --uninstall=1password --uninstall=1password-cli
  1. Then reboot into the updated OS
  2. Download the last working version
wget https://downloads.1password.com/linux/rpm/stable/x86_64/1password-8.12.26.x86_64.rpm
  1. Install the downloaded version
sudo rpm-ostree install 1password-8.12.26.x86_64.rpm
  1. Reboot (or apply-live to test)

workaround is local install it wont get updates just to note that i posted on there forums correct similar method and how to get it to layered package

Sorry, I should have elaborated a bit more on my workaround. It is local install with no updates, which was exactly my point, because updates are broken right now. Local install won’t get updates so the broken upstream package won’t interfere with other rpm-ostree updates, so you are safe until they release the fixed version.

I should have also emphasized that the local install is a temporary workaround, once they release the fixed upstream, you just replace your local install with their upstream.

They seem to have already fixed this in their nightly (edge) repo, so I assume we are close to a proper stable release here and the workaround won’t be needed for too long.

They have a fix in the nightly builds at: https://www.1password.community/1password-at-home-31/update-to-fedora-silverblue-fails-25075

However, there are other known issues with the 1password app: Issues · fedora-sysexts/community · GitHub (here it’s the sysext, but the issues would apply similarly). So you might need other workarounds.