• Uncategorized

About linux : error-Curl-error-7-Couldnt-connect-to-server-for-httpmyserverrpmrepodatarepodataxml

Question Detail

I am running #dnf command in my target(yocto image) via ssh. In the local.conf the PACKAGE_FEED_ARCHS, PACKAGE_FEED_BASE_PATHS, and PACKAGE_FEED_URIS are well set and I tested some of #dnf commands in a different target and everything works fine. In the current target when I try to update rpm packages, it fails(I tried the same way and used the same package server “my.server” for another different target and it works),bellow the error:

error: Curl error (7): Couldn't connect to server for http://my.server/rpm/repodata/repomd.xml [Failed to connect to my.server port 80: No route to host] (http://my.server/rpm/repodata/repomd.xml).

I tried #ping -c 2 my.server and this is the result:

PING my.server (192.168.xxx.xxx): 56 data bytes

--- my.server ping statistics ---

2 packets transmitted, 0 packets received, 100% packet loss

At the same time if I #ping -c 2 my.server in the other target or in my terminal it works:

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

I was looking for the cause of this problem but no luck, could anyone help!

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.