I haven’t been able to update my OS for a few weeks now.
I’m getting error messages anytime the system updates in the background, and when I do it manually, it shows following error:
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/aurora:stable error: Preparing import: Fetching manifest: failed to invoke method OpenImage: open /etc/pki/containers/ublue-os.pub: no such file or directory
I already tried fixing it myself by doing a rebase, but it didn’t work, no matter what image I chose.
sudo rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/aurora:latest Pulling manifest: ostree-unverified-registry:ghcr.io/ublue-os/aurora:latest error: Preparing import: Fetching manifest: failed to invoke method OpenImage: open /etc/pki/containers/ublue-os.pub: no such file or directory
sudo bootc switch ghcr.io/ublue-os/aurora:stable error: Switching: Switching (ostree): Preparing import: Fetching manifest: failed to invoke method OpenImage: open /etc/pki/containers/ublue-os.pub: no such file or directory
What next steps should I try? Is there even a fix for it right now?
Edit: I ran sudo cp -a /usr/etc/containers/policy.json /etc/containers, which fixed my problem. Thanks a lot for the help!


Did you tryrpm-ostree reset?EDIT: The solution provided above ‘could’ perhaps work, but perhaps it’s way too radical of a solution 😅 …, so I understand if you don’t wanna go down that route. Instead, consider
sudo cp -a /usr/etc/containers/policy.json /etc/containersas per this comment on github.
No change.EDIT: Fixed! Thanks a lot!
Glad to help out 😊!
Thankfully the model forces upon the system to keep a pristine copy around. Which enabled us to fix this rather easy :P .