1 2 Previous Next 19 Replies Latest reply on Aug 4, 2012 9:31 AM by Dude!

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

    953593
      Hi all,

      i get this error when i try to update a new fresh instalation of OL 6.3


      yum update
      [...]
      Downloading Packages:
      http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/apr-1.3.9-5.el6_2.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"
      Trying other mirror.
      http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/bind-libs-9.8.2-0.10.rc1.el6_3.2.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"
      Trying other mirror.
      http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/bind-utils-9.8.2-0.10.rc1.el6_3.2.x86_64.rpm: *[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"*
      Trying other mirror.
      [....]


      it's the firts update after install from dvd.

      also i get the same error with wget:

      wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/apr-1.3.9-5.el6_2.x86_64.rpm
      --2012-08-02 15:43:39-- http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/apr-1.3.9-5.el6_2.x86_64.rpm
      Resolviendo public-yum.oracle.com... 141.146.44.34
      Connecting to public-yum.oracle.com|141.146.44.34|:80... conectado.
      Petición HTTP enviada, esperando respuesta... 403 Forbidden: header 'Content-Type' value denied
      *2012-08-02 15:43:39 ERROR 403: Forbidden: header 'Content-Type' value denied.*



      it's only yum problem:

      wget google.cl
      --2012-08-02 15:44:44-- http://google.cl/
      Resolviendo google.cl... 173.194.42.31, 173.194.42.23, 173.194.42.24, ...
      Connecting to google.cl|173.194.42.31|:80... conectado.
      Petición HTTP enviada, esperando respuesta... 301 Moved Permanently
      Localización: http://www.google.cl/ [siguiendo]
      --2012-08-02 15:44:45-- http://www.google.cl/
      Resolviendo www.google.cl... 173.194.42.31, 173.194.42.23, 173.194.42.24, ...
      Reusing existing connection to google.cl:80.
      Petición HTTP enviada, esperando respuesta... 200 OK
      Longitud: no especificado [text/html]
      Saving to: `index.html.1'

      [ <=>                                                                                                       ] 13.012 --.-K/s in 0s

      2012-08-02 15:44:45 (77,6 MB/s) - `index.html.1' saved [13012]




      Please really need help here!

      thansk

      Edited by: 950590 on 02-ago-2012 13:43
        • 2. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
          953593
          I'm from Chile...


          any idea about this?


          i can download any rpm from this repo on my laptop,

          but i can't on the new installed server
          they are on the same network

          Edited by: 950590 on 02-ago-2012 13:25

          Edited by: 950590 on 02-ago-2012 13:26
          • 3. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
            929328
            Hi,
            You problem is that you have a huge splodge of third party yum repos installed and have neglected to install and configure yum-priorities so they've overwritten a bunch of OEL supplied packages in the base repos. All those packages with fc16, fc17 and fc18 in their names should not be installed. Your first step should be to install yum-priorities and then configure all your repos to assign priorities to them starting with 1 for all the OEL ones and ranging up to 99 for the least desirable third party repos. then run `rpm -qa` and grep for the pacakges that don't contain "el6" in their names and review them and probably remove them. If they're packages that have overwritten core OEL ones then you'll have to downgrade them to the correct releases.
            Also, to see what repos you have installed packages from:
            rpm -qa --qf "%{VENDOR} \n" | sort | uniq

            The result should be a list of VENDOR tags. To see the packages from a particular Vendor, for example EPEL:
            rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Fedora Project" | cut -d ' ' -f 1 | sort

            The result should be a list of EPEL packages. Repeat for other VENDOR strings. Anything from Livna should go and be replaced by EL6 packages.
            Hope that it helps you.
            Write if you have any questions.
            Kirill Babeyev
            • 4. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
              953593
              it's a new and fresh install from DVD

              just installed, reboot, login and doing yum update (and get this error)
              • 5. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                929328
                Have you installed public yum?
                • 6. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                  953593
                  i think so,

                  just installed from DVD on default options

                  this is the */etc/yum.repo.d/public-yum-ol6.repo* (with no modification)

                  [ol6_latest]
                  name=Oracle Linux $releasever Latest ($basearch)
                  baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
                  gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
                  gpgcheck=1
                  enabled=1

                  [ol6_ga_base]
                  name=Oracle Linux $releasever GA installation media copy ($basearch)
                  baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/$basearch/
                  gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
                  gpgcheck=1
                  enabled=0

                  [ol6_u1_base]
                  name=Oracle Linux $releasever Update 1 installation media copy ($basearch)
                  baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/$basearch/
                  gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
                  gpgcheck=1
                  enabled=0

                  [ol6_u2_base]
                  name=Oracle Linux $releasever Update 2 installation media copy ($basearch)
                  baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/$basearch/
                  gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
                  gpgcheck=1
                  enabled=0

                  [ol6_u3_base]
                  name=Oracle Linux $releasever Update 3 installation media copy ($basearch)
                  baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
                  gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
                  gpgcheck=1
                  enabled=0

                  [ol6_UEK_latest]
                  name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
                  baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
                  gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
                  gpgcheck=1
                  enabled=1

                  [ol6_UEK_base]
                  name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
                  baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
                  gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
                  gpgcheck=1
                  enabled=0
                  • 7. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                    953593
                    i think is not related with repos,

                    even when i try to download an rpm from public oracle repo using wget/curl it fails.

                    but "wget google.com" works fine.
                    • 8. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                      953593
                      *# rpm -qa --qf "%{VENDOR} \n" | sort | uniq*
                      Fujitsu Limited
                      FUJITSU LIMITED
                      Oracle America
                      *# rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Fujitsu Limited" | cut -d ' ' -f 1 | sort*
                      crash-trace-command
                      *# rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "FUJITSU LIMITED" | cut -d ' ' -f 1 | sort*
                      crash-gcore-command
                      *# rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Oracle America" | cut -d ' ' -f 1 | sort*
                      see http://pastebin.com/FxYdxY8M





                      Can find what's the problem :-\


                      thanks for any help

                      Edited by: 950590 on 02-ago-2012 14:49
                      • 9. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                        Dude!
                        http://en.wikipedia.org/wiki/HTTP_403

                        Does you network run some packet inspection that may interfere? Otherwise, is looks to me like a problem with your internet provider, or perhaps you have trouble with the physical network that may depend on network traffic.

                        Are you behind a proxy? You'll need to tell yum about the proxy, in /etc/yum.conf.

                        # The proxy server - proxy server:port number
                        proxy=http://mycache.mydomain.com:3128
                        # The account details for yum connections
                        proxy_username=yum-user
                        proxy_password=qwerty
                        • 10. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                          953593
                          network conection it's ok, because i can update repo metadata with yum update. also works web browsers

                          there is no proxy for my network configuration.

                          on my laptop, on the same network and config, wget some.rpm from this repo works fine.
                          • 11. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                            Dude!
                            Can you try to download a larger file, like 100 MB, and check the performance?
                            On what kind of computer do you have Oracle Linux installed, and what is the network connection?
                            Are you using any type of virtualization?
                            What is your kernel (uname -r)?
                            • 12. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                              953593
                              yes, i can download, average speed is about 400kB/s

                              Instaling on dell PowerEdge 2950, 4G ram, Intel(R) Xeon(TM) CPU 3.00GHz, BCM5708 Gigabit Etherne

                              No virtualization of any kind

                              uname -r
                              2.6.39-200.24.1.el6uek.x86_64
                              • 13. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                                953593
                                OK, this is so f****g weird...


                                i make yum clean all && yum update several times and did not work...

                                then I've changed a line in the repo configuration :

                                gpgcheck=1 to gpgcheck=o on the two of enabled repos (ol6_latest and ol6_UEK_latest)

                                the make againg yum clean all && yum update


                                and yes... downloads of rpm works fine :D

                                then to check if this was the real problem i chagend back gpgcheck to 1 and do yum clean all && yum update

                                and yes again... downloads of rpm works fine again (weird )


                                realy don't know what was the real problem, but at least it's working now....


                                thank you all for your help and comments!!!

                                Edited by: 950590 on 03-ago-2012 6:41
                                • 14. Re: oracle linux 6.3  [Errno 14] PYCURL ERROR 22
                                  Dude!
                                  Just to be sure, assuming that you NIC is on eth0, you might want to check "ethtool eth0" and confirm the output is according to your switch port, in particular using the same duplex setting.

                                  Does the following work, as root:

                                  <pre>
                                  cd /etc/yum.repos.d/
                                  for file in *; do mv $file $file.old; done
                                  wget http://public-yum.oracle.com/public-yum-ol6.repo
                                  yum clean all
                                  yum update
                                  </pre>
                                  1 2 Previous Next