Install texlive-base hangs

Asked by Ben Bergen

Trying to install texlive-base hangs. I've tried this on a couple of different nodes (LTS 18.04) with the same result. I don't know if it makes a difference, but both of the machines I have tried this on are running in multi-user mode (runlevel 3). I'm not sure how to try to debug this...

>>>>>> apt install texlive-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  perl-tk
The following NEW packages will be installed:
  texlive-base
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/18.7 MB of archives.
After this operation, 53.2 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package texlive-base.
(Reading database ... 238354 files and directories currently installed.)
Preparing to unpack .../texlive-base_2017.20180305-1_all.deb ...
Unpacking texlive-base (2017.20180305-1) ...
Processing triggers for tex-common (6.09) ...
Running mktexlsr. This may take some time... done.
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up texlive-base (2017.20180305-1) ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps
tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg
tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper

Progress: [ 67%] [######################################....................]

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu texlive-base Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

How to debug installation problems like this:

Edit the postinst script for the package with the problem with a text editor of your choice and activate script tracing.

e.g. in your case issue the command:
sudo gedit /var/lib/dpkg/info/texlive-base.postinst
(or sudo nano /var/lib/dpkg/info/texlive-base.postinst)

insert the line
set -x
after the first block of comments, save the file and close the editor.

Then execute the command
sudo dpkg --configure -a
and you will see more details about the steps executed during package installation. Maybe this helps identifying where and why the installation stalls.

Can you help with this problem?

Provide an answer of your own, or ask Ben Bergen for more information if necessary.

To post a message you must log in.