Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: curl is broken

  1. #1
    Join Date
    Nov 2009
    Location
    Colorado
    Posts
    11

    Default curl is broken

    This is an example of the error I receive when trying to do an update via
    YaST, YaST2, or zypper. Basically, curl is broken. With out it functioning
    normally, I can't use openSUSE's update mechanism to fix my system. Need to
    find a way to manually fix / upgrade curl.

    Any ideas?

    TIA

    There was an error in the repository initialization.
    'Updates-for-openSUSE-11.4-11.4-0': [|] Valid metadata not found at
    specified URL(s)
    History:
    - Unknown error reading from 'http://download.opensuse.org/update/11.4/'
    - SKIP request: User-requested skipping of a file
    - Download (curl) error for
    'http://download.opensuse.org/update/11.4/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Couldn't resolve host 'download.opensuse.org'

    Download (curl) error for
    'http://download.opensuse.org/update/11.4/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Couldn't resolve host 'download.opensuse.org'


    == curl version ==

    acct@host:~> rpm -qa | grep curl
    libcurl4-32bit-7.21.2-9.1.x86_64
    curl-7.21.2-9.1.x86_64
    libcurl4-7.21.2-9.1.x86_64


    --
    Harv

  2. #2
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    1,711

    Default Απ: curl is broken

    Hello and welcome to our community

    As I see the problem is in openSUSE-update repository
    Try to use different mirror for that

    Here they are my repositories
    Code:
    # | Alias                            | Name                             | Enabled | Refresh | Priority | Type   | URI                                                               | Service
    --+----------------------------------+----------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------+--------
    1 | Packman Repository               | Packman Repository               | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_11.4/                       |        
    2 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/                         |        
    3 | libdvdcss repository             | libdvdcss repository             | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/11.4/                              |        
    4 | openSUSE-11.4-11.4-0             | openSUSE-11.4-11.4-0             | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-_NEC_DVD_RW_ND-3520AW,/dev/sr0 |        
    5 | repo-debug                       | openSUSE-11.4-Debug              | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/    |        
    6 | repo-debug-update                | openSUSE-11.4-Update-Debug       | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/11.4/                   |        
    7 | repo-non-oss                     | openSUSE-11.4-Non-Oss            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/      |        
    8 | repo-oss                         | openSUSE-11.4-Oss                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/          |        
    9 | repo-source                      | openSUSE-11.4-Source             | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.4/repo/oss/   |
    Try also a
    Code:
    # zypper refresh
    and send the output here.
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15.3||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1080 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: curl is broken

    On 04/20/2011 05:26 PM, Harv wrote:
    >
    > Any ideas?
    > Error code: Connection failed
    > Error message: Couldn't resolve host 'download.opensuse.org'


    its not curl problem, it is a DNS problem...

    change your repo address
    from > http://download.opensuse.org/update/11.4/
    to > http://195.135.221.134/update/11.4/

    it should work...of course, i don't know why the DNS failed for that,
    and still lets you post to the forum... strange! maybe curl is broken!

    --
    CAVEAT: http://is.gd/bpoMD
    [openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
    A Penguin Being Tickled - http://www.youtube.com/watch?v=0GILA0rrR6w

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: curl is broken

    On 2011-04-20 17:26, Harv wrote:
    > Error message: Couldn't resolve host 'download.opensuse.org'


    You have a DNS problem. So, you have to prove that only curl has that problem.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  5. #5
    Join Date
    Oct 2009
    Location
    Dhaka,Bangladesh
    Posts
    251

    Default Re: curl is broken

    Quote Originally Posted by markgharvey View Post
    This is an example of the error I receive when trying to do an update via
    YaST, YaST2, or zypper. Basically, curl is broken. With out it functioning
    normally, I can't use openSUSE's update mechanism to fix my system. Need to
    find a way to manually fix / upgrade curl.

    Any ideas?

    TIA

    There was an error in the repository initialization.
    'Updates-for-openSUSE-11.4-11.4-0': [|] Valid metadata not found at
    specified URL(s)
    History:
    - Unknown error reading from 'http://download.opensuse.org/update/11.4/'
    - SKIP request: User-requested skipping of a file
    - Download (curl) error for
    'http://download.opensuse.org/update/11.4/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Couldn't resolve host 'download.opensuse.org'

    Download (curl) error for
    'http://download.opensuse.org/update/11.4/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Couldn't resolve host 'download.opensuse.org'


    == curl version ==

    acct@host:~> rpm -qa | grep curl
    libcurl4-32bit-7.21.2-9.1.x86_64
    curl-7.21.2-9.1.x86_64
    libcurl4-7.21.2-9.1.x86_64


    --
    Harv
    Can you post the result of
    Code:
    zypper lr -d
    openSUSE 11.3 + LXDE
    uname -r = 2.6.34.7-0.4-default

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: curl is broken

    On 04/21/2011 07:06 AM, colao wrote:
    > Can you post the result of
    >
    > zypper lr -d
    >


    just for my own education i wonder if you would explain how that output
    might impact the ability to solve this DNS problem..

    --
    CAVEAT: http://is.gd/bpoMD
    [openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
    A Penguin Being Tickled - http://www.youtube.com/watch?v=0GILA0rrR6w

  7. #7
    Join Date
    Nov 2009
    Location
    Colorado
    Posts
    11

    Default Re: curl is broken

    >
    > Can you post the result of
    >
    > Code:
    > --------------------
    >
    > zypper lr -d
    >
    > --------------------
    >
    >

    # zypper lr -d
    # | Alias | Name |
    Enabled | Refresh | Priority | Type | URI
    | Service
    --+----------------------------------+----------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------+--------
    1 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 |
    Yes | Yes | 99 | rpm-md |
    http://download.opensuse.org/update/11.4/ |
    2 | openSUSE-11.4-11.4-0 | openSUSE-11.4-11.4-0 |
    Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-
    TSSTcorp_DVD+_-RW_TS-L632H,/dev/sr0 |
    3 | repo-debug | openSUSE-11.4-Debug |
    Yes | Yes | 99 | yast2 |
    http://download.opensuse.org/debug/d...11.4/repo/oss/ |
    4 | repo-debug-update | openSUSE-11.4-Update-Debug |
    Yes | Yes | 99 | rpm-md |
    http://download.opensuse.org/debug/update/11.4/ |
    5 | repo-non-oss | openSUSE-11.4-Non-Oss |
    Yes | Yes | 99 | yast2 |
    http://download.opensuse.org/distrib.../repo/non-oss/ |
    6 | repo-oss | openSUSE-11.4-Oss |
    Yes | Yes | 99 | yast2 |
    http://download.opensuse.org/distrib...11.4/repo/oss/ |
    7 | repo-source | openSUSE-11.4-Source |
    Yes | Yes | 99 | yast2 |
    http://download.opensuse.org/source/...11.4/repo/oss/ |


  8. #8
    Join Date
    Nov 2009
    Location
    Colorado
    Posts
    11

    Default Re: curl is broken


    > just for my own education i wonder if you would explain how that output
    > might impact the ability to solve this DNS problem..


    the weird part is that when I move the laptop to a different location, curl
    now resolves download.opensuse.org correctly & I receive updates ... so
    maybe it was DNS.

    interestingly, Midori works at home when Firefox doesn't; but at the second
    location, both work.


    --
    Harv

  9. #9
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: curl is broken

    Harv wrote:
    > interestingly, Midori works at home when Firefox doesn't; but at the
    > second location, both work.
    >

    Can you check in Firefox if it is set to use the system settings for the
    proxy? If yes can you check which settings in the kde control center are
    used for the proxy?
    I am not familiar with Midori (I know that it is a browser but that's it) so
    I ask: Is there a similar setting in Midori which differs from that?
    This should give a hint what the problem might be if one works always and
    the other sometimes not.
    I had to change myself once the setting in the kde control center to "Direct
    connection" instead of "automatic detection" to make some applications work,
    so it is possible you have something similar here.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.2 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  10. #10

    Default Re: curl is broken

    I just saw this and I noticed that Curl does not properly resolve DNS addresses using secondary DNS in YAST2 if the primary DNS is down. Firefox however does correctly resolve using secondary DNS. This probably is a CURL bug. My stupid corporate VPN resets the DNS in resolv.conf . . . and doesn't set it back

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •