problem installing texlive

Hello, I’m trying to install texlive. So when I use zypper in texlive, it downloads a bunch of packages but then in one package I get this error:

Retrieving: texlive-substr-2012.60.1.2svn16117-4.2.1.noarch.rpm .................................................................................................................................[error]
Download (curl) error for 'http://download.opensuse.org/distribution/12.3/repo/oss/suse/noarch/texlive-substr-2012.60.1.2svn16117-4.2.1.noarch.rpm':
Error code: Unrecognized error
Error message: Recv failure: Connection reset by peer

Abort, retry, ignore? [a/r/i/?] (a):

This also happens when using yast as well.
It happens only on this computer. On another computer it worked just fine, and this problem persists for several days now. This address won’t open in the browser as well.

Any idea how to fix it or bypass it?

On 2013-07-17 11:06, manenbu wrote:
>
> Hello, I’m trying to install texlive. So when I use zypper in texlive,
> it downloads a bunch of packages but then in one package I get this
> error:
>
> Code:
> --------------------
> Retrieving: texlive-substr-2012.60.1.2svn16117-4.2.1.noarch.rpm …[error]
> Download (curl) error for ‘http://download.opensuse.org/distribution/12.3/repo/oss/suse/noarch/texlive-substr-2012.60.1.2svn16117-4.2.1.noarch.rpm’:
> Error code: Unrecognized error
> Error message: Recv failure: Connection reset by peer
>
> Abort, retry, ignore? [a/r/i/?] (a):
>
> --------------------

Here it translates to:


> http://suse.bifi.unizar.es/opensuse/distribution/12.3/repo/oss/suse/noarch/texlive-substr-2012.60.1.2svn16117-4.2.1.noarch.rpm


ie, a mirror, and there are many more. It downloaded fine in my browser.


Cheers / Saludos,

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

Is there a way to force it to choose another mirror?

On 2013-07-17 13:26, manenbu wrote:
>
> Is there a way to force it to choose another mirror?

Yes and no.

You can configure a mirror in the repository configuration, yes, manually.

You can also download the single problematic package and put it where
yast/zypper wants it, so that it doesn’t try to download it again.

In my case, I have all repos configured to keep all downloaded packages,
and then the directory is somewhere under “/var/cache/zypp/packages”.
There is also a temporary storage used when you do have “save all
packages” enabled, but I don’t remember which it is.


Cheers / Saludos,

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

For some reason this file doesn’t work on any mirror, including yours. That’s really bizarre. Any idea how can this happen?

Changed the repos from http to ftp. Now it works.

I have absolutely no idea why would one single file not work on all mirror with http but will work on ftp.

On 2013-07-17 15:16, manenbu wrote:
>
> Changed the repos from http to ftp. Now it works.
>
> I have absolutely no idea why would one single file not work on all
> mirror with http but will work on ftp.

Do you have some type of corporate network, school, organization…?


Cheers / Saludos,

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

Yes, I’m on a university network. I thought that it had something to do with that, but why would they block a single file out of thousands, on HTTP but not FTP?

They might be using a hidden web caching engine that isn’t working well with repos.

On 2013-07-17 17:06, manenbu wrote:
>
> Yes, I’m on a university network. I thought that it had something to do
> with that, but why would they block a single file out of thousands, on
> HTTP but not FTP?

It has happened before.

For instance, they have a proxy with an antivirus checker that stops
that file, or simply breaks down on it, on a particular pattern of bits.
Ftp works for many reasons - it doesn’t pass the antivirus (why not?
Hole!), it is not broken, goes another route… Choose one.

If you want to know, contact the network manager and ask him.


Cheers / Saludos,

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