This discussion is archived
6 Replies Latest reply: Apr 18, 2013 4:55 AM by 1003896 RSS

oracle linux 6.3: (yum update) [Errno 14] PYCURL ERROR 18

956267 Newbie
Currently Being Moderated
Hi all,

I installed yesterday Oracle Linux 6.3 in the first time and when I tried to do yum update I got the following error:

[root@ole6 ~]# yum update
Loaded plugins: refresh-packagekit, security
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/i386/repodata/primary.xml.gz: [Errno 14] PYCURL ERROR 18 - "transfer closed with 1639799 bytes remaining to read"
Trying other mirror.
Error: failure: repodata/primary.xml.gz from ol6_latest: [Errno 256] No more mirrors to try.


How can I solve this problem?

Thanks in advanced.
  • 1. Re: oracle linux 6.3: (yum update) [Errno 14] PYCURL ERROR 18
    Avi Miller Guru
    Currently Being Moderated
    YosiK wrote:
    http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/i386/repodata/primary.xml.gz: [Errno 14] PYCURL ERROR 18 - "transfer closed with 1639799 bytes remaining to read"
    You might've caught it just as the repository was being updated on the server side. Try:
    # yum clean all
    # yum update
    And see if that works. Also, are you using a proxy to reach public-yum or are you going direct?
  • 2. Re: oracle linux 6.3: (yum update) [Errno 14] PYCURL ERROR 18
    956267 Newbie
    Currently Being Moderated
    Hi Avi,

    Thanks for your reply. as I said this is my first time installing Linux so not all the terms are clear to me.
    I installed OL6.3 through Oracle VirtualBox 4.1.18.

    anyway, I did what you recomanded and it's still not working:

    [root@ole6 ~]# yum clean all
    Loaded plugins: refresh-packagekit, security
    Cleaning repos: ol6_UEK_latest ol6_latest
    Cleaning up Everything
    [root@ole6 ~]# yum update
    Loaded plugins: refresh-packagekit, security
    ol6_UEK_latest | 1.2 kB 00:00
    ol6_UEK_latest/primary | 2.3 MB 00:10
    ol6_UEK_latest 64/64
    ol6_latest | 1.4 kB 00:00
    http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/i386/repodata/primary.xml.gz: [Errno 14] PYCURL ERROR 18 - "transfer closed with 1574263 bytes remaining to read"
    Trying other mirror.
    http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/i386/repodata/primary.xml.gz: [Errno 14] PYCURL ERROR 18 - "transfer closed with 1459575 bytes remaining to read"
    Trying other mirror.
    Error: failure: repodata/primary.xml.gz from ol6_latest: [Errno 256] No more mirrors to try.

    -------------------------------

    when I tried to download http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/i386/repodata/primary.xml.gz
    by IE of my host (Windows) I succeed but when i tried to do the same through Firefox of the virtual machine the download stopped after approximally 15MB which is similar to what happened with the PYCURL ERROR 18 above.

    Are there any configuration I need to set in my linux installation or maybe in the oracle virtualbox setting?

    Thanx,
    Yosi
  • 3. Re: oracle linux 6.3: (yum update) [Errno 14] PYCURL ERROR 18
    956267 Newbie
    Currently Being Moderated
    It seems that the problem was solved after I config the paramter:
    SELINUX=disabled

    this parameter exist in /etc/selinux/config file and the default value was:
    SELINUX=enforcing

    changing the value to disabled releases the limitation I have to download file more than ~15M.
  • 4. Re: oracle linux 6.3: (yum update) [Errno 14] PYCURL ERROR 18
    956267 Newbie
    Currently Being Moderated
    It seems that the problem was solved after I config the paramter:
    SELINUX=disabled

    this parameter exist in /etc/selinux/config file and the default value was:
    SELINUX=enforcing

    changing the value to disabled releases the limitation I have to download file more than ~15M.
  • 5. Re: oracle linux 6.3: (yum update) [Errno 14] PYCURL ERROR 18
    Dude! Guru
    Currently Being Moderated
    This rather looks like coincidence to me. SELinux defines access control security policies. I don't see how this would limit your maximum download size. Perhaps your system was running out of disk space?
  • 6. Re: oracle linux 6.3: (yum update) [Errno 14] PYCURL ERROR 18
    1003896 Newbie
    Currently Being Moderated
    I was with the same problem, after try many things, I changed this parameter and it works :)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points