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[FONT=arial] with only one repository enabled (tried it with all of them)[/FONT]:
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:
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:
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.