<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>i just wanted to use <i>tlmgr</i> on <i>Ubuntu 22.04</i> and
      got the following response for <i>tlmgr install tex-locale</i>:</p>
    <p><font color="#e72c12">(running on Debian, switching to user
        mode!)<br>
        (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)<br>
        TLPDB: not a directory, not loading: /home/peacecop/texmf<br>
        tlmgr: user mode not initialized, please read the documentation!<br>
      </font></p>
    <p>So i did <i>tlmgr init-usertree</i> and again <i>tlmgr install
        tex-locale</i>:</p>
    <p><font color="#e72c12">(running on Debian, switching to user
        mode!)<br>
        (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)<br>
        <br>
        tlmgr: Local TeX Live (2021) is older than remote repository
        (2022).<br>
        Cross release updates are only supported with<br>
          update-tlmgr-latest(.sh/.exe) --update<br>
        See <a class="moz-txt-link-freetext" href="https://tug.org/texlive/upgrade.html">https://tug.org/texlive/upgrade.html</a> for details.</font><br>
    </p>
    <p>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 <a moz-do-not-send="true"
        href="https://tug.org/texlive/quickinstall.html">new
        installation</a>. i did <i>cd /tmp</i> and <i>wget
        <a class="moz-txt-link-freetext" href="https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz</a></i>:<br>
    </p>
    <p><font color="#ff0e0e">--2022-07-28 11:48:53-- 
        <a class="moz-txt-link-freetext" href="https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz</a><br>
        Resolving mirror.ctan.org (mirror.ctan.org)... 5.35.249.60<br>
        Connecting to mirror.ctan.org
        (mirror.ctan.org)|5.35.249.60|:443... connected.<br>
        HTTP request sent, awaiting response... 302 Found<br>
        Location:
<a class="moz-txt-link-freetext" href="https://www.texlive.info/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz">https://www.texlive.info/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz</a>
        [following]<br>
        --2022-07-28 11:48:53-- 
<a class="moz-txt-link-freetext" href="https://www.texlive.info/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz">https://www.texlive.info/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz</a><br>
        Resolving <a class="moz-txt-link-abbreviated" href="http://www.texlive.info">www.texlive.info</a> (<a class="moz-txt-link-abbreviated" href="http://www.texlive.info">www.texlive.info</a>)...
        2a01:4f9:2a:1a08::2, 95.216.25.247<br>
        Connecting to <a class="moz-txt-link-abbreviated" href="http://www.texlive.info">www.texlive.info</a>
        (<a class="moz-txt-link-abbreviated" href="http://www.texlive.info">www.texlive.info</a>)|2a01:4f9:2a:1a08::2|:443... connected.<br>
        HTTP request sent, awaiting response... 200 OK<br>
        Length: 5809003 (5,5M) [application/x-gzip]<br>
        Saving to: ‘install-tl-unx.tar.gz’<br>
        <br>
        install-tl-unx.tar.gz              
100%[=================================================================>]  
        5,54M  5,75MB/s    in 1,0s    <br>
        <br>
        2022-07-28 11:48:54 (5,75 MB/s) - ‘install-tl-unx.tar.gz’ saved
        [5809003/5809003]<br>
      </font><br>
      <font color="#0f40ff">peacecop@peacecop-HP-ProBook-4520s:/tmp$
        zcat install-tl-unx.tar.gz | tar xf -<br>
        peacecop@peacecop-HP-ProBook-4520s:/tmp$ cd install-tl-*<br>
      </font><font color="#ff0000">bash: cd: too many arguments<br>
        <font color="#0024ff">peacecop@peacecop-HP-ProBook-4520s:/tmp$
          cd install-tl-20220728/<br>
          peacecop@peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$
          perl ./install-tl --no-interaction<br>
        </font>Loading
<a class="moz-txt-link-freetext" href="https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb">https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb</a><br>
        Installing TeX Live 2022 from:
        <a class="moz-txt-link-freetext" href="https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet">https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet</a>
        (verified)<br>
        Platform: x86_64-linux => 'GNU/Linux on x86_64'<br>
        Distribution: net  (downloading)<br>
        Using URL:
        <a class="moz-txt-link-freetext" href="https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet">https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet</a><br>
        Directory for temporary files: /tmp/2WY1sxlZd6<br>
        Installing to: /usr/local/texlive/2022<br>
        ./install-tl: mkdir(/usr/local/texlive/) failed for tree
        /usr/local/texlive/2022: Permission denied at
        tlpkg/TeXLive/TLUtils.pm line 1178.<br>
        <font color="#000fff">peacecop@peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$
          sudo perl ./install-tl --no-interaction<br>
        </font>Loading
        <a class="moz-txt-link-freetext" href="https://www.texlive.info/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb">https://www.texlive.info/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb</a><br>
        Installing TeX Live 2022 from:
        <a class="moz-txt-link-freetext" href="https://www.texlive.info/CTAN/systems/texlive/tlnet">https://www.texlive.info/CTAN/systems/texlive/tlnet</a> (verified)<br>
        Platform: x86_64-linux => 'GNU/Linux on x86_64'<br>
        Distribution: net  (downloading)<br>
        Using URL: <a class="moz-txt-link-freetext" href="https://www.texlive.info/CTAN/systems/texlive/tlnet">https://www.texlive.info/CTAN/systems/texlive/tlnet</a><br>
        Directory for temporary files: /tmp/BNWsUqJwS8<br>
        Installing to: /usr/local/texlive/2022<br>
        Installing [1/4, time/total: ??:??/??:??]: hyphen-base [22k]<br>
        Installing [2/4, time/total: 00:00/00:00]: kpathsea [1087k]<br>
        Installing [3/4, time/total: 00:01/00:01]: texlive-scripts
        [521k]<br>
      </font>...</p>
    <p><font color="#ff0000">Installing [4398/4398, time/total:
        43:14/43:14]: zztex [147k]<br>
        Time used for installing the packages: 43:14<br>
        running mktexlsr /usr/local/texlive/2022/texmf-dist ...<br>
        mktexlsr: Updating /usr/local/texlive/2022/texmf-dist/ls-R... <br>
        mktexlsr: Done.<br>
        writing fmtutil.cnf to
        /usr/local/texlive/2022/texmf-dist/web2c/fmtutil.cnf<br>
        writing updmap.cfg to
        /usr/local/texlive/2022/texmf-dist/web2c/updmap.cfg<br>
        writing language.dat to
        /usr/local/texlive/2022/texmf-var/tex/generic/config/language.dat<br>
        writing language.def to
        /usr/local/texlive/2022/texmf-var/tex/generic/config/language.def<br>
        writing language.dat.lua to
        /usr/local/texlive/2022/texmf-var/tex/generic/config/language.dat.lua<br>
        running mktexlsr /usr/local/texlive/2022/texmf-var
        /usr/local/texlive/2022/texmf-config
        /usr/local/texlive/2022/texmf-dist ...<br>
        mktexlsr: Updating /usr/local/texlive/2022/texmf-config/ls-R...
        <br>
        mktexlsr: Updating /usr/local/texlive/2022/texmf-dist/ls-R... <br>
        mktexlsr: Updating /usr/local/texlive/2022/texmf-var/ls-R... <br>
        mktexlsr: Done.<br>
        running updmap-sys --nohash ...done<br>
        re-running mktexlsr /usr/local/texlive/2022/texmf-var
        /usr/local/texlive/2022/texmf-config ...<br>
        mktexlsr: Updating /usr/local/texlive/2022/texmf-config/ls-R...
        <br>
        mktexlsr: Updating /usr/local/texlive/2022/texmf-var/ls-R... <br>
        mktexlsr: Done.<br>
        setting up ConTeXt cache: running mtxrun --generate ...done<br>
        pre-generating all format files, be patient...<br>
        running fmtutil-sys
        --no-error-if-no-engine=luajithbtex,luajittex,mfluajit
        --no-strict --all ...done<br>
        running package-specific postactions<br>
        finished with package-specific postactions<br>
        <br>
        <br>
        Welcome to TeX Live!<br>
        <br>
        <br>
        See /usr/local/texlive/2022/index.html for links to
        documentation.<br>
        The TeX Live web site (<a class="moz-txt-link-freetext" href="https://tug.org/texlive/">https://tug.org/texlive/</a>) 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 <a class="moz-txt-link-freetext" href="https://tug.org/usergroups.html">https://tug.org/usergroups.html</a>.<br>
        <br>
        <br>
        Add /usr/local/texlive/2022/texmf-dist/doc/man to MANPATH.<br>
        Add /usr/local/texlive/2022/texmf-dist/doc/info to INFOPATH.<br>
        Most importantly, add /usr/local/texlive/2022/bin/x86_64-linux<br>
        to your PATH for current and future sessions.<br>
        Logfile: /usr/local/texlive/2022/install-tl.log<br>
      </font><font color="#0021ff">peacecop@peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$
        tlmgr install tex-locale<br>
      </font><font color="#ff0000">(running on Debian, switching to user
        mode!)<br>
        (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)<br>
        <br>
        tlmgr: Local TeX Live (2021) is older than remote repository
        (2022).<br>
        Cross release updates are only supported with<br>
          update-tlmgr-latest(.sh/.exe) --update<br>
        See <a class="moz-txt-link-freetext" href="https://tug.org/texlive/upgrade.html">https://tug.org/texlive/upgrade.html</a> for details.<br>
      </font><font color="#0026ff">peacecop@peacecop-HP-ProBook-4520s:/tmp/install-tl-20220728$
        $PATH<br>
      </font><font color="#ff0000">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<br>
      </font><font color="#001cff"><a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        latex --version<br>
      </font><font color="#ff0000">pdfTeX 3.141592653-2.6-1.40.22 (TeX
        Live 2022/dev/Debian)<br>
        kpathsea version 6.3.4/dev<br>
        Copyright 2021 Han The Thanh (pdfTeX) et al.<br>
        There is NO warranty.  Redistribution of this software is<br>
        covered by the terms of both the pdfTeX copyright and<br>
        the Lesser GNU General Public License.<br>
        For more information about these matters, see the file<br>
        named COPYING and the pdfTeX source.<br>
        Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.<br>
        Compiled with libpng 1.6.37; using libpng 1.6.37<br>
        Compiled with zlib 1.2.11; using zlib 1.2.11<br>
        Compiled with xpdf version 4.03<br>
      </font><font color="#0038f4"><a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH; export PATH<br>
        <a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a> $PATH<br>
      </font><font color="#ff0000">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<br>
      </font><font color="#0024ff"><a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        MANPATH=/usr/local/texlive/2022/texmf-dist/doc/<a class="moz-txt-link-freetext" href="man:$MANPATH">man:$MANPATH</a>;
        export MANPATH<br>
        <a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        INFOPATH=/usr/local/texlive/2022/texmf-dist/doc/<a class="moz-txt-link-freetext" href="info:$INFOPATH">info:$INFOPATH</a>;
        export INFOPATH<br>
        <a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a> emacs
        ~/.profile <br>
        <a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a> source
        ~/.profile<br>
        <a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a> tlmgr install
        tex-locale<br>
      </font><font color="#ff1717">You don't have permission to change
        the installation in any way,<br>
        specifically, the directory /usr/local/texlive/2022/tlpkg/ is
        not writable.<br>
        Please run this program as administrator, or contact your local
        admin.<br>
        tlmgr: An error has occurred. See above messages. Exiting.<br>
      </font><font color="#001fff"><a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        sudo tlmgr install tex-locale<br>
      </font><font color="#ff0000">[sudo] password for peacecop: <br>
        (running on Debian, switching to user mode!)<br>
        (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)<br>
        TLPDB: not a directory, not loading: /root/texmf<br>
        tlmgr: user mode not initialized, please read the documentation!<br>
      </font><font color="#002dff"><a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        sudo tlmgr init-usertree<br>
        <a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a> sudo tlmgr
        install tex-locale<br>
      </font><font color="#ff0000">(running on Debian, switching to user
        mode!)<br>
        (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)<br>
        <br>
        tlmgr: Local TeX Live (2021) is older than remote repository
        (2022).<br>
        Cross release updates are only supported with<br>
          update-tlmgr-latest(.sh/.exe) --update<br>
        See <a class="moz-txt-link-freetext" href="https://tug.org/texlive/upgrade.html">https://tug.org/texlive/upgrade.html</a> for details.<br>
      </font></p>
    <p>As you see, i the <i>2022</i> version was installed, <i>PATH</i>
      was renewed and still, it complains that the version is <i>2021</i>.
      What should i do to use <i>tlmgr</i> fully? There isn't even the
      folder <i>2021</i>:</p>
    <p><font color="#001bff"><a class="moz-txt-link-abbreviated" href="mailto:peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$">peacecop@peacecop-HP-ProBook-4520s:/etc/profile.d$</a>
        cd /usr/local/texlive/<br>
        peacecop@peacecop-HP-ProBook-4520s:/usr/local/texlive$ l -la<br>
      </font><font color="#ff0000">total 16<br>
        drwxr-xr-x  4 root root 4096 juuli 28 11:49 ./<br>
        drwxr-xr-x 13 root root 4096 juuli 28 11:49 ../<br>
        drwxr-xr-x  9 root root 4096 juuli 28 12:35 2022/<br>
        drwxr-xr-x 10 root root 4096 juuli 28 11:49 texmf-local/<br>
      </font><font color="#000dff">peacecop@peacecop-HP-ProBook-4520s:/usr/local/texlive$
        cd 2022<br>
        peacecop@peacecop-HP-ProBook-4520s:/usr/local/texlive/2022$ sudo
        wget
        <a class="moz-txt-link-freetext" href="https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh">https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh</a><br>
      </font><font color="#ff0000">[sudo] password for peacecop: <br>
        --2022-07-28 22:37:46-- 
        <a class="moz-txt-link-freetext" href="https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh">https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh</a><br>
        Resolving mirror.ctan.org (mirror.ctan.org)... 5.35.249.60<br>
        Connecting to mirror.ctan.org
        (mirror.ctan.org)|5.35.249.60|:443... connected.<br>
        HTTP request sent, awaiting response... 302 Found<br>
        Location:
<a class="moz-txt-link-freetext" href="https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh">https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh</a>
        [following]<br>
        --2022-07-28 22:37:46-- 
<a class="moz-txt-link-freetext" href="https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh">https://www.nic.funet.fi/pub/TeX/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh</a><br>
        Resolving <a class="moz-txt-link-abbreviated" href="http://www.nic.funet.fi">www.nic.funet.fi</a> (<a class="moz-txt-link-abbreviated" href="http://www.nic.funet.fi">www.nic.funet.fi</a>)...
        2001:708:10:8::3, 193.166.3.3<br>
        Connecting to <a class="moz-txt-link-abbreviated" href="http://www.nic.funet.fi">www.nic.funet.fi</a>
        (<a class="moz-txt-link-abbreviated" href="http://www.nic.funet.fi">www.nic.funet.fi</a>)|2001:708:10:8::3|:443... connected.<br>
        HTTP request sent, awaiting response... 200 OK<br>
        Length: 9640283 (9,2M) [application/x-sh]<br>
        Saving to: ‘update-tlmgr-latest.sh’<br>
        <br>
        update-tlmgr-latest.sh             
100%[=================================================================>]  
        9,19M  3,31MB/s    in 2,8s    <br>
        <br>
        2022-07-28 22:37:49 (3,31 MB/s) - ‘update-tlmgr-latest.sh’ saved
        [9640283/9640283]<br>
        <br>
      </font><font color="#002dff">peacecop@peacecop-HP-ProBook-4520s:/usr/local/texlive/2022$
        sh update-tlmgr-latest.sh -- --upgrade<br>
      </font><font color="#ff0000">Verifying archive integrity... All
        good.<br>
        Uncompressing TeX Live Manager Updater  100%  <br>
        ./runme.sh: updating in /usr/local/texlive/2022...<br>
        ./runme.sh: tlmgr version says this is TeX Live 2022,<br>
        ./runme.sh: and this updater script created: Sun Jun 19 02:47:56
        CEST 2022.<br>
        ./runme.sh: have TL 2022, new version also 2022;<br>
        ./runme.sh: using --upgrade doesn't make sense; terminating.<br>
        (./runme.sh: makeself creation date = Sun Jun 19 02:47:56 CEST
        2022.)<br>
      </font><font color="#001dff">peacecop@peacecop-HP-ProBook-4520s:/usr/local/texlive/2022$
        sudo tlmgr update --self --all<br>
      </font><font color="#ff0000">(running on Debian, switching to user
        mode!)<br>
        (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)<br>
        <br>
        tlmgr: Local TeX Live (2021) is older than remote repository
        (2022).<br>
        Cross release updates are only supported with<br>
          update-tlmgr-latest(.sh/.exe) --update<br>
        See <a class="moz-txt-link-freetext" href="https://tug.org/texlive/upgrade.html">https://tug.org/texlive/upgrade.html</a> for details.</font></p>
    <p>So none of the instructions seem to be correct or there's
      something missing.<br>
    </p>
  </body>
</html>