[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#492655: marked as done (tex-common: fails to install - no such file /usr/local/texmf/emacs)



Your message dated Sun, 27 Jul 2008 23:02:02 +0000
with message-id <E1KNFFa-0001va-NV@ries.debian.org>
and subject line Bug#492655: fixed in tex-common 1.11.2
has caused the Debian Bug report #492655,
regarding tex-common: fails to install - no such file /usr/local/texmf/emacs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
492655: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492655
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tex-common
Version: 1.11.1
Severity: grave
Justification: 9.1.2

Setting up tex-common (1.11.1) ...
Replacing config file /etc/texmf/texmf.d/85Misc.cnf with new version
Replacing config file /etc/texmf/texmf.cnf with new version
chown: cannot access `/usr/local/texmf/emacs': No such file or directory
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ ls /usr/local/
bin  games  include  lib  man  sbin  share  src

I don't see that tex-common should be doing anything with /usr/local/
anyway - I could have installed stuff in there from local builds and
tex-common comes along and replaces things (or worse, it currently tries
to and fails!).

To me, #475077 should have been a won't fix. Why should support for a
non-free package trample over user files?

Anyway, as regards this bug and the failure to complete the postinst:

Policy 9.1.2
As mandated by the FHS, packages must not place any files in /usr/local,
either by putting them in the file system archive to be unpacked by dpkg
or by manipulating them in their maintainer scripts. 

However, the package may create empty directories below /usr/local so
that the system administrator knows where to place site-specific files.
These are not directories in /usr/local, but are children of directories
in /usr/local. These directories (/usr/local/*/dir/) should be removed
on package removal if they are empty. 

tex-common is trying to create /usr/local/texmf when all that Policy
allows is /usr/local/share/texmf or some other subdirectory of the
existing contents of /usr/local:

$ ls /usr/local/
bin  games  include  lib  man  sbin  share  src

Policy does NOT allow /usr/local/foo, only /usr/local/*/foo where the
subdirectory of /usr/local/ must already exist, like /usr/local/share/

/usr/local/share/texmf/ does exist (now) so presumably this is a typo in
the NMU:

tex-common.postinst
-        chown root:staff /usr/local/texmf/emacs
+        chown root:staff /usr/local/share/texmf/emacs

?


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tex-common depends on:
ii  debconf                       1.5.23     Debian configuration management sy
ii  ucf                           3.007      Update Configuration File: preserv

tex-common recommends no packages.

Versions of packages tex-common suggests:
ii  debhelper                     7.0.16     helper programs for debian/rules

Versions of packages tetex-bin depends on:
ii  texlive                    2007.dfsg.1-3 TeX Live: A decent selection of th

Versions of packages tetex-extra depends on:
ii  texlive                    2007.dfsg.1-3 TeX Live: A decent selection of th
ii  texlive-bibtex-extra       2007.dfsg.3-2 TeX Live: Extra BibTeX styles
ii  texlive-font-utils         2007.dfsg.2-3 TeX Live: TeX font-related program
ii  texlive-fonts-extra        2007.dfsg.3-2 TeX Live: Extra fonts
ii  texlive-lang-croatian      2007.dfsg.3-3 TeX Live: Croatian
ii  texlive-lang-cyrillic      2007.dfsg.3-3 TeX Live: Cyrillic
ii  texlive-lang-czechslovak   2007.dfsg.3-3 TeX Live: Czech/Slovak
ii  texlive-lang-danish        2007.dfsg.3-3 TeX Live: Danish
ii  texlive-lang-dutch         2007.dfsg.3-3 TeX Live: Dutch
ii  texlive-lang-finnish       2007.dfsg.3-3 TeX Live: Finnish
ii  texlive-lang-french        2007.dfsg.3-3 TeX Live: French
ii  texlive-lang-german        2007.dfsg.3-3 TeX Live: German
ii  texlive-lang-greek         2007.dfsg.3-3 TeX Live: Greek typesetting
ii  texlive-lang-hungarian     2007.dfsg.3-3 TeX Live: Hungarian
ii  texlive-lang-italian       2007.dfsg.3-3 TeX Live: Italian
ii  texlive-lang-latin         2007.dfsg.3-3 TeX Live: Latin
ii  texlive-lang-mongolian     2007.dfsg.3-3 TeX Live: Mongolian
ii  texlive-lang-norwegian     2007.dfsg.3-3 TeX Live: Norwegian
ii  texlive-lang-other         2007.dfsg.3-3 TeX Live: Other hyphenation files
ii  texlive-lang-polish        2007.dfsg.3-3 TeX Live: Polish
ii  texlive-lang-portuguese    2007.dfsg.3-3 TeX Live: Portuguese
ii  texlive-lang-spanish       2007.dfsg.3-3 TeX Live: Spanish
ii  texlive-lang-swedish       2007.dfsg.3-3 TeX Live: Swedish
ii  texlive-lang-vietnamese    2007.dfsg.3-3 TeX Live: Vietnamese
ii  texlive-latex-extra        2007.dfsg.3-2 TeX Live: LaTeX supplementary pack
ii  texlive-math-extra         2007.dfsg.3-2 TeX Live: Advanced math typesettin
ii  texlive-pictures           2007.dfsg.1-3 TeX Live: Packages for drawings gr
ii  texlive-pstricks           2007.dfsg.3-2 TeX Live: PSTricks packages
ii  texlive-publishers         2007.dfsg.3-2 TeX Live: Support for publishers

Versions of packages texlive-base depends on:
ii  texlive-base-bin           2007.dfsg.2-3 TeX Live: Essential binaries
ii  texlive-common             2007.dfsg.1-3 TeX Live: Base component
ii  texlive-doc-base           2007.dfsg.1-1 TeX Live: Base documentation

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:
  tex-common/singleuser: true



--- End Message ---
--- Begin Message ---
Source: tex-common
Source-Version: 1.11.2

We believe that the bug you reported is fixed in the latest version of
tex-common, which is due to be installed in the Debian FTP archive:

tex-common_1.11.2.dsc
  to pool/main/t/tex-common/tex-common_1.11.2.dsc
tex-common_1.11.2.tar.gz
  to pool/main/t/tex-common/tex-common_1.11.2.tar.gz
tex-common_1.11.2_all.deb
  to pool/main/t/tex-common/tex-common_1.11.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 492655@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated tex-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 28 Jul 2008 00:50:47 +0200
Source: tex-common
Binary: tex-common
Architecture: source all
Version: 1.11.2
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 tex-common - common infrastructure for building and installing TeX
Closes: 492655
Changes: 
 tex-common (1.11.2) unstable; urgency=medium
 .
   * fix to the bummer release: don't copy/paste from policy without changing
     emacs to share/texmf. (Closes: #492655) (RC bug, urgency medium)
Checksums-Sha1: 
 d9672515491ad037ea469cb676fda2c8a897c189 1137 tex-common_1.11.2.dsc
 91094c7c5824cecac53e59526bb54343b4be6dae 802885 tex-common_1.11.2.tar.gz
 53a0cb8c78deca2cc042a270983246923e277e7b 715134 tex-common_1.11.2_all.deb
Checksums-Sha256: 
 2ef79ada34b5bb19f03f87258f9d300a59d6b58edc22566a58212dc9c2c0e8ec 1137 tex-common_1.11.2.dsc
 a3c02e41c43181f4140f77430a1c1000eaf184c4f676953952e8f683ad971e84 802885 tex-common_1.11.2.tar.gz
 a8d7b7bc4d6eddb9b5301b530b31c970cecc38c4ec74d57b14bfb88d759206d8 715134 tex-common_1.11.2_all.deb
Files: 
 5559b4b83b38d46d7d86ae6342c448c9 1137 tex optional tex-common_1.11.2.dsc
 25fa809c602017c966b28cfa05117f7e 802885 tex optional tex-common_1.11.2.tar.gz
 844f4e583a3eaff2bef818a65e1d3892 715134 tex optional tex-common_1.11.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIjPz+0r9KownFsJQRAmpXAJ9IHmB4BVr7vOirypFD7dcsibYWiwCfcTr5
L3CgJj1mCoNtbl+VQMnM34c=
=SlJe
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: