{"id":505,"date":"2010-01-04T09:56:49","date_gmt":"2010-01-04T15:56:49","guid":{"rendered":"http:\/\/75.134.27.61:8101\/wordpress\/?p=505"},"modified":"2012-08-14T20:49:49","modified_gmt":"2012-08-15T01:49:49","slug":"solvedfedora-repository-error-errno-14-pycurl-error-6","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/solvedfedora-repository-error-errno-14-pycurl-error-6\/","title":{"rendered":"[Solved]Fedora Linux Repository Error ([Errno 14] PYCURL ERROR 6)"},"content":{"rendered":"<p>I was having trouble to update my Fedora Linux system by running <strong>sudo yum update<\/strong>.<\/p>\n<pre>sudo yum update\r\nLoaded plugins: presto, refresh-packagekit\r\nError: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.\r\nPlease verify its path and try again\r\n<\/pre>\n<p>sometimes I see different sets of error:<\/p>\n<pre>http:\/\/download.fedoraproject.org\/pu...ta\/repomd.xml: [Errno 14] PYCURL ERROR 6 - \"\"\r\n<\/pre>\n<p>or<\/p>\n<pre>http:\/\/download.fedoraproject.org\/pu...ta\/repomd.xml: [Errno 14] PYCURL ERROR 7 - \"\"\r\n<\/pre>\n<p>After searching these error messages on Google, I found tons of the workaround methods. <strong>Unfortunately, none of them works!<\/strong> Finally, I came up a way to fix this problem.<\/p>\n<p>The reason why you see this error message because your system could not connect to the main Fedora server(At the time of writing this blog, fedoraproject.org has been downed for at least <strong>4<\/strong> days.), so that your computer is not redirected to any Fedora mirror servers. The easiest way to fix this problem is by specifying a mirror server in your yum repository configuration file.<\/p>\n<p>First, let&#8217;s find a mirror that is closed to your location:<\/p>\n<p><a href=\"https:\/\/fedoraproject.org\/wiki\/Extras\/Mirrors\" target=\"_blank\">Fedora Mirror (Fedoraproject.org)<\/a><\/p>\n<p>or<\/p>\n<p><a href=\"http:\/\/webcache.googleusercontent.com\/search?q=cache:WQJP4X2oydUJ:fedoraproject.org\/wiki\/Extras\/Mirrors+https:\/\/fedoraproject.org\/wiki\/Extras\/Mirrors&#038;cd=1&#038;hl=en&#038;ct=clnk&#038;gl=us\" target=\"_blank\">Google Cache<\/a><\/p>\n<p>If you have any trouble to access the information, here is a copy of the list:<\/p>\n<h3>North America<\/h3>\n<pre>\r\nftp:\/\/limestone.uoregon.edu\/fedora\/extras\r\nhttp:\/\/limestone.uoregon.edu\/fedora\/extras\r\n<\/pre>\n<pre>\r\nftp:\/\/fedora.bu.edu\/extras\r\n<\/pre>\n<pre>\r\nhttp:\/\/mirrors.kernel.org\/fedora\/extras\r\nftp:\/\/mirrors.kernel.org\/fedora\/extras\r\nrsync:\/\/mirrors.kernel.org\/fedora\/extras\r\n<\/pre>\n<pre>\r\nftp:\/\/ftp.muug.mb.ca\/pub\/fedora\/linux\/extras\/\r\nhttp:\/\/www.muug.mb.ca\/pub\/fedora\/linux\/extras\/\r\nrsync:\/\/rsync.muug.mb.ca\/fedora-linux-extras\/\r\n<\/pre>\n<pre>\r\nhttp:\/\/mirror.hiwaay.net\/redhat\/fedora\/linux\/extras\/\r\nftp:\/\/mirror.hiwaay.net\/redhat\/fedora\/linux\/extras\/\r\nrsync:\/\/mirror.hiwaay.net\/fedora-linux-extras\/\r\n<\/pre>\n<pre>\r\nftp:\/\/mirror.phy.olemiss.edu\/fedora\/extras\/\r\nhttp:\/\/mirror.phy.olemiss.edu\/mirror\/fedora\/extras\/\r\n<\/pre>\n<pre>\r\nhttp:\/\/fedora.mirrors.tds.net\/pub\/fedora-core-extras\r\nftp:\/\/fedora.mirrors.tds.net\/pub\/fedora-core-extras\r\nrsync:\/\/fedora.mirrors.tds.net\/fedora-core-extras\r\n<\/pre>\n<pre>\r\nhttp:\/\/mirror.cpsc.ucalgary.ca\/mirror\/fedora\/linux\/extras\/\r\nftp:\/\/mirror.cpsc.ucalgary.ca\/mirror\/fedora\/linux\/extras\/\r\nrsync:\/\/mirror.cpsc.ucalgary.ca\/fedora-linux-extras\/\r\n<\/pre>\n<pre>\r\nhttp:\/\/www.gtlib.gatech.edu\/pub\/fedora.redhat\/linux\/extras\/\r\nftp:\/\/ftp.gtlib.gatech.edu\/pub\/fedora.redhat\/linux\/extras\/\r\nrsync:\/\/rsync.gtlib.gatech.edu\/fedora-linux-extras\/\r\n<\/pre>\n<h3>Europe<\/h3>\n<pre>\r\nhttp:\/\/sunsite.mff.cuni.cz\/pub\/fedora-extras\/\r\nftp:\/\/sunsite.mff.cuni.cz\/pub\/fedora-extras\/\r\nrsync:\/\/sunsite.mff.cuni.cz\/fedora\/extras\/\r\n<\/pre>\n<pre>\r\nftp:\/\/alviss.et.tudelft.nl\/pub\/fedora\r\n<\/pre>\n<pre>\r\nhttp:\/\/ftp.lug.ro\/fedora\/linux\/extras\/\r\nftp:\/\/ftp.lug.ro\/fedora\/linux\/extras\/\r\n<\/pre>\n<pre>\r\nhttp:\/\/ftp.uni-bayreuth.de\/linux\/fedora\/linux\/extras\r\nftp:\/\/ftp.uni-bayreuth.de\/pub\/linux\/fedora\/linux\/extras\r\nrsync:\/\/rsync.uni-bayreuth.de\/fedora-linux-extras\r\n<\/pre>\n<pre>\r\nhttp:\/\/ftp1.skynet.cz\/pub\/linux\/fedora\/extras\/\r\nftp:\/\/ftp1.skynet.cz\/pub\/linux\/fedora\/extras\/\r\n<\/pre>\n<pre>\r\nftp:\/\/ftp.tu-chemnitz.de\/pub\/linux\/fedora-core-extras\/\r\nhttp:\/\/wftp.tu-chemnitz.de\/pub\/linux\/fedora-core-extras\/\r\n<\/pre>\n<pre>\r\nftp:\/\/ftp.chl.chalmers.se\/pub\/fedora\/linux\/extras\/\r\n<\/pre>\n<pre>\r\nftp:\/\/ftp.udl.es\/pub\/fedora\/linux\/extras\/\r\nhttp:\/\/ftp.udl.es\/pub\/fedora\/linux\/extras\/\r\nrsync:\/\/ftp.udl.es\/pub\/fedora\/linux\/extras\/\r\n<\/pre>\n<pre>\r\nftp:\/\/gd.tuwien.ac.at\/opsys\/linux\/fedora\/extras\/\r\nhttp:\/\/gd.tuwien.ac.at\/opsys\/linux\/fedora\/extras\/\r\nrsync:\/\/gd.tuwien.ac.at\/opsys\/linux\/fedora\/extras\/\r\n<\/pre>\n<pre>\r\nhttp:\/\/fr.rpmfind.net\/linux\/fedora\/extras\/\r\nftp:\/\/fr.rpmfind.net\/linux\/fedora\/extras\/\r\nrsync:\/\/fr.rpmfind.net\/linux\/fedora\/extras\/\r\n<\/pre>\n<pre>\r\nhttp:\/\/mirror.etf.bg.ac.yu\/fedora\/linux\/extras\r\nftp:\/\/mirror.etf.bg.ac.yu\/fedora\/linux\/extras\r\nrsync:\/\/mirror.etf.bg.ac.yu\/fedora\/linux\/extras\r\n\r\nhttp:\/\/mirror2.etf.bg.ac.yu\/fedora\/linux\/extras\r\nftp:\/\/mirror2.etf.bg.ac.yu\/fedora\/linux\/extras\r\nrsync:\/\/mirror2.etf.bg.ac.yu\/fedora\/linux\/extras\r\n<\/pre>\n<pre>\r\nftp:\/\/klid.dk\/fedora\/linux\/extras\/\r\nhttp:\/\/klid.dk\/homeftp\/fedora\/linux\/extras\/\r\n<\/pre>\n<h3>Russia<\/h3>\n<pre>\r\nhttp:\/\/ftp.rhd.ru\/pub\/fedora\/linux\/extras\/\r\nftp:\/\/ftp.rhd.ru\/pub\/fedora\/linux\/extras\/\r\n<\/pre>\n<pre>\r\nftp:\/\/ftp.chg.ru\/pub\/Linux\/fedora\/linux\/extras\/\r\nhttp:\/\/ftp.chg.ru\/pub\/Linux\/fedora\/linux\/extras\/\r\nrsync:\/\/ftp.chg.ru\/fedora\/linux\/extras\/\r\n<\/pre>\n<p><\/p>\n<h3>Taiwan, Asia<\/h3>\n<pre>\r\nhttp:\/\/ftp.isu.edu.tw\/pub\/Linux\/Fedora\/linux\/extras\/\r\nftp:\/\/ftp.isu.edu.tw\/pub\/Linux\/Fedora\/linux\/extras\/\r\n<\/pre>\n<h3>Australia<\/h3>\n<pre>\r\nhttp:\/\/planetmirror.com\/pub\/fedora\/linux\/extras\/\r\nftp:\/\/ftp.planetmirror.com\/pub\/fedora\/linux\/extras\/\r\nrsync:\/\/rsync.planetmirror.com\/fedora\/linux\/extras\/\r\n<\/pre>\n<pre>\r\nhttp:\/\/mirror.pacific.net.au\/linux\/fedora\/linux\/extras\/\r\nftp:\/\/mirror.pacific.net.au\/linux\/fedora\/linux\/extras\/\r\n<\/pre>\n<p>In my example, I will use the following parameters:<br \/>\nMirror: <strong>http:\/\/fedora.mirrors.tds.net\/<\/strong><br \/>\nVersion($releasever): <strong>12<\/strong><br \/>\nArchitecture($basearch): <strong>x86_64<\/strong><\/p>\n<p>If you are not sure how to determine the version and the architecture, you can type:<\/p>\n<pre>cat \/etc\/redhat-release &amp;&amp; uname -a\r\n<\/pre>\n<p>It should say something like:<\/p>\n<pre>Fedora release 12 (Constantine)\r\nLinux 2.6.31.6-145.fc12.x86_64 #1 SMP Sat Nov 21 15:57:45 EST 2009 x86_64 x86_64 x86_64 GNU\/Linux\r\n<\/pre>\n<p>Next, run the following:<\/p>\n<pre>sudo nano \/etc\/yum.repos.d\/fedora.repo<\/pre>\n<p>and edit the following from:<\/p>\n<pre>\r\n[fedora]\r\n...\r\nbaseurl=http:\/\/download.fedoraproject.org\/pub\/fedora\/linux\/releases\/$releasever\/Everything\/$basearch\/os\/\r\n\r\n[fedora-source]\r\nbaseurl=http:\/\/download.fedoraproject.org\/pub\/fedora\/linux\/releases\/$releasever\/Everything\/source\/SRPMS\/\r\n<\/pre>\n<p>to:<\/p>\n<pre>\r\n[fedora]\r\n...\r\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/fedora\/linux\/releases\/$releasever\/Everything\/$basearch\/os\/\r\nbaseurl=http:\/\/fedora.mirrors.tds.net\/pub\/fedora\/releases\/12\/Everything\/x86_64\/os\/\r\n\r\n[fedora-source]\r\n...\r\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/fedora\/linux\/releases\/$releasever\/Everything\/source\/SRPMS\/\r\nbaseurl=http:\/\/fedora.mirrors.tds.net\/pub\/fedora\/releases\/12\/Everything\/source\/SRPMS\/\r\n<\/pre>\n<p>Now, let&#8217;s do something similar to another file:<\/p>\n<pre>\r\nsudo nano \/etc\/yum.repos.d\/fedora-updates.repo\r\n<\/pre>\n<pre>\r\n[updates]\r\n...\r\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/fedora\/linux\/updates\/$releasever\/$basearch\/\r\nbaseurl=http:\/\/fedora.mirrors.tds.net\/pub\/fedora\/updates\/12\/x86_64\/\r\n\r\n[updates-source]\r\n...\r\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/fedora\/linux\/updates\/$releasever\/SRPMS\/\r\nbaseurl=http:\/\/fedora.mirrors.tds.net\/pub\/fedora\/updates\/12\/SRPMS\/\r\n<\/pre>\n<p>Now, try to run the update again by:<\/p>\n<pre>\r\nsudo yum clean all\r\nsudo yum update\r\n<\/pre>\n<p>It should work now. Enjoy your update!<\/p>\n<h2>Thoughts:<\/h2>\n<p>The reason why this problem happens because the Fedora server is down for at least 4 days(From 12\/31 to 1\/4, 2010, for <strong>four<\/strong> days.), and the problem is not fixed! Yes I know it is in the holiday, but it is not an excuse.<\/p>\n<p>One reason why my company prefers using Fedora Linux is that it has a long history and it is backed by Red Hat. Now the quality of their service seems going down. (Their servers have gone down multiple times in December, and each down time lasted longer than a day.) I think it is probably about time for us to move to a different Linux distribution, such as Ubuntu.<\/p>\n<p><a href=\"\/wordpress\/wp-content\/uploads\/2010\/01\/Fedora-Down.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"543\" data-permalink=\"https:\/\/icesquare.com\/wordpress\/solvedfedora-repository-error-errno-14-pycurl-error-6\/fedora-down\/#main\" data-orig-file=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2010\/01\/Fedora-Down.png\" data-orig-size=\"486,353\" data-comments-opened=\"1\" data-image-title=\"Fedora-Down\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Fedoraproject.org has downed for 4 days.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2010\/01\/Fedora-Down.png\" src=\"\/wordpress\/wp-content\/uploads\/2010\/01\/Fedora-Down-300x217.png\" alt=\"Fedoraproject.org has downed.\" title=\"Fedora-Down\" width=\"300\" height=\"217\" class=\"size-medium wp-image-543\" srcset=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2010\/01\/Fedora-Down-300x217.png 300w, https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2010\/01\/Fedora-Down.png 486w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>FYI, I personally use FreeBSD for all of my server applications.<\/strong><\/p>\n<p>&#8211;Derrick<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was having trouble to update my Fedora Linux system by running sudo yum update. sudo yum update Loaded plugins: presto, refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) for repository: <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/solvedfedora-repository-error-errno-14-pycurl-error-6\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,7,144,6,69],"tags":[49,48],"class_list":["post-505","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-freebsd","category-sever-problem","category-technology","category-troubleshooting-technology","tag-fedora","tag-linux"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-89","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1469,"url":"https:\/\/icesquare.com\/wordpress\/upgrade-fedora-linux-using-command-line\/","url_meta":{"origin":505,"position":0},"title":"Upgrade Fedora Linux Using Command Line","author":"Derrick","date":"June 28, 2011","format":false,"excerpt":"Recently, I decide to upgrade all of the Fedora Linux servers. As of today, the latest version is Fedora 15. As for my servers, they are in between Fedora 11 and 14. In the other words, I will need to upgrade some machine from 11 all the way to 15.\u2026","rel":"","context":"In &quot;Server Problems&quot;","block_context":{"text":"Server Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-150x150.png","width":350,"height":200},"classes":[]},{"id":4083,"url":"https:\/\/icesquare.com\/wordpress\/rhel-7-mariadb-mysql-error-1018-hy000-cant-read-dir-of-errno-24\/","url_meta":{"origin":505,"position":1},"title":"RHEL 7 \/ MariaDB \/ MySQL: ERROR 1018 (HY000): Can&#8217;t read dir of &#8216;.&#8217; (errno: 24)","author":"Derrick","date":"March 5, 2016","format":false,"excerpt":"Recently, I decided to upgrade a database server from RHEL 6 (CentOS 6) to RHEL 7 (CentOS 7), which involves switching from MySQL 5.5 to MariaDB 5.5. Our server hosts about 100 databases, when I was testing them individually, I didn't see any problem. However, when I ran the back\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1511,"url":"https:\/\/icesquare.com\/wordpress\/how-to-clean-up-the-dmesg-message\/","url_meta":{"origin":505,"position":2},"title":"How to clean up the dmesg message","author":"Derrick","date":"August 24, 2011","format":false,"excerpt":"Recently, I found that my dmesg log are filled of junk. Or I should say it contains lots of errors and complains that I already fix. However, I don't want to reboot the machine to get rid of these error messages. How can I do it? The solution is very\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1643,"url":"https:\/\/icesquare.com\/wordpress\/set-up-pure-ftpd-server-with-virtual-user-on-fedora-linux\/","url_meta":{"origin":505,"position":3},"title":"How to Set up a Pure-FTPd Server with Virtual User on Fedora","author":"Derrick","date":"October 11, 2011","format":false,"excerpt":"This tutorial is for Fedora Linux. If you are looking for setting up Pure-FTPd on FreeBSD, click here. My client likes to send me a huge data file (More than 10GB after compressed). Since I don't care about the security during the transfer, I decide to go with the old\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/10\/pure-ftpd.png","width":350,"height":200},"classes":[]},{"id":2156,"url":"https:\/\/icesquare.com\/wordpress\/cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysql-sock-2\/","url_meta":{"origin":505,"position":4},"title":"Can&#8217;t connect to local MySQL server through socket &#8216;\/var\/lib\/mysql\/mysql.sock&#8217; (2)","author":"Derrick","date":"December 21, 2011","format":false,"excerpt":"When I tried to connect to the MySQL server through PHP, I got the following error: Can't connect to local MySQL server through socket '\/var\/lib\/mysql\/mysql.sock' (2) To give you some background, here is my situation. My Fedora Linux is a 64-bit machine, and I have installed a 32-bit version of\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3692,"url":"https:\/\/icesquare.com\/wordpress\/centos-7-epel-remi-location\/","url_meta":{"origin":505,"position":5},"title":"CentOS 7 EPEL \/ REMI Location","author":"Derrick","date":"July 18, 2014","format":false,"excerpt":"CentOS 7 was released about a week ago, so I decided to give it a try. As you probably know, CentOS is a clone of Red Hat Enterprise Linux(RHEL). Typically, Red Hat put the new features in Fedora first. If things go well, they will move the new features to\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":48,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"predecessor-version":[{"id":528,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/505\/revisions\/528"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}