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!

  • pheusie@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 day ago

    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 .