Description of problem: It seems that the postuninstall scriptlet of all texlive packages contain an error: # rpm -q --scripts texlive-luacode-1.2.svn25193-10.fc18.noarch postinstall scriptlet (using /bin/sh): mkdir -p /var/run/texlive touch /var/run/texlive/run-texhash touch /var/run/texlive/run-mtxrun : postuninstall scriptlet (using /bin/sh): if [ $1 == 1 ]; then mkdir -p /var/run/texlive touch /var/run/run-texhash else /usr/bin/texhash 2> /dev/null fi [...] I guess that touch /var/run/run-texhash should be: touch /var/run/texlive/run-texhash Version-Release number of selected component (if applicable): eg: texlive-luacode-1.2.svn25193-10.fc18.noarch I stumbled upon this while researching about another big problem during upgrade from fedora 17 to fedora 18, there is an entry about this from Paul Wouters in the Fedora.devel list ------ From: Paul Wouters <paul <at> nohats.ca> Subject: texlua running for 8+ hours using 5GB of ram on yum update? (texlive-context-bin bug?) Newsgroups: gmane.linux.redhat.fedora.devel Date: 2012-12-30 00:24:46 GMT (2 weeks, 6 days, 16 hours and 57 minutes ago) [...]
And additionally the posttrans scriptlet reads as: posttrans scriptlet (using /bin/sh): [ -e /var/run/texlive/run-texhash ] && [ -e /usr/bin/texhash ] && /usr/bin/texhash 2> /dev/null; rm -f /var/run/texlive/run-texhash [ -e /var/run/texlive/run-mtxrun ] && export TEXMF=/usr/share/texlive/texmf-dist; export TEXMFCNF=/usr/share/texlive/texmf/web2c; export TEXMFCACHE=/var/lib/texmf; /usr/bin/mtxrun --generate &> /dev/null; rm -f /var/run/texlive/run-mtxrun : --------------- The intention seems to be: run (e.g.) "/usr/bin/mtxrun --generate" ONLY if the file /var/run/texlive/run-mtxrun exists. However the ";" in that bash line separates entirely different bash commands, so that "/usr/bin/mtxrun" --generate is executed unconditionally! --- This explains the incredibly long postinstall time during an upgrade from fedora 17, where approx 1000 new texlive packages get installed!
Hi Paolo, good catch. I fixed it in sources and will release F18 update as soon as upstream gets compilable again. Thanks!
texlive-2012-16.20130205_r29034.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/texlive-2012-16.20130205_r29034.fc18
Package texlive-2012-16.20130205_r29034.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing texlive-2012-16.20130205_r29034.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2048/texlive-2012-16.20130205_r29034.fc18 then log in and leave karma (feedback).
texlive-2012-16.20130205_r29034.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.