Bug#636327: fails at postinst
Package: texlive-base
Version: 2009-12
Severity: grave
Tags: sid
texlive-base seems to break on upgrade:
[...]
Setting up texlive-base (2009-12) ...
/etc/libpaper.d/texlive-base: line 48: return: can only `return' from a function or sourced script
dpkg: error processing texlive-base (--configure):
subprocess installed post-installation script returned error exit status 1
[...]
TIA,
ale
##################################
minimal input file
##################################
other files
######################################
List of ls-R files
-rw-r--r-- 1 root root 977 Aug 2 10:33 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 80 Jul 4 09:59 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 26 02:04 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Aug 1 23:02 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Aug 1 23:02 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
Config files
lrwxrwxrwx 1 root root 20 Jun 26 02:04 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 2200 Aug 2 10:33 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 5068 Jul 4 09:59 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 3110 Jul 4 09:59 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 4
-rw-r--r-- 1 root root 283 Mar 23 01:50 mktex.cnf
######################################
md5sums of texmf.d
3875bf0f4a53a29b7f247399dc9833e2 /etc/texmf/texmf.d/05TeXMF.cnf
6e82a3d4c00ae7e4f86aa8dcf9438cf3 /etc/texmf/texmf.d/15Plain.cnf
c60a084820a0b73e3bfbf2e90bda437c /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1 /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068 /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e /etc/texmf/texmf.d/80DVIPDFMx.cnf
37329819f1109e8a457e64b8b58fecdb /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c /etc/texmf/texmf.d/90TeXDoc.cnf
402d5adb3864c09ed3cd80c0f2131361 /etc/texmf/texmf.d/95NonPath.cnf
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages texlive-base depends on:
ii debconf [debconf-2.0] 1.5.41 Debian configuration management sy
ii dpkg 1.16.0.3 Debian package management system
ii install-info 4.13a.dfsg.1-6 Manage installed documentation in
ii libpaper-utils 1.1.24+nmu1 library for handling paper charact
ii luatex 0.70.1-1+b1 next generation TeX engine
ii mime-support 3.51-1 MIME files 'mime.types' & 'mailcap
ii tex-common 2.10 common infrastructure for building
ii texlive-binaries 2009-10 Binaries for TeX Live
ii texlive-common 2009-12 TeX Live: Base component
ii texlive-doc-base 2009-2 TeX Live: TeX Live documentation
Versions of packages texlive-base recommends:
pn lmodern <none> (no description available)
Versions of packages texlive-base suggests:
ii ghostscript [postscript-view 9.02~dfsg-3 interpreter for the PostScript lan
ii okular [postscript-viewer] 4:4.6.5-3 universal document viewer
pn perl-tk <none> (no description available)
ii xpdf [pdf-viewer] 3.02-19 Portable Document Format (PDF) rea
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.41 Debian configuration management sy
ii dpkg 1.16.0.3 Debian package management system
ii ucf 3.0025+nmu2 Update Configuration File: preserv
Versions of packages tex-common suggests:
ii debhelper 8.9.3 helper programs for debian/rules
Versions of packages texlive-base is related to:
ii tex-common 2.10 common infrastructure for building
ii texlive-binaries 2009-10 Binaries for TeX Live
-- Configuration Files:
/etc/texmf/dvipdfmx/dvipdfmx.cfg changed:
%% PDF Version Setting
%%
%% PDF (minor) version stamp to use in output file.
%% This also implies maximal version of PDF file allowed to be included.
%% Dvipdfmx does not support 1.0, 1.1, 1.2 since TrueType font embedded
%% as CIDFontType2 requires at least version 1.3. Transparent imaging
%% model requires version 1.4. So if you want soft-masking support for
%% PNG image with alpha channels, you should set version to 4 or higher.
%V 4
%% Dvipdfmx Compatibility Flags
%%
%% 0x0002 Use semi-transparent filling for tpic shading command,
%% instead of opaque gray color. (requires PDF 1.4)
%% 0x0004 Treat all CIDFont as fixed-pitch font.
%% This is only for backward compatibility. Don't use that.
%% 0x0008 Do not replace duplicate fontmap entries.
%% Dvipdfm's (not 'x') behaviour.
%% 0x0010 Do not optimize PDF destinations. Use this if you want to
%% refer from other files to destinations in the current file.
%C 0x0000
%% PDF Document Settings
%%
%% Papersize Option:
%%
%% p papersize-spec
%%
%% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter',
%% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'.
p a4
%% Annotation Box Margin:
%%
%% g length
%%
%% Add margin to annotation rectangle created via various \specials. Many
%% TeX macro packages set the annotation bounding box equal to the TeX box
%% that encloses the material. That's not always what you want.
%% Annotations created by pdf:bannot/pdf:eannot is also affected.
%g 0
%% Bookmark Open Level:
%%
%% O integer
%%
%% Mark bookmark (outline) item as initial state 'open' if the depth
%% of that item (from root node) is less than or equal to the integer
%% specified with this option.
O 0
%% PDF Security (Encryption) Setting
%%
%% Those options won't take effects unless you use flag 'S'.
%%
%% Key bits for PDF encryption (40 - 128)
K 40
%% Permission flag for PDF encryption: Revision will be 3 if the key size
%% is greater than 40 bits.
%%
%% 0x0004 (Revision 2) Print the document.
%% (Revision 3) Print the document (possibly not at the highest quality
%% level, depending on whether bit 12[0x0800] is also set).
%% 0x0008 Modify the contents of the document by operations other than those
%% controlled by bits 6[0x0020], 9[0x0100], and 11[0x0400].
%% 0x0010 (Revision 2) Copy or otherwise extract text and graphics from the
%% document, including extracting text and graphics (in support of
%% accessibility to disabled users or for other purposes).
%% (Revision 3) Copy or otherwise extract text and grphics from the
%% document by operations other than that controlled by bit 10[0x0200].
%% 0x0020 Add or modify text annotations, fill in interactive form fields,
%% and, if bit 4[0x0008] is also set, create or modify interactive
%% form fields (including signature fields).
%%
%% (Revision 3 only)
%% 0x0100 Fill in existing interactive form fields (including signature
%% fields), even if bit 6 is clear.
%% 0x0200 Extract text and graphics (in support of accessibility to disabled
%% users or for other purposes).
%% 0x0400 Assemble the document (insert, rotate, or delete pages and create
%% bookmarks or thumbnail images), even if bit 4 is clear.
%% 0x0800 Print the document to a representation from which a faithful digital
%% copy of the PDF content could be generated. When this bit is clear
%% (and bit 3 is set), printing is limited to a low-level representation
%% of the appearance, possibly of degraded quality.
P 0x003C
%% Image Handler
%%
%% With 'D' option dvipdfmx may invoke shell command via system()
%% function call.
%%
%% Command-line template for a-to-b conversion:
%%
%% Supported target format ('b') is currently PDF.
%% Percent sign '%' is special character:
%%
%% %i Input file name (FQPN). Name of file to be converted to PDF.
%% %o Output file name (FQPN). Temporary file to store conversion
%% result. Removed after inclusion is finished. (regardless of
%% success or failure)
%% %b The "base" name of the input file, e.g., "foo" instead of
%% "foo.eps".
%% %v The PDF version to be converted to, e.g. "1.4" for PDF 1.4.
%% %% Replaced with single '%'.
%% Ghostscript (PS-to-PDF and PDF-to-PDF):
%%
%% ps2pdf is a front-end to gs. For a complete list of options, see
%% http://ghostscript.com/doc/current/Ps2pdf.htm
%%
%% By default, gs encodes all images contained in a PS file using
%% the lossy DCT (i.e., JPEG) filter. This often leads to inferior
%% result (see the discussion at http://electron.mit.edu/~gsteele/pdf/).
%% The "-dAutoFilterXXXImages" and "-dXXXImageFilter" options used
%% below force all images to be encoded with the lossless Flate (zlib,
%% same as PNG) filter. Note that if the PS file already contains DCT
%% encoded images (which is possible in PS level 2), then these images
%% will also be re-encoded using Flate. To turn the conversion off,
%% simply remove the options mentioned above.
%%
%% Also note that PAPERSIZE=a0 is specified below. This converts PS
%% files (including EPS) to A0 papersize PDF. This is necessary to
%% prevent gs from clipping PS figure at some papersize. (A0 above
%% simply means large size paper.) If you have figures even larger
%% than A0, and their llx=lly=0, you can use "-dEPSCrop" instead of
%% "-sPAPERSIZE=a0"
%%
%% We use the rungs wrapper instead of ps2pdf, becuse we cannot use the
%% -dSAFER which ps2pdf does: when used with pstricks,
%% /usr/local/texlive/2009/texmf-dist/dvips/pstricks/pstricks.pro (for
%% example) needs to be accessed.
D "gs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile=%o %i -c quit"
%% Frank Siegert's PStill:
%D "/usr/local/bin/pstill -c -o %o %i"
%% Adobe Acrobat Distiller:
%D "/usr/local/bin/distill -quiet -pairs %i %o"
%% Batik + Fop (SVG-to-PDF):
%% If you want both PS and SVG, you need to write a script or program
%% that selectively invokes converters.
%D "java -classpath classpaths -jar /path/to/batik-rasterizer.jar -m application/pdf -d %o %i"
%% There are no way to directly know suggested size of (raster) images.
%% You may want to use %b here, since you can try reading the ebb file
%% to see what is natural (physical) size of images.
%D "ras2pdf -r 300x300 -b %b.bb -o %o %i"
%% ImageMagick:
%% Easiest way to support various file formats.
%D "convert %i epdf:%o"
%% Other Options
%%
%% DPI for PK font creation
%r 600
%% Set number of fractional digit kept for various numbers in PDF page
%% content output. By setting this to 2 (default), dvipdfmx rounds
%% real numbers at 2nd fractional (decimal) digit; e.g., "3.14159" is
%% written as "3.14". Increasing this to more than 2 isn't meaningful
%% for old Acrobat due to implementation limit of Acrobat.
%% Length 0.01 in unscaled coordinate system amount to width of 1 pixel
%% in 7200ppi display.
%d 5
%% Font Map Files
%%
%% teTeX 2.x and TeXLive using updmap (pdfTeX format)
f pdftex.map
%% teTeX 2.x and TeXLive using updmap (DVIPDFM format)
%f dvipdfm.map
%% teTeX 2.x and TeXLive using updmap (DVIPS format)
%% MiKTeX 2.2 and 2.3
%f psfonts.map
%% Put additonal fontmap files here (usually for Type0 fonts)
f cid-x.map
-- debconf information:
texlive-base/texconfig_ignorant:
tex-common/check_texmf_wrong:
texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
tex-common/check_texmf_missing:
Reply to: