I am running
#dnf command in my target(yocto image) via ssh. In the local.conf the
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).
#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!