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
    3
    ·
    edit-2
    17 hours ago

    Did you try rpm-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/containers

    as per this comment on github.