"tlmgr" on "Ubuntu 22.04"

peacecop kalmer: kalmer at test.tennis24.ee
Thu Jul 28 21:55:59 CEST 2022


i just wanted to use /tlmgr/ on /Ubuntu 22.04/ and got the following 
response for /tlmgr install tex-locale/:

(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)
TLPDB: not a directory, not loading: /home/peacecop/texmf
tlmgr: user mode not initialized, please read the documentation!

So i did /tlmgr init-usertree/ and again /tlmgr install tex-locale/:

(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)

tlmgr: Local TeX Live (2021) is older than remote repository (2022).
Cross release updates are only supported with
   update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.

Then i used the given web address where's the recommendation to do a new 
installation instead of the upgrade and i followed the instructions for 
the new installation <https://tug.org/texlive/quickinstall.html>. i did 
/cd /tmp/ and /wget 
https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz/:

--2022-07-28 11:48:53-- 
https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
Resolving mirror.ctan.org (mirror.ctan.org)... 5.35.249.60
Connecting to mirror.ctan.org (mirror.ctan.org)|5.35.249.60|:443... 
connected.
HTTP request sent, awaiting response... 302 Found
Location: 
https://www.texlive.info/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz 
[following]
--2022-07-28 11:48:53-- 
https://www.texlive.info/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz
Resolving www.texlive.info (www.texlive.info)... 2a01:4f9:2a:1a08::2, 
95.216.25.247
Connecting to www.texlive.info 
(www.texlive.info)|2a01:4f9:2a:1a08::2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5809003 (5,5M) [application/x-gzip]
Saving to: ‘install-tl-unx.tar.gz’

install-tl-unx.tar.gz 
100%[=================================================================>] 
5,54M  5,75MB/s    in 1,0s

2022-07-28 11:48:54 (5,75 MB/s) - ‘install-tl-unx.tar.gz’ saved 
[5809003/5809003]

peacecop at peacecop-HP-ProBook-4520s:/tmp$ zcat install-tl-unx.tar.gz | 
tar xf -
peacecop at peacecop-HP-ProBook-4520s:/tmp$ cd install-tl-*
bash: cd: too many arguments
peacecop at peacecop-HP-ProBook-4520s:/tmp$ cd install-tl-20220728/
peacecop at peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$ perl 
./install-tl --no-interaction
Loading 
https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2022 from: 
https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet (verified)
Platform: x86_64-linux => 'GNU/Linux on x86_64'
Distribution: net  (downloading)
Using URL: https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet
Directory for temporary files: /tmp/2WY1sxlZd6
Installing to: /usr/local/texlive/2022
./install-tl: mkdir(/usr/local/texlive/) failed for tree 
/usr/local/texlive/2022: Permission denied at tlpkg/TeXLive/TLUtils.pm 
line 1178.
peacecop at peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$ sudo perl 
./install-tl --no-interaction
Loading 
https://www.texlive.info/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2022 from: 
https://www.texlive.info/CTAN/systems/texlive/tlnet (verified)
Platform: x86_64-linux => 'GNU/Linux on x86_64'
Distribution: net  (downloading)
Using URL: https://www.texlive.info/CTAN/systems/texlive/tlnet
Directory for temporary files: /tmp/BNWsUqJwS8
Installing to: /usr/local/texlive/2022
Installing [1/4, time/total: ??:??/??:??]: hyphen-base [22k]
Installing [2/4, time/total: 00:00/00:00]: kpathsea [1087k]
Installing [3/4, time/total: 00:01/00:01]: texlive-scripts [521k]
...

Installing [4398/4398, time/total: 43:14/43:14]: zztex [147k]
Time used for installing the packages: 43:14
running mktexlsr /usr/local/texlive/2022/texmf-dist ...
mktexlsr: Updating /usr/local/texlive/2022/texmf-dist/ls-R...
mktexlsr: Done.
writing fmtutil.cnf to /usr/local/texlive/2022/texmf-dist/web2c/fmtutil.cnf
writing updmap.cfg to /usr/local/texlive/2022/texmf-dist/web2c/updmap.cfg
writing language.dat to 
/usr/local/texlive/2022/texmf-var/tex/generic/config/language.dat
writing language.def to 
/usr/local/texlive/2022/texmf-var/tex/generic/config/language.def
writing language.dat.lua to 
/usr/local/texlive/2022/texmf-var/tex/generic/config/language.dat.lua
running mktexlsr /usr/local/texlive/2022/texmf-var 
/usr/local/texlive/2022/texmf-config /usr/local/texlive/2022/texmf-dist ...
mktexlsr: Updating /usr/local/texlive/2022/texmf-config/ls-R...
mktexlsr: Updating /usr/local/texlive/2022/texmf-dist/ls-R...
mktexlsr: Updating /usr/local/texlive/2022/texmf-var/ls-R...
mktexlsr: Done.
running updmap-sys --nohash ...done
re-running mktexlsr /usr/local/texlive/2022/texmf-var 
/usr/local/texlive/2022/texmf-config ...
mktexlsr: Updating /usr/local/texlive/2022/texmf-config/ls-R...
mktexlsr: Updating /usr/local/texlive/2022/texmf-var/ls-R...
mktexlsr: Done.
setting up ConTeXt cache: running mtxrun --generate ...done
pre-generating all format files, be patient...
running fmtutil-sys 
--no-error-if-no-engine=luajithbtex,luajittex,mfluajit --no-strict --all 
...done
running package-specific postactions
finished with package-specific postactions


Welcome to TeX Live!


See /usr/local/texlive/2022/index.html for links to documentation.
The TeX Live web site (https://tug.org/texlive/) contains any updates 
and corrections. TeX Live is a joint project of the TeX user groups 
around the world; please consider supporting it by joining the group 
best for you. The list of groups is available on the web at 
https://tug.org/usergroups.html.


Add /usr/local/texlive/2022/texmf-dist/doc/man to MANPATH.
Add /usr/local/texlive/2022/texmf-dist/doc/info to INFOPATH.
Most importantly, add /usr/local/texlive/2022/bin/x86_64-linux
to your PATH for current and future sessions.
Logfile: /usr/local/texlive/2022/install-tl.log
peacecop at peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$ tlmgr 
install tex-locale
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)

tlmgr: Local TeX Live (2021) is older than remote repository (2022).
Cross release updates are only supported with
   update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
peacecop at peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$ $PATH
bash: 
/home/peacecop/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin: 
No such file or directory
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ latex --version
pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian)
kpathsea version 6.3.4/dev
Copyright 2021 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.37; using libpng 1.6.37
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.03
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ 
PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH; export PATH
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ $PATH
bash: 
/usr/local/texlive/2022/bin/x86_64-linux:/home/peacecop/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin: 
No such file or directory
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ 
MANPATH=/usr/local/texlive/2022/texmf-dist/doc/man:$MANPATH; export MANPATH
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ 
INFOPATH=/usr/local/texlive/2022/texmf-dist/doc/info:$INFOPATH; export 
INFOPATH
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ emacs ~/.profile
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ source ~/.profile
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ tlmgr install tex-locale
You don't have permission to change the installation in any way,
specifically, the directory /usr/local/texlive/2022/tlpkg/ is not writable.
Please run this program as administrator, or contact your local admin.
tlmgr: An error has occurred. See above messages. Exiting.
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ sudo tlmgr install 
tex-locale
[sudo] password for peacecop:
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)
TLPDB: not a directory, not loading: /root/texmf
tlmgr: user mode not initialized, please read the documentation!
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ sudo tlmgr init-usertree
peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ sudo tlmgr install 
tex-locale
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)

tlmgr: Local TeX Live (2021) is older than remote repository (2022).
Cross release updates are only supported with
   update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.

As you see, i the /2022/ version was installed, /PATH/ was renewed and 
still, it complains that the version is /2021/. What should i do to use 
/tlmgr/ fully? There isn't even the folder /2021/:

peacecop at peacecop-HP-ProBook-4520s:/etc/profile.d$ cd /usr/local/texlive/
peacecop at peacecop-HP-ProBook-4520s:/usr/local/texlive$ l -la
total 16
drwxr-xr-x  4 root root 4096 juuli 28 11:49 ./
drwxr-xr-x 13 root root 4096 juuli 28 11:49 ../
drwxr-xr-x  9 root root 4096 juuli 28 12:35 2022/
drwxr-xr-x 10 root root 4096 juuli 28 11:49 texmf-local/
peacecop at peacecop-HP-ProBook-4520s:/usr/local/texlive$ cd 2022
peacecop at peacecop-HP-ProBook-4520s:/usr/local/texlive/2022$ sudo wget 
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
[sudo] password for peacecop:
--2022-07-28 22:37:46-- 
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
Resolving mirror.ctan.org (mirror.ctan.org)... 5.35.249.60
Connecting to mirror.ctan.org (mirror.ctan.org)|5.35.249.60|:443... 
connected.
HTTP request sent, awaiting response... 302 Found
Location: 
https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh 
[following]
--2022-07-28 22:37:46-- 
https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh
Resolving www.nic.funet.fi (www.nic.funet.fi)... 2001:708:10:8::3, 
193.166.3.3
Connecting to www.nic.funet.fi 
(www.nic.funet.fi)|2001:708:10:8::3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9640283 (9,2M) [application/x-sh]
Saving to: ‘update-tlmgr-latest.sh’

update-tlmgr-latest.sh 
100%[=================================================================>] 
9,19M  3,31MB/s    in 2,8s

2022-07-28 22:37:49 (3,31 MB/s) - ‘update-tlmgr-latest.sh’ saved 
[9640283/9640283]

peacecop at peacecop-HP-ProBook-4520s:/usr/local/texlive/2022$ sh 
update-tlmgr-latest.sh -- --upgrade
Verifying archive integrity... All good.
Uncompressing TeX Live Manager Updater  100%
./runme.sh: updating in /usr/local/texlive/2022...
./runme.sh: tlmgr version says this is TeX Live 2022,
./runme.sh: and this updater script created: Sun Jun 19 02:47:56 CEST 2022.
./runme.sh: have TL 2022, new version also 2022;
./runme.sh: using --upgrade doesn't make sense; terminating.
(./runme.sh: makeself creation date = Sun Jun 19 02:47:56 CEST 2022.)
peacecop at peacecop-HP-ProBook-4520s:/usr/local/texlive/2022$ sudo tlmgr 
update --self --all
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)

tlmgr: Local TeX Live (2021) is older than remote repository (2022).
Cross release updates are only supported with
   update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.

So none of the instructions seem to be correct or there's something missing.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20220728/bf5790fd/attachment-0001.html>


More information about the tex-live mailing list.