← Back to team overview

desktop-packages team mailing list archive

[Bug 1010909] Re: permission denied: /usr/bin/{mktexpk, mktextfm}

 

** Attachment added: "error.txt"
   https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/1010909/+attachment/4282345/+files/error.txt

** Description changed:

- 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
+ 1) lsb_release -rd
+ Description:	Ubuntu Vivid Vervet (development branch)
+ Release:	15.04
  
- 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
- [...]
+ 2) apt-cache policy evince apparmor texlive
+ evince:
+   Installed: 3.14.1-0ubuntu1
+   Candidate: 3.14.1-0ubuntu1
+   Version table:
+  *** 3.14.1-0ubuntu1 0
+         500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
+         100 /var/lib/dpkg/status
+ apparmor:
+   Installed: 2.8.98-0ubuntu4
+   Candidate: 2.8.98-0ubuntu4
+   Version table:
+  *** 2.8.98-0ubuntu4 0
+         500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
+         100 /var/lib/dpkg/status
+ texlive:
+   Installed: 2014.20141024-1ubuntu1
+   Candidate: 2014.20141024-1ubuntu1
+   Version table:
+  *** 2014.20141024-1ubuntu1 0
+         500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
+         100 /var/lib/dpkg/status
  
- 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.
+ 3) What is expected to happen is when one attempts to open
+ https://bugs.launchpad.net/ubuntu/+source/texlive-
+ bin/+bug/1010909/+attachment/4282336/+files/example.dvi it does so
+ successfully.
  
- System is:
- Description:	Ubuntu 12.04 LTS
- Release:	12.04
+ 4) What happens instead is it hangs indefinitely, as per output of running evince via a terminal https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/1010909/+attachment/4282345/+files/error.txt . This would appear to be due to apparmor as per:
+ https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/1010909/+attachment/4282344/+files/kern.log
  
- 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
+ However, attempting to disable the offending profile fails:
+ sudo aa-complain /usr/bin/evince//sanitized_helper
+ /usr/bin/evince//sanitized_helper does not exist, please double-check the path.
  
  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
+  TERM=xterm
+  PATH=(custom, user)
+  LANG=de_DE.UTF-8
+  SHELL=/bin/zsh
  SourcePackage: texlive-bin
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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:
  1) lsb_release -rd
  Description:	Ubuntu Vivid Vervet (development branch)
  Release:	15.04

  2) apt-cache policy evince apparmor texlive
  evince:
    Installed: 3.14.1-0ubuntu1
    Candidate: 3.14.1-0ubuntu1
    Version table:
   *** 3.14.1-0ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status
  apparmor:
    Installed: 2.8.98-0ubuntu4
    Candidate: 2.8.98-0ubuntu4
    Version table:
   *** 2.8.98-0ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status
  texlive:
    Installed: 2014.20141024-1ubuntu1
    Candidate: 2014.20141024-1ubuntu1
    Version table:
   *** 2014.20141024-1ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  3) What is expected to happen is when one attempts to open
  https://bugs.launchpad.net/ubuntu/+source/texlive-
  bin/+bug/1010909/+attachment/4282336/+files/example.dvi it does so
  successfully.

  4) What happens instead is it hangs indefinitely, as per output of running evince via a terminal https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/1010909/+attachment/4282345/+files/error.txt . This would appear to be due to apparmor as per:
  https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/1010909/+attachment/4282344/+files/kern.log

  However, attempting to disable the offending profile fails:
  sudo aa-complain /usr/bin/evince//sanitized_helper
  /usr/bin/evince//sanitized_helper does not exist, please double-check the path.

  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