Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running rpm-ostree update #2053

Closed
istvan-derda opened this issue Dec 16, 2024 · 2 comments
Closed

Error when running rpm-ostree update #2053

istvan-derda opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@istvan-derda
Copy link

Describe the bug

Dear bluefin maintainers,

I ran rpm-ostree update manually today, just to notice that it fails. :(

I included the output of the command below. I hope you can help me fix this.

Thanks in advance!

What did you expect to happen?

I expected to be notified in some way, that my system hasn't updated since 2024-10-09 due to an error.
Also I expected this error not to happen. ':)

Output of bootc status

apiVersion: org.containers.bootc/v1
kind: BootcHost
metadata:
  name: host
spec:
  image: null
  bootOrder: default
status:
  staged: null
  booted:
    image: null
    cachedUpdate: null
    incompatible: true
    pinned: false
    store: null
    ostree:
      checksum: 1d9afcb5b0d9dd7d6336023278134807e70e1e9ec02162e20e9d24b9dadf0a28
      deploySerial: 0
  rollback:
    image: null
    cachedUpdate: null
    incompatible: true
    pinned: false
    store: null
    ostree:
      checksum: b01eb2861bc2ed79e08a97c02d53c96486d38bac2f90eda826f72f1508fcff99
      deploySerial: 0
  rollbackQueued: false
  type: null

Output of groups

istvan wheel lxd libvirt incus-admin docker

Extra information or context

Output of rpm-ostree update

> rpm-ostree update
note: automatic updates (stage) are enabled
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:40
Checking out tree 110919f... done
Enabled rpm-md repositories: updates fedora copr:copr.fedorainfracloud.org:hikariknight:looking-glass-kvmfr rpmfusion-free-updates-testing rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree updates-archive
Updating metadata for 'rpmfusion-free-updates-testing'... done
error: Updating rpm-md repo 'rpmfusion-free-updates-testing': Failed to download gpg key for repo 'rpmfusion-free-updates-testing': Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-40 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-40]```
@dosubot dosubot bot added the bug Something isn't working label Dec 16, 2024
@m2Giles
Copy link
Member

m2Giles commented Dec 16, 2024

You somehow enabled the rpm-fusion testing repo.

Disable it.

@istvan-derda
Copy link
Author

istvan-derda commented Dec 16, 2024

Interesting, I cannot remember doing this, especially since disabling a repo is non-trivial.

Here is my solution for future reference:

I had to edit:

  • /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
  • /etc/yum.repos.d/rpmfusion-free.repo
  • /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
  • /etc/yum.repos.d/rpmfusion-nonfree.repo

and in all these files change the line "enabled=1" to "enabled=0"

It works again. I still wish I would have gotten a notification that something is broken. And I really wonder why I had rpmfusion enabled, I wouldn't even know what for. Thanks for the incredibly quick help though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants