How to fix version problems with TeXLive & tlmgr - latex

I installed TeXLive following the instructions here and here, and the installer told me that I am installing the 2020 version:
Loading http://mirror.koddos.net/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2020 from: http://mirror.koddos.net/CTAN/systems/texlive/tlnet (verified)
...
However, asking tex --version returns me:
TeX 3.14159265 (TeX Live 2017/Debian)
kpathsea version 6.2.3
Copyright 2017 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
I changed the repository for tlmgr as suggested here:
sudo tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final
But now is gives me errors that 2017 is no longer supported.
Which is the reason that I cannot install packages:
~$ tlmgr update --self
(running on Debian, switching to user mode!)
TeX Live 2017 is frozen forever and will no
longer be updated. This happens in preparation for a new release.
If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr: package repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final (verified)
tlmgr: no self-updates for tlmgr available.
and
~$ tlmgr install nicefrac
(running on Debian, switching to user mode!)
TeX Live 2017 is frozen forever and will no
longer be updated. This happens in preparation for a new release.
If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr: package repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final (verified)
tlmgr install: package nicefrac not present in repository.
tlmgr: action install returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.
How do I install the 2020 version of TeX or how can I properly use tlmgr without getting these errors?

Related

Why vcpkg can't install packages?

When I try to install matplotlib-cpp using vcpkg, the console always returns Computing installation plan..., then nothing happens. After that, I checked the installation package with .\vcpkg list. It seems that this package has not been installed.
I also tried to install other packages and encountered the same situation.
Environment:
Windows 10, 64 bit build 19042
Visual Studio 2019
cmake 3.21.0-rc2
Git
The scene where the problem occurred
We also ran into this. Extremely painful to find as CMake seems to work otherwise. If you use vcpkg at all I would advise not trying CMake 3.21.0 until this is fixed.

How to install TeX live at newest version?

I installed TeX Live following the guide on their website using the install-tl script two times. Before the second install I followed the pre-install instructions on that same website, and before any installation I removed the 2017 version that had been installed through Debian repositories.
I need a version of TeX Live >2019. I assumed the install script would install the newest version, but apparently that's not the case, since:
$ tlmgr --version
tlmgr revision 49885 (2019-01-31 20:27:00 +0100)
tlmgr using installation: /usr/share/texlive
TeX Live (http://tug.org/texlive) version 2018
However, my TeX Live installation is in ./usr/local/texlive/2021. There is no other directory with a year name in ./usr/local/texlive/.
I'm really running out of ideas, but I do need a newer version of TeX Live. I'm on Debian 10.
I followed samcarter_is_at_topanswers.xyz advice, but had to find the correct directory for my tlmgr executable. I found that through
$ sudo find -iname 'tlmgr'
.. invoked at the root directory. Running
$ /usr/local/texlive/2021/bin/x86_64-darwinlegacy/tlmgr --version
returned the newest version. However, that path was already set as described on the TeX Live page. For it to work, I deleted more directories that had been included in the 2018 installation version of TeX Live. I found those through
$ sudo find -iname '*texlive*'
invoked at the root directory. Then
$ tlmgr --version
returned the correct version.
Also, don't install TeX Live in /usr/local. Install it in your home directory.

problem installing orocos_toolchain in ros melodic

I have some problems following the tutorial "http://wiki.ros.org/Industrial/Tutori...". I have installed ROS Melodic and i want to use an slave ethercat like the "IO rack: EtherCAT Couper, 8 DI, & 8DO (all Beckhoff)" but different brand (Omron), and when i try to follow the step 1: Install OROCOS toolchain for ROS it return a error when i follow the tutorial "http://wiki.ros.org/orocos_toolchain" and execute the command "rosdep install orocos_toolchain" the error is the next: ERROR: Rosdep cannot find all required resources to answer your query Missing resource orocos_toolchain.
I use ROS 1 Distro: melodic SO: Ubuntu 18:04
Someone can i help me, please. I was searching another ways to install OROCOS toolchain but i didn't have success.
Most of the readily available documentation for installing / using Orocos is out of date. For example, that page you were at is (at timeof writing) 6 years old, for an end-of-life distro.
The up-to-date info is on their github and website (The website, for you right now, is probably less useful, but this page still is). Respectively, you should now install that fat stack as sudo apt install ros-melodic-rtt-ros-integration, aka install from binary sources. Make sure to pay careful attention to Building ROS-Based Orocos Components, because they have their own system which changes the CMake process. There's also other packages that they/others keep from other stacks, you can see the whole list by trying to autocomplete apt install ros-melodic-rtt-

How to setup ROS environment variable on Ubuntu 20.04?

I tried following this guide to install ROS, but even after adding ROS source.list and its key
sudo apt install ros-melodic-desktop-full
gave error.
E: Unable to locate package ros-melodic-desktop-full
Then I ran this command
sudo apt search ros
to see if any such package exists. I couldn't find ros-melodic-desktop-full but I found another similar package ros-desktop-full.
So I installed it instead. The installation went smooth without giving any errors.
Next step in the guide is to set-up ROS environment variable, but I have no such directory
/opt/ros
So how do I setup the environment variable?
P.S.
I also installed some tools and dependencies with this command
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
and initialized rosdep
sudo rosdep init
rosdep update
The ros-desktop-full package you installed is part of the official Ubuntu release.
ROS Melodic (and in the future, Noetic) is published by the OSRF in a separate repository (packages.ros.org). These packages install to /opt/ros/. However, some ROS packages have also been ported to Debian, which is how they found their way to Ubuntu (which derives from Debian).
The Debian packages are fully functional, but they do not install to /opt/ros. Instead, everything is integrated in the operating system itself. This means that you need to set up your personal workspace slightly differently.
Given that most tutorials assume that you use the OSRF packages, I suggest you either wait for the Noetic release (scheduled for the end of May 2020), then install ros-noetic-desktop-full, or downgrade to Ubuntu 18.04 LTS to use ROS Melodic.
From the documentation here, melodic is only supported on Ubuntu 18.04. The ROS version targeting Focal (20.04) is Noetic, but that one has not been released yet (see Distributions). I'm not sure what ROS version Ubuntu packages (the ros-desktop-full one you installed), but I was not successful in using it.
If you really do want to use Ubuntu 20.04, then I think your best option currently is to compile from source. Last time I checked the precompiled debs for Noetic are not yet available at http://packages.ros.org/ros/ubuntu (you can track release progress at github issue 21513). No idea if compiling Noetic from source is easy or hard, but I was able to compile ROS2 foxy from source without too much trouble though.

clickhouse-server install failed on CentOS6 with libbfd package error

I'm testing clickhouse. Finally I installed ClickHouse on my virtual machine. But I've got some problem to make it.
--> Finished Dependency Resolution
Error: Package: clickhouse-server-1.1.54236-4.el6.x86_64 (clickhouse)
Requires: libbfd-2.20.51.0.2-5.44.el6.so()(64bit)
But, I already have this "binutils-2.20.51.0.2-5.47". (More recent version)
[root#node01 ~]# rpm -qa | grep "binutils"
binutils-2.20.51.0.2-5.47.el6_9.1.x86_64
So, I removed binutils-2.20.51.0.2-5.47 and install binutils-2.20.51.0.2-5.44, it works well.
Is this common issue?
Thanks.
Chan.
The BFD libraries are only intended for internal use by binutils and related tools. There is no ABI stability even within the same release of CentOS (or Red Hat Enterprise Linux). This is why the library name can change from minor release to minor release, breaking RPM dependencies in this way.
You need to talk to whoever builds clickhouse. They need to bundle their own version of BFD if they truly need it, or use supported libraries such as libelf from elfutils if they need only a tiny subset.

Resources