0

For quite some time I encounter an error with tex-common whenever I try to free disk-space by running the command sudo apt-get autoremove. The error is as follows:

dpkg: error processing package tex-common (--configure):
 installed tex-common package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 tex-common

I tried sudo dpkg -C and sudo dpkg --configure tex-common as well as sudo apt-get install --reinstall tex-common with similar output. I also tried to reconfigure the locale-setting (as recommended in this post Failing to configure tex-common on Ubuntu 20.04.2 LTS ) but that didn't fix the problem. I get the following warning in a addition:

perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = "en_US.UTF-8",
    LC_TIME = "de_AT.UTF-8",
    LC_MONETARY = "de_AT.UTF-8",
    LC_ADDRESS = "de_AT.UTF-8",
    LC_TELEPHONE = "de_AT.UTF-8",
    LC_NAME = "de_AT.UTF-8",
    LC_MEASUREMENT = "de_AT.UTF-8",
    LC_IDENTIFICATION = "de_AT.UTF-8",
    LC_NUMERIC = "de_AT.UTF-8",
    LC_PAPER = "de_AT.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I guess that the error I encounter has something to do with the texlive-installation. I currently use texlive 2023 which is located in /usr/local/texlive. However, tex-common is in /usr/share/tex-common. I upgraded to texlive 2023 about 1,5 years ago and in the beginning everything worked smoothly (as far as I remember).

I don't know how to fix the problem and don't want to make anything worse (than I have maybe done already). Hence, I kindly ask for help from the community. Please let me know if additional output or information is needed.

Bettina
  • 51

1 Answers1

1

The initial solution recommended by Ray worked for me: I simply removed tex-common (via sudo apt-get remove tex-common). Now everything seems to run smoothly.

Bettina
  • 51