/usr/share/bug/texlive-science-doc/script is in texlive-science-doc 2015.20160320-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | #!/bin/bash
# bug script for TeX Live packages
set -e
cat <<EOF
Please read and follow the instructions in the first lines below
the text: "-- Package-specific info:".
Thank you.
Press ENTER to continue
EOF
getkey
cat >&3 <<EOF
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource.
In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.
*** The Debian TeX Team is *not* a LaTeX Help Desk ***
If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.
Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.
Don't forget to also include minimal examples of other files that are
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!
If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at
http://www.minimalbeispiel.de/mini-en.html (english)
or
http://www.minimalbeispiel.de/mini.html (german)
##################################
minimal input file
##################################
other files
EOF
# unset error exit since those files might not be present...
set +e
for dir in $(kpsexpand '$TEXMF' | sed -e 's/,/ /g;s/[!{}]//g;'); do
ls_R_files="$ls_R_files $(ls $dir/ls-R 2>/dev/null)";
done
ls_R_files="$ls_R_files $(ls /usr/share/texlive/texmf*/ls-R 2>/dev/null)"
echo "######################################" >&3
echo " List of ls-R files" >&3
echo >&3
for file in $ls_R_files; do
ls -l $file >&3
# echo >&3
# cat $file >&3
# echo "######################################" >&3
done
echo "######################################" >&3
echo " Config files" >&3
for i in texmf.cnf fmtutil.cnf updmap.cfg ; do
f=$(kpsewhich --format='web2c files' $i)
if [ -z "$f" ] ; then
echo "Warning: $i cannot be found with kpsewhich!" >&3
else
ls -l $f >&3
fi
done
for i in language.dat ; do
f=$(kpsewhich -progname=latex $i)
if [ -z "$f" ] ; then
echo "Warning: $i cannot be found with kpsewhich!" >&3
else
ls -l $f >&3
fi
done
echo "######################################" >&3
echo " Files in /etc/texmf/web2c/" >&3
ls -l /etc/texmf/web2c/ >&3
echo "######################################" >&3
echo " md5sums of texmf.d" >&3
md5sum /etc/texmf/texmf.d/* >&3
|