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

Home 7 at manual install repo 302 #655

Closed
CzyerChen opened this issue Aug 20, 2024 · 3 comments
Closed

Home 7 at manual install repo 302 #655

CzyerChen opened this issue Aug 20, 2024 · 3 comments

Comments

@CzyerChen
Copy link

CzyerChen commented Aug 20, 2024

Hello, I want to install homer7 manually, but failed to install the sipcapture repository for CentOS/EL 7.
After executing curl -s https://packagecloud.io/install/repositories/qxip/sipcapture/script.rpm.sh | sudo bash, the error occurred

https://packagecloud.io/qxip/sipcapture/el/7/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error 302 - Found
Trying other mirror.


 One of the configured repositories failed (qxip_sipcapture-source),
 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=qxip_sipcapture-source ...

     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 qxip_sipcapture-source
        or
            subscription-manager repos --disable=qxip_sipcapture-source

     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=qxip_sipcapture-source.skip_if_unavailable=true

failure: repodata/repomd.xml from qxip_sipcapture-source: [Errno 256] No more mirrors to try.

Does this question matter?How can I continue to install it ?

@adubovikov
Copy link
Member

yes, it makes 302 and yum should do redirect. Can you check it with wget ?

wget https://packagecloud.io/qxip/sipcapture/el/7/SRPMS/repodata/repomd.xml

@bilalrao12
Copy link

@CzyerChen The mentioned error could also be due to Yum cache or inaccessibility of packagecloud.io url from your system.

Try again after cleaning the yum cache with below command and make sure the url is whitelisted if there is any firewall.
yum clean all
curl -s https://packagecloud.io/install/repositories/qxip/sipcapture/script.rpm.sh | sudo bash

@CzyerChen
Copy link
Author

Thanks, probably due to the network, I have manually installed all of homer/heplify/heplify-server by downloading the rpm packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants