Discussion:
Error using tlmgr
(too old to reply)
A F
2018-01-06 19:06:24 UTC
Permalink
Raw Message
Hi, I ran the following code and received the following error--it had
instructions to email you about it, so I'm sending this along.

***@newuser-Latitude-D830 ~ $ sudo tlmgr init-usertree
(running on Debian, switching to user mode!)
/usr/bin/tlmgr: Initialization failed (in setup_unix_one):
/usr/bin/tlmgr: could not find a usable xzdec.
/usr/bin/tlmgr: Please install xzdec and try again.
tlmgr: Couldn't set up the necessary programs.
Installation of packages is not supported.
Please report to ***@tug.org.
tlmgr: user mode database already set up in
tlmgr: /home/user/texmf/tlpkg/texlive.tlpdb
tlmgr: not overwriting it.

Best wishes,
Adam Frank

347-589-2747
www.axiomtutor.com

A calendar of my available times can be found at
http://www.axiomtutor.com/schedule/
Zdenek Wagner
2018-01-06 21:20:47 UTC
Permalink
Raw Message
The answer is in the message if you read more that the last line: Please
install xzdec and try again.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
Post by A F
Hi, I ran the following code and received the following error--it had
instructions to email you about it, so I'm sending this along.
(running on Debian, switching to user mode!)
/usr/bin/tlmgr: could not find a usable xzdec.
/usr/bin/tlmgr: Please install xzdec and try again.
tlmgr: Couldn't set up the necessary programs.
Installation of packages is not supported.
tlmgr: user mode database already set up in
tlmgr: /home/user/texmf/tlpkg/texlive.tlpdb
tlmgr: not overwriting it.
Best wishes,
Adam Frank
347-589-2747 <(347)%20589-2747>
www.axiomtutor.com
A calendar of my available times can be found at
http://www.axiomtutor.com/schedule/
Philip Taylor (RHUoL)
2018-01-06 21:51:01 UTC
Permalink
Raw Message
Post by A F
Please install xzdec and try again.
But on Microsoft Windows, "xzdec" will not exist /a priori/, and so the
installer will provide one; could not the same behaviour be offered for
non-Windows users ?
Philip Taylor
Zdenek Wagner
2018-01-06 22:06:30 UTC
Permalink
Raw Message
This should be a qeustion for Linux maintainers. All Linux distributions
provide its xzdec. CentOS and Fedora install it as default, Raspbian
requires manual installation of the .deb package, it is probably the same
in Debian. IMHO it is not a wise idea to duplicate a part of a system
distribution just because a user has not installed it. And tlmgr cannot
install it automatically because the name of the package is distro
dependent and the name of the packager differs as well (dnf, yum, apt-get,
...). In addition, TeX Live (from TUG, not from the packaging systems)
should preferably be installed by an ordinary user while the package
containing xzdec must be installed by root or using sudo.


Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
Post by Zdenek Wagner
The answer is in the message if you read more that the last line: Please
install xzdec and try again.
But on Microsoft Windows, "xzdec" will not exist *a priori*, and so the
installer will provide one; could not the same behaviour be offered for
non-Windows users ?
Philip Taylor
Philip Taylor (RHUoL)
2018-01-07 18:48:29 UTC
Permalink
Raw Message
This should be a question for Linux maintainers. All Linux
distributions provide its xzdec. CentOS and Fedora install it as
default, Raspbian requires manual installation of the .deb package, it
is probably the same in Debian. IMHO it is not a wise idea to
duplicate a part of a system distribution just because a user has not
installed it. And tlmgr cannot install it automatically because the
name of the package is distro dependent and the name of the packager
differs as well (dnf, yum, apt-get, ...). In addition, TeX Live (from
TUG, not from the packaging systems) should preferably be installed by
an ordinary user while the package containing xzdec must be installed
by root or using sudo.
Well, I am confused, Zdeněk.  What are all these instances of "xzdec"
which accompanied the pre-test ?

** Phil.
--------
Directory of D:\TeX\Live\2017\tlpretest\tlpkg\installer\xz

17/04/2017  23:32            72,784 xzdec.amd64-freebsd
15/04/2017  13:58            73,008 xzdec.amd64-netbsd
26/04/2017  16:42            62,012 xzdec.armel-linux
25/11/2016  18:34            64,444 xzdec.armhf-linux
13/04/2017  21:24           111,104 xzdec.exe
15/04/2017  20:32            83,470 xzdec.i386-cygwin.exe
16/04/2017  22:49           100,536 xzdec.i386-darwin
17/04/2017  23:32            69,884 xzdec.i386-freebsd
13/04/2017  20:40            71,064 xzdec.i386-linux
15/04/2017  13:58            75,968 xzdec.i386-netbsd
19/04/2017  15:29            71,260 xzdec.i386-solaris
16/04/2017  22:49           127,900 xzdec.powerpc-darwin
29/04/2017  21:57            69,732 xzdec.powerpc-linux
19/04/2017  15:29            74,188 xzdec.sparc-solaris
15/04/2017  20:32            74,752 xzdec.x86_64-cygwin.exe
15/04/2017  23:15            76,276 xzdec.x86_64-darwin
16/04/2017  22:49            80,128 xzdec.x86_64-darwinlegacy
15/04/2017  01:00            72,472 xzdec.x86_64-linux
19/04/2017  15:29            76,568 xzdec.x86_64-solaris
Zdenek Wagner
2018-01-07 19:42:01 UTC
Permalink
Raw Message
This should be a question for Linux maintainers. All Linux distributions
provide its xzdec. CentOS and Fedora install it as default, Raspbian
requires manual installation of the .deb package, it is probably the same
in Debian. IMHO it is not a wise idea to duplicate a part of a system
distribution just because a user has not installed it. And tlmgr cannot
install it automatically because the name of the package is distro
dependent and the name of the packager differs as well (dnf, yum, apt-get,
...). In addition, TeX Live (from TUG, not from the packaging systems)
should preferably be installed by an ordinary user while the package
containing xzdec must be installed by root or using sudo.
Well, I am confused, Zdeněk. What are all these instances of "xzdec"
which accompanied the pre-test ?
I do not know. My TeX Live contains such files in installer/xz but "which
xzdec" finds that file in a system directory (TeX Live binaries are
prefered, they are higher in PATH).

** Phil.
--------
Directory of D:\TeX\Live\2017\tlpretest\tlpkg\installer\xz
17/04/2017 23:32 72,784 xzdec.amd64-freebsd
15/04/2017 13:58 73,008 xzdec.amd64-netbsd
26/04/2017 16:42 62,012 xzdec.armel-linux
25/11/2016 18:34 64,444 xzdec.armhf-linux
13/04/2017 21:24 111,104 xzdec.exe
15/04/2017 20:32 83,470 xzdec.i386-cygwin.exe
16/04/2017 22:49 100,536 xzdec.i386-darwin
17/04/2017 23:32 69,884 xzdec.i386-freebsd
13/04/2017 20:40 71,064 xzdec.i386-linux
15/04/2017 13:58 75,968 xzdec.i386-netbsd
19/04/2017 15:29 71,260 xzdec.i386-solaris
16/04/2017 22:49 127,900 xzdec.powerpc-darwin
29/04/2017 21:57 69,732 xzdec.powerpc-linux
19/04/2017 15:29 74,188 xzdec.sparc-solaris
15/04/2017 20:32 74,752 xzdec.x86_64-cygwin.exe
15/04/2017 23:15 76,276 xzdec.x86_64-darwin
16/04/2017 22:49 80,128 xzdec.x86_64-darwinlegacy
15/04/2017 01:00 72,472 xzdec.x86_64-linux
19/04/2017 15:29 76,568 xzdec.x86_64-solaris
Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
Norbert Preining
2018-01-08 03:21:57 UTC
Permalink
Raw Message
Hi
Post by A F
(running on Debian, switching to user mode!)
/usr/bin/tlmgr: could not find a usable xzdec.
/usr/bin/tlmgr: Please install xzdec and try again.
While upstream TeX Live does ship xzdec for all supported architectures
(Zdenek, Phil!), this is tlmgr from Debian and in Debian we do not ship
xzdec. Maybe I should add it to the dependencies ...

A simple
sudo apt-get install xzdec
should fix that.

BUT: What are you (A F) doing with
*sudo* and *init-usertree*
That does NOT make sense!!! The *user-mode* facility of tlmgr is here to
help users that do NOT have access to su/root/sudo.

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...