gusl: (Default)
[personal profile] gusl
I've been struggling with making LaTeX work in Ubuntu. When I try to install texlive with apt-get, I get "updmap-sys failed".
The FreeNode channels #latex and #ubuntu are unresponsive.

The output in /tmp/updmap.oIpKzr5c says:
!!! ERROR! The map file `eurosym.map' has not been found at all.
    Either put this file into the right place or remove the
    reference from the configuration files - see
    update-updmap(1).


I do have this file, at /usr/share/texmf-texlive/fonts/map/dvips/eurosym/eurosym.map but I don't know the right place.

(no subject)

Date: 2010-06-10 12:57 pm (UTC)
From: [identity profile] tedesson.livejournal.com
I'm guessing, to get to that point, texlive/LaTeX needs to be successfully installed and runnable?
Or is the complete install failing on that error?

I have LaTeX installed on Hardy, and I don't recall any speed bumps using synaptic.

Other that that error, is LaTeX working or not?

(no subject)

Date: 2010-06-10 03:27 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
I did previously install pdflatex, by doing apt-get on whatever package comes up when you try to run it and it's not installed... latex came with it too. But the first time I tested pdflatex or latex was now, and I got an error regarding 'ptmr7t', which seems to be related to the fonts not being installed (or not being in the right place).

(no subject)

Date: 2010-06-10 03:33 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
when I type just "latex", I get a shell, so it looks like correct behavior.

but when I do "pdflatex ch-model.tex", it gets this error:

kpathsea: Running mktexmf ptmr7t
! I can't find file `ptmr7t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t
                                                  
Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t

(no subject)

Date: 2010-06-10 01:48 pm (UTC)
From: [identity profile] tedesson.livejournal.com
I also have /usr/share/texmf-texlive/fonts/map/dvips/eurosym/eurosym.map, so that's correct.

(no subject)

Date: 2010-06-10 06:10 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
then the installation is looking for it in the wrong place.

(no subject)

Date: 2010-06-10 05:43 pm (UTC)
From: [identity profile] tedesson.livejournal.com
I have these files:
/usr/share/texmf/tex4ht/ht-fonts/alias/times/ptmr7t.htf
/usr/share/texmf-texlive/fonts/tfm/adobe/times/ptmr7t.tfm
/usr/share/texmf-texlive/fonts/vf/adobe/times/ptmr7t.vf
Which would resolve the mktexmf problem. mktexmf is the program which creates the metafont files.

I found several packages which may have what you're looking for:
1) texlive-font-utils
Programs for conversion between font formats, testing fonts
(virtual fonts stuff, .gf and .pk manipulation,
mft, fontinst, etc.)

2) texlive-fonts-recommended
Recommended fonts
.
This package includes the following CTAN packages:
adobeuro -- font metrics for the Adobe Euro fonts.
avantgar -- the URW Avantgar fonts and support for the Adobe font set.
bookman -- the URW Bookman fonts and support for the Adobe font set.
charter -- Charter fonts.
cmextra -- No caption.
courier -- The courier package.
euro -- Arbitrary national currency amounts using the Euro as base unit.
euro-ce -- Euro currency symbol and CE mark.
eurofont -- Provides a command that prints a euro symbol.
eurosans -- Interface to Adobe's free Euro fonts.
eurosym -- No caption.
fpl -- SC and OsF fonts for URW Palladio L
helvetic -- the URW Helvetiva fonts and support for the Adobe font set.
marvosym -- A Type 1 font: Martin Vogels Symbole (marvosym) font.
mathpazo -- Pazo Math fonts and LaTeX package to typeset Palatino.
ncntrsbk -- the URW New Century Schoolbook fonts and support for the Adobe
font set.
palatino -- No caption.
psnfssx -- Extra styles and encodings for PostScript fonts.
pxfonts -- Palatino-like fonts in support of mathematics.
rsfs -- Ralph Smith's Formal Script font.
symbol -- Symbol font.
times -- No caption.
timesnew -- the URW Times fonts and support for the Adobe font set.
txfonts -- Times-like fonts in support of mathematics.
utopia -- Adobe Utopia fonts.
wasy -- The wasy fonts (Waldis symbol fonts).
wasysym -- LaTeX support file to use the WASY2 fonts
zapfchan -- the URW Zapf Chancery font and support for the Adobe font.
zapfding -- the URW Zapf Dingbat font and support for the Adobe font.


3) texlive-xetex
Macro files for XeTeX, Unicode-enabled TeX by Jonathan Kew.

I hope this helps.

(no subject)

Date: 2010-06-10 06:16 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
whenever I try to install ANY of these packages, I get the same error: eurosym.map not found.

(no subject)

Date: 2010-06-10 06:58 pm (UTC)
From: [identity profile] tedesson.livejournal.com
I did a bit of googling, and found a debian bug discussion which had some suggestions at the end of this:

http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg75199.html

"Could it be that you copied these files (updmap.cfg, fmtutil.cnf)
manually from either /etc/texmf or from /var/lib/texmf/web2c/ to
/usr/share/texmf/web2c?

Anyway, if you remove them or move them to a place they cannot be found,
you should be able to proceed, and either successfully install
teTeX-3.0, or at least get on to the next error."

Looks like something to try.

(no subject)

Date: 2010-06-10 07:49 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
hey, so I removed all files and folders matching from /usr/share/tex*, /etc/tex* and /var/lib/tex* .

When I do "sudo apt-get install texlive", or even just "sudo dpkg --configure tex-common", I get the following:
Setting up tex-common (2.06) ...
Error: The new file /usr/share/tex-common/05TeXMF.cnf does not exist!
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-latex-recommended:
 texlive-latex-recommended depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-latex-recommended (--configure):
 dependency problems - leaving unconfigured

(no subject)

Date: 2010-06-10 07:56 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
also, I have no idea what it means to "configure" tex-common.

(no subject)

Date: 2010-06-10 08:12 pm (UTC)
From: [identity profile] tedesson.livejournal.com
You installed texlive with apt-get, but didn't remove the files with apt-get.

You'll want to
sudo apt-get --purge remove
NOTE this is not the regular way to remove a package. It's only the emergency instructions for recovering from a partial manual removal.

then
sudo apt-get install texlive

That should fix things.

(no subject)

Date: 2010-06-10 08:19 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
"sudo apt-get --purge remove" throws the same error:

Error: The new file /usr/share/tex-common/05TeXMF.cnf does not exist!
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-latex-recommended:
 texlive-latex-recommended depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-latex-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-xcolor:
 latex-xcolor depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.

(no subject)

Date: 2010-06-10 10:00 pm (UTC)
From: [identity profile] tedesson.livejournal.com
What exactly was the command you ran?

(no subject)

Date: 2010-06-10 10:32 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
sudo apt-get --purge remove texlive

previously I also did: sudo apt-get purge texlive

(no subject)

Date: 2010-06-11 04:30 am (UTC)
From: [identity profile] tedesson.livejournal.com
You mentioned you had installed pdflatex. Is that still installed?

(no subject)

Date: 2010-06-11 07:03 am (UTC)
From: [identity profile] gustavolacerda.livejournal.com
Good point! It is.

I don't know how to uninstall it, since the package name isn't 'pdflatex'.

(no subject)

Date: 2010-06-11 01:55 pm (UTC)
From: [identity profile] tedesson.livejournal.com
According to
http://ubuntuforums.org/showthread.php?t=58295 (a thread from 2005)
The set of packages is
tetex-base
tetex-bin
tetex-extra
latex-ucs

My ubuntu (Hardy) system has
texlive-base-bin

One of the things that synaptec has it over apt-get, is the search functions. You can get to synaptic by System: Administration: Synaptic Package Manager

(no subject)

Date: 2010-06-12 01:54 am (UTC)
From: [identity profile] gustavolacerda.livejournal.com
"sudo apt-get purge texlive-base-bin" looks really encouraging for a while... until

update-fmtutil failed. Output has been stored in
/tmp/checkrun.EbYCCygX


Then I do:
gusl@gusl-laptop:~$ sudo more /tmp/checkrun.EbYCCygX 
update-fmtutil: cannot read /etc/texmf/fmt.d/00tex.cnf


(not surprising, since /etc/texmf doesn't exist!)

I try a second time, and now it gives:
Error: The new file /usr/share/tex-common/05TeXMF.cnf does not exist!

synaptic

Date: 2010-06-12 01:57 am (UTC)
From: [identity profile] gustavolacerda.livejournal.com
When I try to install synaptic, it tries to configure tex-common, and the tex error message appears again.

Re: synaptic

Date: 2010-06-12 06:03 am (UTC)
From: [identity profile] tedesson.livejournal.com
update-fmtutil creates or updsates fmtutil.cnf which defines the list of formats to be created.

That it failed, isn't news, as you knew from the start there was a problem with eurosym.map, one of the format files.

So, I wouldn't worry that you can't read the output file (tmp/checkrun.EbYCCygX) for something that was already broken.

Which tex error message?

(no subject)

Date: 2010-06-10 08:13 pm (UTC)
From: [identity profile] tedesson.livejournal.com
silly cut and paste
it's
sudo apt-get --purge remove texlive

And any other packages you would have installed for TeX.

I suggest taking a look at synaptic, it's much more user friendly than apt-get.

February 2020

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags