Quando tento, dnf upgrade
obtenho isso como resultado:
error: Verifying a signature using certificate 2C6106201985B60E6C7AC87323F3D4EA75716059 (GitHub CLI <[email protected]>):
1. Certificate 23F3D4EA75716059 invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2024-09-06T11:17:19Z
2. Key 23F3D4EA75716059 invalid: key is not alive
because: The primary key is not live
because: Expired on 2024-09-06T11:17:19Z
packages for the GitHub CLI 20 kB/s | 4.7 kB 00:00
GPG key at https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x23F3D4EA75716059 (0x75716059) is already installed
The GPG keys listed for the "packages for the GitHub CLI" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: gh-2.58.0-1.x86_64
GPG Keys are configured as: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x23F3D4EA75716059
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
--nogpgcheck
não ajuda.
Como faço para atualizar com sucesso para o Fedora 40?
Você precisa remover o pacote com a chave expirada. Execute
para obter uma lista de todos, e então no seu caso você precisa identificar aquele correspondente ao "GitHub CLI", por exemplo algo como
Crédito: https://gist.github.com/e7d/3b786c7410ca14a5ded61eec36de9874
Tente desabilitar o check-in gpg
mudar
para
Dessa forma consegui atualizar o servidor Fedora que estava offline há muito tempo
Neste caso, tive que desinstalar o pacote github primeiro, pois ele parece estar quebrado .
depois disso eu poderia atualizar para o F40 pelos meios normais.