Just got bitten by this!

My workaround/possible fix: applied the following diff to
/etc/apparmor.d/abstractions/ubuntu-helpers

===================================================================
RCS file: ubuntu-helpers,v
retrieving revision 1.1
diff -u -r1.1 ubuntu-helpers
--- ubuntu-helpers      2013/06/17 09:16:44     1.1
+++ ubuntu-helpers      2013/06/17 09:17:53
@@ -49,6 +49,9 @@
   # Allow exec of libexec applications in /usr/lib* and /usr/local/lib*
   /usr/{,local/}lib*/{,**/}* Pixr,
 
+  # Allow texlive font build scripts etc.
+  /usr/share/texlive/texmf/web2c/{,**}/* Pixr,
+
   # Allow exec of software-center scripts. We may need to allow wider
   # permissions for /usr/share, but for now just do this. (LP: #972367)
   /usr/share/software-center/* Pixr,

-- 
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