Results 1 to 6 of 6

Thread: Repository weirdness - can't download 'content' file

  1. #1
    Join Date
    Jul 2013
    Location
    Sao paulo, Brazil
    Posts
    5

    Default Repository weirdness - can't download 'content' file

    Hi folks!

    I am having dificulties on a new 12.3 installation.

    In normal conditions, in any repository, Zypper downloads the following files first:
    - media
    - content.asc
    - content.key
    - content

    The problem is, in this particular one installation, the files "media", "content.asc" and "content.key" are successfully downloaded without problems, but "content" stalls and ends up being aborted by time out. Other machines in the same network can reach this file (and therefore properly install software via Zypper) with no trouble.

    The SuSE Firewall is disabled on Yast on all machines, and our border firewall is not blocking downloads on por 80. There is NO proxy of any kind. iptables -L returns nothing. Tcpdump tells me nothing. Still, this particular file is not being downloaded at all. AND ONLY THIS PARTICULAR FILE, ON THIS ONE MACHINE.

    By the way, it is a VirtualBox VM. Other VirtualBox VMs (openSUSE 12.2 and 12.3) on the same machine can access the file, and so can the physical hardware (also 12.2).

    Any light?


    Output from zypper -v ref with only one repository enabled (tried it with all of them):

    Code:
    sudo zypper -v ref
    Detail: 1
    Initializing destination
    Repositories: 
    Ignoring disabled repo 'openSUSE-12.3-1.7'
    Ignoring disabled repo 'openSUSE-12.3-Debug'
    Ignoring disabled repo 'openSUSE-12.3-Update-Debug'
    Ignoring disabled repo 'openSUSE-12.3-Update-Debug-Non-Oss'
    Checking if new metadata are needed for openSUSE-12.3-Non-Oss
    Downloading: media ...........................................................................[finished]
    Downloading: content.asc .....................................................................[finished]
    Downloading: content.key .....................................................................[finished]
    Downloading: content ..............................................................................[error]
    Download error (curl) for 'http://download.opensuse.org/distribution/12.3/repo/non-oss/content':
    Error code: Unrecognized error
    Error message: Recv failure: Connection reset by peer
    
    Abort/Retry/Fail (a/r/f)?
    HEEEEEEEELP!
    This is extremely nasty!
    The repository IS reachable, but this particular openSUSE machine is refusing to download that particular file (OR: the repository is denying access to it to this one machine).

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Repository weirdness - can't download 'content' file

    Quote Originally Posted by estomagado View Post
    Hi folks!

    I am having dificulties on a new 12.3 installation.

    In normal conditions, in any repository, Zypper downloads the following files first:
    - media
    - content.asc
    - content.key
    - content

    The problem is, in this particular one installation, the files "media", "content.asc" and "content.key" are successfully downloaded without problems, but "content" stalls and ends up being aborted by time out. Other machines in the same network can reach this file (and therefore properly install software via Zypper) with no trouble.

    The SuSE Firewall is disabled on Yast on all machines, and our border firewall is not blocking downloads on por 80. There is NO proxy of any kind. iptables -L returns nothing. Tcpdump tells me nothing. Still, this particular file is not being downloaded at all. AND ONLY THIS PARTICULAR FILE, ON THIS ONE MACHINE.

    By the way, it is a VirtualBox VM. Other VirtualBox VMs (openSUSE 12.2 and 12.3) on the same machine can access the file, and so can the physical hardware (also 12.2).

    Any light?


    Output from zypper -v ref with only one repository enabled (tried it with all of them):

    Code:
    sudo zypper -v ref
    Detail: 1
    Initializing destination
    Repositories: 
    Ignoring disabled repo 'openSUSE-12.3-1.7'
    Ignoring disabled repo 'openSUSE-12.3-Debug'
    Ignoring disabled repo 'openSUSE-12.3-Update-Debug'
    Ignoring disabled repo 'openSUSE-12.3-Update-Debug-Non-Oss'
    Checking if new metadata are needed for openSUSE-12.3-Non-Oss
    Downloading: media ...........................................................................[finished]
    Downloading: content.asc .....................................................................[finished]
    Downloading: content.key .....................................................................[finished]
    Downloading: content ..............................................................................[error]
    Download error (curl) for 'http://download.opensuse.org/distribution/12.3/repo/non-oss/content':
    Error code: Unrecognized error
    Error message: Recv failure: Connection reset by peer
    
    Abort/Retry/Fail (a/r/f)?
    HEEEEEEEELP!
    This is extremely nasty!
    The repository IS reachable, but this particular openSUSE machine is refusing to download that particular file (OR: the repository is denying access to it to this one machine).
    Off the top of my head, it makes me think that if you looked into this folder "/var/cache/zypp/raw/repo-non-oss" there is something wrong using the name of content. Perhaps its a folder now or its a corrupted file that root can't over write, but not really sure about that. But I might suggest you give us the output of the command:

    Code:
    dir /var/cache/zypp/raw/repo-non-oss
    For help is using Zypper including repair of your repos, have a look at my bash script you can find here:

    Zypper Command - Zypper Package Management Menu System - openSUSE Forums

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jul 2013
    Location
    Sao paulo, Brazil
    Posts
    5

    Default Re: Repository weirdness - can't download 'content' file

    Hi jdmcdaniel3!
    Thanks for your help!

    Unfortunately, there's nothing wrong locally, at leat in the Zypper cache. As I said, the REMOTE file (the one that sits in the repository itself, over there where MirrorBrain sends me) is being blocked at some point.

    This is a fresh new install, so an ls (dir?) in all directories at
    /var/cache/zypp/raw give me nothing, as Zypper did not have the opportunity to download anything yet.

    Code:
    w2vma2201:/var/cache/zypp/raw # ll
    total 0
    drwxr-xr-x 4 root root 312 Jul 30 20:20 openSUSE-12.3-1.7
    drwxr-xr-x 2 root root  48 Jul 30 20:11 repo-non-oss
    drwxr-xr-x 2 root root  48 Jul 30 20:20 repo-oss
    drwxr-xr-x 2 root root  48 Jul 30 20:21 repo-update
    drwxr-xr-x 2 root root  48 Jul 30 20:21 repo-update-non-oss
    w2vma2201:/var/cache/zypp/raw # ll repo-non-oss
    total 0
    w2vma2201:/var/cache/zypp/raw # dir repo-non-oss
    total 0
    w2vma2201:/var/cache/zypp/raw # ll repo-non-oss/
    total 0
    w2vma2201:/var/cache/zypp/raw # ll repo-update
    total 0
    w2vma2201:/var/cache/zypp/raw # ll repo-update-non-oss/
    total 0
    Did a chmod 777 on all directories, just to be sure, same result.

  4. #4
    Join Date
    Jul 2013
    Location
    Sao paulo, Brazil
    Posts
    5

    Default Re: Repository weirdness - can't download 'content' file

    I have browsed the repository with Firefox, and Firefox can't download it also.

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

    Default Re: Repository weirdness - can't download 'content' file

    On 2013-08-01 00:36, estomagado wrote:
    >
    > I have browsed the repository with Firefox, and Firefox can't download
    > it also.


    Try download from a mirror instead.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Repository weirdness - can't download 'content' file

    Quote Originally Posted by estomagado View Post
    Hi jdmcdaniel3!
    Thanks for your help!

    Unfortunately, there's nothing wrong locally, at leat in the Zypper cache. As I said, the REMOTE file (the one that sits in the repository itself, over there where MirrorBrain sends me) is being blocked at some point.

    This is a fresh new install, so an ls (dir?) in all directories at
    /var/cache/zypp/raw give me nothing, as Zypper did not have the opportunity to download anything yet.

    Code:
    w2vma2201:/var/cache/zypp/raw # ll
    total 0
    drwxr-xr-x 4 root root 312 Jul 30 20:20 openSUSE-12.3-1.7
    drwxr-xr-x 2 root root  48 Jul 30 20:11 repo-non-oss
    drwxr-xr-x 2 root root  48 Jul 30 20:20 repo-oss
    drwxr-xr-x 2 root root  48 Jul 30 20:21 repo-update
    drwxr-xr-x 2 root root  48 Jul 30 20:21 repo-update-non-oss
    w2vma2201:/var/cache/zypp/raw # ll repo-non-oss
    total 0
    w2vma2201:/var/cache/zypp/raw # dir repo-non-oss
    total 0
    w2vma2201:/var/cache/zypp/raw # ll repo-non-oss/
    total 0
    w2vma2201:/var/cache/zypp/raw # ll repo-update
    total 0
    w2vma2201:/var/cache/zypp/raw # ll repo-update-non-oss/
    total 0
    Did a chmod 777 on all directories, just to be sure, same result.
    Here is what I get with the terminal command "zypper repos -u" and you can compare your URL to the one I use by chance:

    Code:
    #  | Alias                     | Name                               | Enabled | Refresh | URI                                                                                         
    ---+---------------------------+------------------------------------+---------+---------+---------------------------------------------------------------------------------------------
     1 | KDE:/Extra                | KDE:/Extra                         | Yes     | Yes     | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.3/                         
     2 | Packman                   | Packman                            | Yes     | Yes     | http://packman.inode.at/suse/openSUSE_12.3/                                                 
     3 | google-chrome             | google-chrome                      | Yes     | Yes     | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                         
     4 | libdvdcss                 | libdvdcss                          | Yes     | Yes     | http://opensuse-guide.org/repo/12.3/                                                        
     5 | openSUSE-12.3-1.7         | openSUSE-12.3-1.7                  | No      | No      | cd:///?devices=/dev/disk/by-id/ata-Memorex_BDBurner_800L_v1_DAAJ5161101047,/dev/sr0,/dev/sr1
     6 | repo-debug                | openSUSE-12.3-Debug                | No      | Yes     | http://download.opensuse.org/debug/distribution/12.3/repo/oss/                              
     7 | repo-debug-update         | openSUSE-12.3-Update-Debug         | No      | Yes     | http://download.opensuse.org/debug/update/12.3/                                             
     8 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss | No      | Yes     | http://download.opensuse.org/debug/update/12.3-non-oss/                                     
     9 | repo-non-oss              | openSUSE-12.3-Non-Oss              | Yes     | Yes     | http://download.opensuse.org/distribution/12.3/repo/non-oss/                                
    10 | repo-oss                  | openSUSE-12.3-Oss                  | Yes     | Yes     | http://download.opensuse.org/distribution/12.3/repo/oss/                                    
    11 | repo-source               | openSUSE-12.3-Source               | No      | Yes     | http://download.opensuse.org/source/distribution/12.3/repo/oss/                             
    12 | repo-update               | openSUSE-12.3-Update               | Yes     | Yes     | http://download.opensuse.org/update/12.3/                                                   
    13 | repo-update-non-oss       | openSUSE-12.3-Update-Non-Oss       | Yes     | Yes     | http://download.opensuse.org/update/12.3-non-oss/
    Thank You,
    Last edited by jdmcdaniel3; 31-Jul-2013 at 17:11.
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Tags for this Thread

Posting Permissions

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