-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unable to check for software updates in Cockpit #22
Comments
Hi @phil-harmoniq could you specify which image you used? I can blindly blame the almalinux-release-raspberrypi package but I would love to confirm the version before further investigation. Edit: Grammarly |
Of course, I'm using the AlmaLinux-9-RaspberryPi-9.1-20221116.aarch64.raw.xz from the repo and version 276.1 of Cockpit. |
Hi @phil-harmoniq, for fix there is TLDR with soulution. If you want the steps to reproduce and investigate then: I just checked and there is a problem. Not only with the cockpit, but also with the bash and command not found wrapper: [alex@localhost ~]$ sadfafdsafasfsa
bash: sadfafdsafasfsa: command not found...
Failed to search for file: Failed to download gpg key for repo 'raspberrypi': Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux] Firstly I checked the installed packages that are AlmaLinux branding/repositories related: [alex@localhost ~]$ rpm -qa | grep '^alma'
almalinux-backgrounds-90.5.1-1.1.el9.noarch
almalinux-release-9.1-1.9.el9.aarch64
almalinux-release-raspberrypi-9-1.el9.aarch64
almalinux-indexhtml-9-1.el9.noarch
almalinux-gpg-keys-9.1-1.9.el9.aarch64
almalinux-repos-9.1-1.9.el9.aarch64
almalinux-logos-90.5.1-1.1.el9.aarch64 There is almalinux-gpg-keys-9.1-1.9.el9.aarch64 package that should contain the AlmaLinux gpg keys. I listed the keys and then use
That means that the problem for 99% is the .repo file that is in the
So some repo file uses the wrong TLDRTo fix you can run the sed (as root or with sudo): sed -i 's#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9#' /etc/yum.repos.d/almalinux-raspberrypi.repo or create the symlink for the key cd /etc/pki/rpm-gpg/ && sudo ln -s RPM-GPG-KEY-AlmaLinux-9 RPM-GPG-KEY-AlmaLinux @srbala could you fix the almalinux-release-raspberrypi package? |
Thanks @AlexBaranowski that fix works on my Raspberry Pi 👍 |
@andrewlukoshko @srbala the Best, |
Update for It's also possible to fix this by importing GPG key manually:
I'll close this issue when we have updated image. |
The root cause is the same with #19 and almalinux-package-raspberrypi package is already fixed. |
Now the issue is solved at 20230615 image. |
…unner, Vagrant VM with Fedora, and arpm64 docker image AlmaLinux#22
Hello,
I've been testing AlmaLinux on a Raspberry Pi but ran into an issue while using Cockpit. When trying to check for updates Cockpit gives the following error:
Sure enough, the rpm-gpg folder doesn't have that file available, but there are files for CentOS and RedHat:
I am not super familiar with how the GPG keys are supposed to work. Is this a bug in Cockpit or with the AlmaLinux image?
The text was updated successfully, but these errors were encountered: