centos 7 yum update error signature

40 views
Skip to first unread message

gon

unread,
Aug 31, 2023, 5:59:46 AMAug 31
to openresty-en
Hi guys

We are checking updates on CentOS 7 x64 and we found this:

https://openresty.org/package/centos/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for openresty
Trying other mirror.


 One of the configured repositories failed (Official OpenResty Open Source Repository for CentOS),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=openresty ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable openresty
        or
            subscription-manager repos --disable=openresty

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=openresty.skip_if_unavailable=true

failure: repodata/repomd.xml from openresty: [Errno 256] No more mirrors to try.
https://openresty.org/package/centos/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for openresty

Any clue about how to solve it?
Best regards

Junlong li

unread,
Sep 29, 2023, 6:12:10 AMSep 29
to openresty-en
This is supposed to be a temporary error

gon

unread,
Oct 25, 2023, 4:59:31 AMOct 25
to openresty-en
We are still receiving it

Rainer Canavan

unread,
Oct 25, 2023, 5:38:20 AMOct 25
to openre...@googlegroups.com
On Wed, Oct 25, 2023 at 10:59 AM gon <gonzalo...@elespanol.com> wrote:
>
> We are still receiving it

Your initial report, just as this one, isn't all that great. You don't
mention if you received this error message when you initially
activated the repo, or if it has worked before. In any case, the exact
steps you had taken to install the repository would have been useful,
and possibly the .repo file you're using.

anyway, did you actually add the GPG key for the openresty repo to the
keyring that rpm uses? I believe the key is at
https://openresty.org/package/pubkey.gpg

Rainer


> El viernes, 29 de septiembre de 2023 a las 12:12:10 UTC+2, openresty-en escribió:
>>
>> This is supposed to be a temporary error
>>
>>
>>
>> On Thursday, August 31, 2023 at 5:59:46 PM UTC+8 gon wrote:
>>>
>>> Hi guys
>>>
>>> We are checking updates on CentOS 7 x64 and we found this:
>>>
>>> https://openresty.org/package/centos/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for openresty
>>> Trying other mirror.
[...]

gon

unread,
Oct 25, 2023, 6:07:06 AMOct 25
to openresty-en
its funny, I pasted the log and I said, checking updates, nor installing.
This repo was installed 4-5 years ago and it has been working flawless since then. is it that information all you need?

openresty/7/x86_64/signature                                                                                                                                                                                             |  490 B  00:00:00
Retrieving key from https://openresty.org/package/pubkey.gpg
openresty/7/x86_64/signature                                                                                                                                                                                             | 2.9 kB  00:00:00 !!!

https://openresty.org/package/centos/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for openresty
Trying other mirror.


 One of the configured repositories failed (Official OpenResty Open Source Repository for CentOS),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=openresty ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable openresty
        or
            subscription-manager repos --disable=openresty

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=openresty.skip_if_unavailable=true

failure: repodata/repomd.xml from openresty: [Errno 256] No more mirrors to try.
https://openresty.org/package/centos/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for openresty


openresty.repo

[openresty]
name=Official OpenResty Open Source Repository for CentOS
baseurl=https://openresty.org/package/centos/$releasever/$basearch
skip_if_unavailable=False
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://openresty.org/package/pubkey.gpg
enabled=1
enabled_metadata=1
Reply all
Reply to author
Forward
0 new messages