← Back to team overview

aims team mailing list archive

[Bug 1236951] Re: package tex-common 4.04 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

 

Update from 13.10 to 14.04 caused me this problem too: the upgrade failed to 
install tex-common and emacsen-common and reinstalling did not work. 
Combining the comments above with instructions on 
http://tug.org/texlive/
this is what worked for me. 
If someone can say how this should really be done, I'd be happy to see it.

1. Uninstall everything to do with emacs and xemacs
(I used synaptic package manager, to find what to remove and to completely remove)

2. Uninstall tex-common  and all texlive-* files and

sudo rm -rf /etc/texmf

as in comment 12 above.

3. Remove all texlive files (if any) e.g.

sudo rm -rf /usr/local/texlive/2014
rm -rf ~/.texlive2014

4. Install emacs24 then auctex using synaptic package manager

5. Install tex-common using synaptic package manager

6. Install texlive following the instructions on http://tug.org/texlive/
(Installation from dpkg or Ubuntu software centre or synaptic package manager don't work for me.)

7. Add paths to /etc/environment as suggested by the installation program in 6.
That is, for the version I installed,  
to the end of the PATH line add 

:/usr/local/texlive/2014/bin/x86_64-linux

just before the closing"
and add 2 new lines 

INFOPATH=":/usr/local/texlive/2014/texmf-dist/doc/info"
MANPATH=":/usr/local/texlive/2014/texmf-dist/doc/man"

(without the colon, the manpath to everything except tex will be broken)

8. Edit /etc/manpath.config
by adding line 

MANPATH_MAP     /usr/local/texlive/2014/bin/x86_64-linux
/usr/local/texlive/2014/texmf-dist/doc/man

after the last MANPATH_MAP line that already exists.

-- 
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1236951

Title:
  package tex-common 4.04 failed to install/upgrade: ErrorMessage:
  subprocess installed post-installation script returned error exit
  status 1

Status in “tex-common” package in Ubuntu:
  Triaged

Bug description:
  While updating from 13.04 to 13.10, I was prompted with a crash
  dialog, then a "will automatically revert (?)" dialogue...

  ProblemType: Package
  DistroRelease: Ubuntu 13.10
  Package: tex-common 4.04
  ProcVersionSignature: Ubuntu 3.8.0-31.23-lowlatency 3.8.13.8
  Uname: Linux 3.8.0-31-lowlatency x86_64
  ApportVersion: 2.12.5-0ubuntu1
  Architecture: amd64
  Date: Tue Oct  8 12:11:33 2013
  DuplicateSignature: package:tex-common:4.04:ErrorMessage: subprocess installed post-installation script returned error exit status 1
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2012-06-12 (482 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: tex-common
  Title: package tex-common 4.04 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to saucy on 2013-10-08 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tex-common/+bug/1236951/+subscriptions