Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I installed TeXLive2012 on Linux some time ago, I had to follow How to install "vanilla" TeXLive on Debian or Ubuntu?. For the new release, as of yesterday, will I need to mimic the procedure from 2012 or can it be done in an easier fashion this time? Or does it have to be installed in an entirely different way?

Edit 2:

After uninstalling:

Setting up tex-common (3.15) ...
Directory /etc/texmf/ not writeable. Exiting.
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Edit 3:

Now, whenever I run commands in the terminal, I receive this:

Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up tex-common (3.15) ...
Directory /etc/texmf/ not writeable. Exiting.
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 tex-common

E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up tex-common (3.15) ...
Directory /etc/texmf/ not writeable. Exiting.
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tex-common

This occurred when I ran sudo aptitude update and then running upgrade. I followed everything from cmhughes link on removing TeXLive.

share|improve this question
3  
Nope- I just installed it today, and it worked fine. I removed TL 2012 as detailed in How do I update my TeX distribution?, but some folks choose to keep two distributions in parallel –  cmhughes Jun 20 '13 at 2:36
2  
Yes indeed- download and unzip the install-tl-unx.tar.gz, then run sudo ./install. Once installed, update the paths, and you're set :) –  cmhughes Jun 20 '13 at 2:39
    
do tlmgr uninstall and then see How to remove everything related to TeX Live for fresh install on Ubuntu? –  cmhughes Jun 20 '13 at 3:01
    
Actually the installation instructions can be improved. But this is the Linux world, and those who write instructions assume many things. For example, I had to install TK and perl-tk before, else the gui will not come up (it did not say to do that) Also, it did not say to use sudo or not to use sudo on the command. I had to guess to use sudo –  Nasser Jun 20 '13 at 4:59
    
@Nasser I used sudo for everything and in the link in the op it mentions perl to use the manager. But I still would like to know how to fix the issue I am having at present. –  dustin Jun 20 '13 at 5:13

1 Answer 1

up vote 5 down vote accepted

If you follow How to remove everything related to TeX Live for fresh install on Ubuntu? and receive the problem I have had, you need to do this:

sudo apt-get remove tex-common --purge

This will remove whatever hidden dependency that remains and then tries to reinstall later if you run and apt-get upgrade or aptitude upgrade.

Then I followed: How to install "vanilla" TeXLive on Debian or Ubuntu?

share|improve this answer
    
I think this stuff you had left over was from the repositories.... –  cmhughes Jun 21 '13 at 0:19
    
@cmhughes possibly. It should have been mentioned in the post on how to remove from Ubuntu though but it wasn't. –  dustin Jun 21 '13 at 2:11
    
Is this thread/Issue related to your Q sudo apt-get purge texlive* tex-common* –  texenthusiast Jun 21 '13 at 9:05
    
@texenthusiast that wasn't my question. I have never seen it until you pointed it out but that line is key when uninstalling TeXLive from Ubuntu. –  dustin Jun 21 '13 at 12:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.