
On Mon, Jul 24, 2017 at 09:28:24AM +0200, Dr. Werner Fink wrote:
On Mon, Jul 24, 2017 at 01:30:01AM +0200, Mari Donkers (openSUSE) wrote:
dracut: *** Creating image file '/boot/initrd-4.11.8-2-default' *** dracut: *** Creating initramfs image file '/boot/initrd-4.11.8-2-default' done ***
Output of dmraid-1.0.0.rc16-38.3.x86_64.rpm %posttrans script: Updating /etc/sysconfig/dmraid ...
Output of man-2.7.6-3.3.x86_64.rpm %posttrans script: mandb: can't create a temporary filename: No such file or directory
Warning: man-2.7.6-3.3.x86_64.rpm %posttrans script failed (returned 2) Running: texlive-zhmetrics-2017.131.r206svn22207-30.1-zypper (texlive-zhmetrics, /var/adm/update-scripts) Traceback (most recent call last): File "/var/adm/update-scripts/texlive-zhmetrics-2017.131.r206svn22207-30.1-zypper", line 25, in <module> remove(tagfile) OSError: [Errno 2] No such file or directory: '/var/run/texlive/run-update' Command exited with status 1. Abort, retry, ignore? [a/r/i] (a): a Problem occurred during or after installation or removal of packages: Installation aborted by user
Please see the above error message for a hint.
Thanks for the report!
Hmm ... this script #!/ust/bin/python # from os import path, remove, access, F_OK,R_OK,X_OK from subprocess import call global update, tagfile update = "/usr/share/texmf/texconfig/update" tagfile = "/var/run/texlive/run-update" if access(update, F_OK|X_OK) and path.exists(tagfile): call("VERBOSE=false " + update + " 2>&1 || :", shell=True) remove(tagfile) should not retry to remove the tagfile "/var/run/texlive/run-update" ... please can have a look at "/var/adm/update-scripts/texlive-zhmetrics-2017.131.r206svn22207-30.1-zypper" to see if the indentation is correct here? Should be a link to /usr/share/texmf/texconfig/zypper.py maybe we face a race here, that is that an already running script removes the tag file after the if access(update, F_OK|X_OK) and path.exists(tagfile): but before the remove(tagfile) line? Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr