Hi

On So, 13 Jan 2013, Reuben Thomas wrote:
> In short, the problem is that the apparmor profile for evince does not
> allow the font files to be written.

As Debian maintainer of the package I cannot comment on what Ubuntu is
doing specially here.

> Unfortunately, the algorithm used by the TeXLive scripts to decide where
> to write generated font files is complicated. For example, in my case,
> they seem to be written under
> 
> $HOME/texmf/fonts

Which is strange and can only be explained by your local adaptions.
On my computer it still installs into $TEXMFVAR = ~/.texmf-var

The respective files are:
        /etc/texmf/web2c/mktex.cnf
which by default contains
        : ${MT_FEATURES=appendonlydir:texmfvar}
which means that fonts are created in $TEXMFVAR

> and there are other possibilities, I believe. Hence, finding a solution
> that is both secure and reliable requires input from a TeXpert.
> 
> For the moment I have simply disabled Evince's apparmor profile.

That is Ubuntu's problem, since I don't have any idea what AppArmor
is doing or prohibiting or messing up. 

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to texlive-bin in Ubuntu.
https://bugs.launchpad.net/bugs/1010909

Title:
  permission denied: /usr/bin/{mktexpk,mktextfm}

Status in “texlive-bin” package in Ubuntu:
  Confirmed

Bug description:
  I think there's a bug with mktexpk and mktextfm:
  I get the following:
  kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmtt7
  mktexpk: don't know how to create bitmap font for cmtt7.
  kpathsea: Appending font creation commands to missfont.log.
  page: Warning: font `cmtt7' at 600x600 not found, trying `cmr10' instead

  kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
cmcsc14
  /usr/bin/mktexpk: 1: /usr/bin/mktexpk: /usr/share/texmf/web2c/mktexnam: 
Permission denied
  mktexpk: / already exists.
  /usr/bin/mktexpk: 210: /usr/bin/mktexpk: /usr/share/texmf/web2c/mktexupd: 
Permission denied
  [...]

  and later on:
  kpathsea: Running mktextfm cmssbx20
  /usr/bin/mktextfm: 1: /usr/bin/mktextfm: /usr/share/texmf/web2c/mktexnam: 
Permission denied
  /usr/bin/mktextfm: 75: /usr/bin/mktextfm: /usr/share/texmf/web2c/mktexdir: 
Permission denied
  mktextfm: mktexdir  failed.

  System is:
  Description:  Ubuntu 12.04 LTS
  Release:      12.04

  Package is:
  texlive-binaries:
    Installiert: 2009-11ubuntu2
    Kandidat:    2009-11ubuntu2
    Versionstabelle:
   *** 2009-11ubuntu2 0
          500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: texlive-binaries 2009-11ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Sat Jun  9 17:05:03 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/zsh
  SourcePackage: texlive-bin
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/1010909/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to