Description of Problem: When running "rpm --test --nodeps -Uvh XFree86-4.1.0-0.8.6.i386.rpm" from rawhide, rpm tries to execute this trigger: % rpm -q --triggers XFree86 triggerpostun script (through /bin/sh) -- XFree86 for dir in lbxproxy proxymngr rstart xserver ; do if [ -d /usr/X11R6/lib/X11/$dir ] ; then cp -af /usr/X11R6/lib/X11/$dir/* /etc/X11/$dir 2>/dev/null rm -rf /usr/X11R6/lib/X11/$dir fi # no need to keep this symlink around any longer - pgb 06/28/00 # these are needed for 3.x servers - notting 07/24/00 [ ! -L /usr/X11R6/lib/X11/$dir ] && \ ln -snf ../../../../etc/X11/$dir /usr/X11R6/lib/X11/$dir : done How Reproducible: Always. Steps to Reproduce: 1. rpm --test --nodeps -Uvh XFree86-4.1.0-0.8.6.i386.rpm Actual Results: % rpm --test --nodeps -Uvh XFree86-4.1.0-0.8.6.i386.rpm Preparing... ########################################### [100%] rm: cannot unlink `/usr/X11R6/lib/X11/lbxproxy': Permission denied rm: cannot unlink `/usr/X11R6/lib/X11/proxymngr': Permission denied rm: cannot unlink `/usr/X11R6/lib/X11/rstart': Permission denied rm: cannot unlink `/usr/X11R6/lib/X11/xserver': Permission denied % Expected Results: % rpm --test --nodeps -Uvh XFree86-4.1.0-0.8.6.i386.rpm % Additional Information:
Yup, goofy legacy behavior. Workaround by adding --notriggers to the command line.
*** This bug has been marked as a duplicate of 25756 ***