yum
yum copied to clipboard
Note for developers: Renew GPG keys for successful build
The GPG key in https://github.com/rpm-software-management/yum/blob/master/test/gpg/key.pub expires, and the build will fail in make check stage.
# gpg key.pub
pub 2048R/D5865417 2017-07-26 Joe Doe <[email protected]>
sub 2048R/2DB632D4 2017-07-26 [expires: 2019-07-26]
As we known, the YUM is deprecated. Here is the fix:
- Go to test/gpg directory
- Generate a new set of GPG key to replace the key.pub, make sure it is in ascii
- Detach sign repomd.xml and generate a new signature repomd.xml.asc, make sure it is in ascii
- Replace the generated fingerprint and keyid in https://github.com/rpm-software-management/yum/blob/f8616a2d6e22705371fe6ba47597238d3d1dc2f1/test/pubringtests.py#L15-L16