添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Dear Experts,
Below is the error message I am getting while installing  tigervnc-server. I have full access to internet. I followed this link but with no helpe https://www.experts-exchange.com/questions/27764823/How-to-disable-yum-items-when-running-yum-list.html tried to change the DNS server to 8.8.8.8. Please help.
http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer" ]  0.0 B/s | 1.1 kB     --:-- ETA
Trying other mirror.
http://centos.webstuff.co.il/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.fastbull.org/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.syn.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.spd.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.nonstop.co.il/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.isoc.org.il/pub/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.joinweb.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mi.mirror.garr.it/mirrors/CentOS/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
Avatar of Sandy
Sandy 🇮🇳
Try below
yum clean all
yum check
yum erase apf
yum install <pkg>
TY/SA
Avatar of Ibrahim Bazarwala
Ibrahim Bazarwala 🇰🇼

ASKER

Below is the output of yum erase apf
[root@osticket yum.repos.d]#  yum erase apf
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Remove Process
No Match for argument: apf
Determining fastest mirrors
* base: centos.webstuff.co.il
* extras: centos.webstuff.co.il
* updates: centos.webstuff.co.il
http://centos.webstuff.co.il/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.nonstop.co.il/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer" ]  0.0 B/s | 1.1 kB     --:-- ETA
Trying other mirror.
http://centos.fastbull.org/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.spd.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.isoc.org.il/pub/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.syn.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.joinweb.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirrors.prometeus.net/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
Avatar of Sandy
Sandy 🇮🇳
are you able to download these files manually ?
#wget http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
paste the output here from the same system
TY/SA
Avatar of Ibrahim Bazarwala
Ibrahim Bazarwala 🇰🇼

ASKER

Below is the output of
[root@osticket yum.repos.d]# wget http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
--2014-10-07 15:21:40-- http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
Resolving mirror.crazynetwork.it... 93.63.162.59
Connecting to mirror.crazynetwork.it|93. 63.162.59| :80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3744 (3.7K) [application/xml]
Saving to: ârepomd.xml.1â
30% [========================= ========== =====>                                                                                               ] 1,138       --.-K/s   in 1.0s
2014-10-07 15:21:42 (1.17 KB/s) - Read error at byte 1138/3744 (Connection reset by peer). Retrying.
--2014-10-07 15:21:43--  (try: 2) http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
Connecting to mirror.crazynetwork.it|93. 63.162.59| :80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
--2014-10-07 15:21:47--  (try: 3) http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
Connecting to mirror.crazynetwork.it|93. 63.162.59| :80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3744 (3.7K) [application/xml]
repomd.xml.1 has sprung into existence.
Retrying.
--2014-10-07 15:21:51--  (try: 4) http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
Connecting to mirror.crazynetwork.it|93. 63.162.59| :80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3744 (3.7K) [application/xml]
repomd.xml.1 has sprung into existence.
Retrying.
--2014-10-07 15:21:55--  (try: 5) http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
Connecting to mirror.crazynetwork.it|93. 63.162.59| :80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3744 (3.7K) [application/xml]
repomd.xml.1 has sprung into existence.
Retrying.
--2014-10-07 15:22:00--  (try: 6) http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
Connecting to mirror.crazynetwork.it|93. 63.162.59| :80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3744 (3.7K) [application/xml]
repomd.xml.1 has sprung into existence.
Retrying.
[26]+  Stopped                 wget http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml
[root@osticket yum.repos.d]#
Avatar of Sandy
Sandy 🇮🇳
So.. it is not the issue with yum, it is the issue with connection/network which is getting reset and not allowing the file to be get downloaded..
Do you have any other connection from which you can give a try ? because sometimes it is not only proxy responsible for that it also could be issue with ISP or the target server.
TY/SA
Avatar of Ibrahim Bazarwala
Ibrahim Bazarwala 🇰🇼

ASKER

I changed the IP address of the server to the one PC which has full internet access. The other thing I changed it the ISP through policy route in firewall. But still below error
[root@osticket ~]# yum -y install tigervnc-server xorg-x11-fonts-Type1
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.webstuff.co.il
* extras: centos.webstuff.co.il
* updates: centos.webstuff.co.il
http://centos.webstuff.co.il/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14]                                                                                                  PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.nonstop.co.il/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] P                                                                                                 YCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.crazynetwork.it/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14]                                                                                                  PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.fastbull.org/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PY                                                                                                 CURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.spd.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR                                                                                                  56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.isoc.org.il/pub/centos/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.syn.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos.joinweb.co.il/6.5/os/i386/repodata/repomd.xml : [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
[1]+  Stopped                 yum -y install tigervnc-server xorg-x11-fonts-Type1
Thanks.
Avatar of Ibrahim Bazarwala
Ibrahim Bazarwala 🇰🇼

ASKER

I think the problem lies in virtual machine. This server is virtual server hosted on Hyper-V machine.
ASKER CERTIFIED SOLUTION
Avatar of Sandy
Sandy 🇮🇳
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of Ibrahim Bazarwala
Ibrahim Bazarwala 🇰🇼

ASKER