Discussion:
Problems installing TeXlive in CentOS7
(too old to reply)
Raimundo Serrano
2018-10-11 18:17:28 UTC
Permalink
Hello there,
I'm unable to install the "install-tl" file from the command line.
What I'm doing is:
# perl install-tl

it returns:
# cannot contact mirror.ctan.org, returning a backbone server!
Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
install-tl: TLPDB::from_file could not download
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
install-tl: maybe the repository setting should be changed.

I already tried using "rsync" or wget to change the repository http
though the problems remain. I use proxy to navigate. As said in the
subject, I run CentOS7 and the installation from their repo gives lot
of package errors after installing. Therefore I downloaded the
install-tl file to try by myself.

Thanks for any help.
Ray
Philip Taylor
2018-10-11 22:01:39 UTC
Permalink
I know nothing about CentOS (not even at what platform/architecture it is aimed) but it is my belief that rather than typing "perl install-tl" one normally types just "install-tl" (but of course I may be wrong).
Post by Raimundo Serrano
Hello there,
I'm unable to install the "install-tl" file from the command line.
# perl install-tl
--
<Signature>
Philip Taylor
Reinhard Kotucha
2018-10-11 22:40:23 UTC
Permalink
Post by Philip Taylor
I know nothing about CentOS (not even at what platform/architecture
it is aimed) but it is my belief that rather than typing "perl
install-tl" one normally types just "install-tl" (but of course I
may be wrong).
On Unix either

perl install-tl

or

./install-tl

The current directory isn't in PATH on Unix and should never be. But
since the error message comes from the script, I don't think that its
invocation is the problem.

Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:***@web.de
------------------------------------------------------------------
Lars Madsen
2018-10-12 07:20:30 UTC
Permalink
I'd suspect the proxy to be the issue

http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb

will normally redirect to the nearest mirror as to not overload ctan.org

so

cannot contact mirror.ctan.org, returning a backbone server!

is a bit of an issue. It might help if you look through the mirror list

https://ctan.org/mirrors

and pick an explicit mirror.

Remember you'll need to append

systems/texlive/tlnet

to the repo url

Source: http://www.tug.org/texlive/acquire-netinstall.html


/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/***@math / More information: http://au.dk/en/***@math


________________________________________
From: tex-live <tex-live-bounces+daleif=***@tug.org> on behalf of Raimundo Serrano <***@gmail.com>
Sent: 11 October 2018 20:17
To: tex-***@tug.org
Subject: [tex-live] Problems installing TeXlive in CentOS7

Hello there,
I'm unable to install the "install-tl" file from the command line.
What I'm doing is:
# perl install-tl

it returns:
# cannot contact mirror.ctan.org, returning a backbone server!
Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
install-tl: TLPDB::from_file could not download
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
install-tl: maybe the repository setting should be changed.

I already tried using "rsync" or wget to change the repository http
though the problems remain. I use proxy to navigate. As said in the
subject, I run CentOS7 and the installation from their repo gives lot
of package errors after installing. Therefore I downloaded the
install-tl file to try by myself.

Thanks for any help.
Ray
Norbert Preining
2018-10-12 13:48:14 UTC
Permalink
Hi Raimundo
Post by Raimundo Serrano
# cannot contact mirror.ctan.org, returning a backbone server!
Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
install-tl: TLPDB::from_file could not download
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
install-tl: maybe the repository setting should be changed.
Are you connected to the internet? Is there a proxy in your way?
It seems that our LWP/wget cannot connect to the internet.

You can try running install-tl with -v to get more output.

Best

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Zdenek Wagner
2018-10-12 19:53:09 UTC
Permalink
Hi all,

it may depend how the proxy is configured. A transparent proxy just
intercepts the packets and sends them through the proxy which needs no
action from users but may have certain drawbacks. If the clients must be
configured to use the proxy explicitely and it is set system-wide, at least
wget (I am not sure about LWP) should understand it. If you have to
configure each browser manually, you will have to set the proxy access in
the wget configuration. Anyway, yum also makes use of wget and if you do
not set it properly, "yum install" will fail too.

Another possibility is that the proxy blocks some servers. In such a case
you will have to contact your network admin.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
Post by Norbert Preining
Hi Raimundo
Post by Raimundo Serrano
# cannot contact mirror.ctan.org, returning a backbone server!
Loading
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Post by Raimundo Serrano
install-tl: TLPDB::from_file could not download
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
Post by Raimundo Serrano
install-tl: maybe the repository setting should be changed.
Are you connected to the internet? Is there a proxy in your way?
It seems that our LWP/wget cannot connect to the internet.
You can try running install-tl with -v to get more output.
Best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Raimundo Serrano
2018-10-16 12:20:48 UTC
Permalink
Hi Norbert,
I've tried what you suggested. See below what I've got.
Hi Lars, I already have also tried to change the mirrors in the past.
It gave me the same result. I'm in Brazil.
It seems to me that it is indeed the proxy wall which is blocking the
network installer to download the updates; I do not know how to sort
this though.
Thanks again!
Post by Norbert Preining
Post by Norbert Preining
You can try running install-tl with -v to get more output.
# perl install-tl -v
D:Using checksum method digest::sha
D:Testing for gpg in gpg
D: ... gpg ok! [gpg --version >/dev/null 2>&1]
D:gpg command line: gpg --homedir "./tlpkg/gpg" --no-secmem-warning
--no-permission-warning --lock-never
D:setup_programs: preferring system versions
D:trying to set up system curl, arg --version
D:program curl found in the path
D:trying to set up system wget, arg --version
D:program wget found in the path
D:trying to set up system lz4, arg --version
D:program lz4 found in the path
D:trying to set up system gzip, arg --version
D:program gzip found in the path
D:trying to set up system xz, arg --version
D:program xz found in the path
DD:dumping $::progs = {
'compressor' => 'lz4',
'curl' => 'curl',
'gzip' => 'gzip',
'lz4' => 'lz4',
'tar' => 'tar',
'wget' => 'wget',
'working_compressors' => [
'lz4',
'gzip',
'xz'
],
'working_downloaders' => [
'curl',
'wget'
],
'xz' => 'xz'
};
cannot contact mirror.ctan.org, returning a backbone server!
Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
D:TLPDB.pm: trying to initialize from
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
D:trying to download
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
to /tmp/cGbSaZOAA2/_UvSxgsdLW
D:persistent connection not set up
D:TLUtils::_download_file_program: curl
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
/tmp/cGbSaZOAA2/_UvSxgsdLW
D:downloading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
using curl --user-agent texlive/curl --retry 10 --fail --location
--connect-timeout 30 --silent --output
D:TLUtils::_download_file_program: wget
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
/tmp/cGbSaZOAA2/_UvSxgsdLW
D:downloading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
using wget --user-agent=texlive/wget --tries=10 --timeout=30 -q -O
D:TLUtils::download_file: tried to download using lwp curl wget, none succeeded
D:TLPDB: downloading
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
didn't succeed, try
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
D:persistent connection not set up
D:TLUtils::_download_file_program: curl
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
/tmp/cGbSaZOAA2/ykqoNGU8Va
D:downloading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
using curl --user-agent texlive/curl --retry 10 --fail --location
--connect-timeout 30 --silent --output
D:TLUtils::_download_file_program: wget
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
/tmp/cGbSaZOAA2/ykqoNGU8Va
D:downloading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
using wget --user-agent=texlive/wget --tries=10 --timeout=30 -q -O
D:TLUtils::download_file: tried to download using lwp curl wget, none succeeded
install-tl: TLPDB::from_file could not download
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
install-tl: maybe the repository setting should be changed.
Post by Norbert Preining
Hi Raimundo
Post by Norbert Preining
# cannot contact mirror.ctan.org, returning a backbone server!
Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
install-tl: TLPDB::from_file could not download
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
install-tl: maybe the repository setting should be changed.
Are you connected to the internet? Is there a proxy in your way?
It seems that our LWP/wget cannot connect to the internet.
You can try running install-tl with -v to get more output.
Best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Norbert Preining
2018-10-17 07:17:25 UTC
Permalink
Hi,

something is blocking access to all our trials. The logs show that LWP,
curl, and wget failed :-(((

Can you try
curl --user-agent texlive/curl --location http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
and show us the output?

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Zdenek Wagner
2018-10-17 08:42:16 UTC
Permalink
Hi,

my test showed that something bad happened to my squid and it refuses
connections. I do not know what's wrong with it, I will have to find time
to fix it before I continue with tests but with this non-functioning squid
and environment variable http_proxy set to this squid I get exactly the
same errors as reported in two theads in this list.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
Post by Norbert Preining
Hi,
something is blocking access to all our trials. The logs show that LWP,
curl, and wget failed :-(((
Can you try
curl --user-agent texlive/curl --location
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
and show us the output?
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Raimundo Serrano
2018-10-17 12:07:04 UTC
Permalink
Hi,
this is what I get:

$ curl --user-agent texlive/curl --location
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Object not found!</title>
<link rev="made" href="mailto:%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Object not found!</h1>
<p>


The requested URL was not found on this server.



If you entered the URL manually please check your
spelling and try again.



</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.

</p>

<h2>Error 404</h2>
<address>
<a href="/">www.ctan.org</a><br />
<span>Apache</span>
</address>
</body>
</html>
Post by Norbert Preining
Hi,
something is blocking access to all our trials. The logs show that LWP,
curl, and wget failed :-(((
Can you try
curl --user-agent texlive/curl --location http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
and show us the output?
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Philip Taylor
2018-10-17 12:43:39 UTC
Permalink
Zdenek Wagner
2018-10-17 13:26:50 UTC
Permalink
Hi,

curl does more or less the same as wget and --no-check-certificate is not
always needed. It is necessary only for accessing https servers without a
qualified certificate. I got a similar result. You can see "302 found" and
redirection to another site. I am redirected to a site in Prague and the
file is there. If you end up with "object not found", it means that you are
redirected to a mirror which is not in syc or maybe even broken. You can
try again later hoping that the mirror will be sychronized or find the list
of mirrors and select a mirror manually. wget shows the redirections but
you must add -v to see the redirections in curl. You will then see where
exactly it fails.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
Post by Norbert Preining
Hi,
something is blocking access to all our trials. The logs show that LWP,
curl, and wget failed :-(((
Can you try
curl --user-agent texlive/curl --location http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
and show us the output?
Norbert
I don't have access to "curl" (nor do I know what it is or does) but
D:\Temp > wget -S
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
--no-check-certificate
--user-agent=texlive/curl
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
--2018-10-17 13:40:22--
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
Resolving www.ctan.org... 176.28.54.184
Connecting to www.ctan.org|176.28.54.184|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Wed, 17 Oct 2018 12:40:12 GMT
Server: Apache/2
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
https://ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
Vary: Accept-Encoding
Content-Length: 365
Keep-Alive: timeout=15, max=50
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
https://ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
[following]
--2018-10-17 13:40:22--
https://ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
Resolving ctan.org... 176.28.54.184
Connecting to ctan.org|176.28.54.184|:443... connected.
WARNING: cannot verify ctan.org's certificate, issued by
`/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./OU=
http://cer
ts.starfieldtech.com/repository//CN=Starfield Secure Certificate
Self-signed certificate encountered.
WARNING: certificate common name `*.dante.de' doesn't match requested
host name `ctan.org'.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Wed, 17 Oct 2018 12:40:12 GMT
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
http://mirrors.ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
Content-Length: 0
Keep-Alive: timeout=15, max=50
Connection: Keep-Alive
Content-Type: text/plain
http://mirrors.ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
[following]
--2018-10-17 13:40:22--
http://mirrors.ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
Resolving mirrors.ctan.org... 176.28.54.184
Connecting to mirrors.ctan.org|176.28.54.184|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Wed, 17 Oct 2018 12:40:12 GMT
Server: Apache/2
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
http://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
Vary: Accept-Encoding
Content-Length: 373
Keep-Alive: timeout=15, max=50
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
http://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
[following]
--2018-10-17 13:40:22--
http://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
Resolving mirror.ox.ac.uk... 163.1.160.163, 163.1.221.67
Connecting to mirror.ox.ac.uk|163.1.160.163|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Wed, 17 Oct 2018 12:40:12 GMT
Server: Apache/2.2.22 (Debian)
Last-Modified: Wed, 17 Oct 2018 00:23:00 GMT
ETag: "1f427756-90-57861ac370100"
Accept-Ranges: bytes
Content-Length: 144
Keep-Alive: timeout=10, max=100
Connection: Keep-Alive
Content-Type: text/plain; charset=ISO-8859-1
Length: 144 [text/plain]
Saving to: `texlive.tlpdb.sha512.2'
100%[==========================================================================================>]
144 --.-K/s in 0s
2018-10-17 13:40:22 (5.45 MB/s) - `texlive.tlpdb.sha512.2' saved [144/144]
Note that "--no-check-certificate" is required for success.
--
[image: <Signature>]
Philip Taylor
Norbert Preining
2018-10-17 14:58:45 UTC
Permalink
Hi
Post by Raimundo Serrano
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.
</p>
<h2>Error 404</h2>
<address>
<a href="/">www.ctan.org</a><br />
<span>Apache</span>
</address>
</body>
</html>
I think you have a broken proxy somewhere on the way. Otherwise I cannot
explain this.

Can you use a normal web browser to reach the same URL?

If yes, it might be a case of the user agent ...

Best

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Raimundo Serrano
2018-10-17 19:19:55 UTC
Permalink
Ok, I'll check it out. Thanks!
Post by Norbert Preining
Hi
Post by Raimundo Serrano
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.
</p>
<h2>Error 404</h2>
<address>
<a href="/">www.ctan.org</a><br />
<span>Apache</span>
</address>
</body>
</html>
I think you have a broken proxy somewhere on the way. Otherwise I cannot
explain this.
Can you use a normal web browser to reach the same URL?
If yes, it might be a case of the user agent ...
Best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Loading...