GeneralWeird LaTeX Error even after reinstalling texlive

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Natan
Posts: 9
Joined: Fri Oct 23, 2020 2:53 pm

Weird LaTeX Error even after reinstalling texlive

Post by Natan »

Hey,
The Problem
I kinda crashed my unix system a few days ago but managed to reinstall everything I accidentally removed from my system (among it texmaker).
So I reinstalled everything and my system is running fine now, but I get weird errors (things that compiled before, no longer do) with latex. I therefore reinstalled texlive using this guide https://www.tug.org/texlive/quickinstall.html (using install-tl) and also did the clean-up.

Sadly this didn't remove the symptoms. Therefore I am kinda helpless :)

The Symptoms
I will describe some of those symptoms:
\usepackage[ngerman]{babel}
now throws: Package babel Error: Unknown option 'ngerman'

Trying to include 'rpg-manuel'

Trying to compile a .tex file using the rpg-module class (placed in the texmf folder correctly; worked before the crash):
'Undefined control sequence.\pgfutil@addpdfresource...urce@extgs@plain{#1} \begin{document}

This here for example runs without problem (just so you know that it isn't broken completely:

Code: Select all

\documentclass[]{article}
\usepackage{parskip}   
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{svg}
\usepackage{lipsum}        
\usepackage{xcolor}            
\usepackage{hyperref}
\newcommand{\vi}{\textbf{ViRect}}
\newcommand{\optional[1]}{#1}
\title{Test}
\begin{document}
Test
\end{document}
I will happily follow up adding more and more information if I have some kind of idea what I have to go looking for.

The first attempts of finding what's add issue
tlmgr update --list
(running on Debian, switching to user mode!)
/usr/bin/tlmgr: unexpected return value from verify_checksum: -5

(username@x4:~$ tlmgr init-usertree
tlmgr: user mode database already set up in
tlmgr: /home/username/texmf/tlpkg/texlive.tlpdb
tlmgr: not overwriting it.
username@x4:~$ sudo tlmgr update --all
(running on Debian, switching to user mode!)
TLPDB: not a directory, not loading: /root/texmf
tlmgr: running in usermode, did you call `tlmgr init-usertree'?


Return of the old version 2019
tlmgr install lm-math --verify-repo=none gives me:
tlmgr: Local TeX Live (2019) is older than remote repository (2020).

So the problem could be that atm the 2020 version I've installed is not properly linked.

But I have texlive 2020 installed:
texlive
├── 2020
└── texmf-local
and in path
/usr/local/texlive/2020/bin/x86_64-linux

A new hope
K I am very sure that this is the issue since tex -version returns:
TeX 3.14159265 (TeX Live 2019/Debian)

So I just have to fix this somehow...

using the star "sudo apt-get remove texlive*" somehow removed texlive more thoroughly, I am going to reinstall it now.

Solved
Yep,
that did the trick :) so if you are ever in the same situation I hope this helps you out!
Attachments
rpg-module.txt
log of the rpg-module
(26.77 KiB) Downloaded 188 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply