On Monday 20 February 2006 23:42, Paul Smith wrote:
On 2/20/06, Colin J Thomson colin@g6avk.demon.co.uk wrote:
I have just created a rpm of dvipdfmx with checkinstall. However, when I try to install it, I get the following:
# rpm -ihv dvipdfmx-20050831-1.i386.rpm Preparing... ########################################### [100%] 1:dvipdfmx ########################################### [100%] error: unpacking of archive failed on file /selinux/context;43fa40de: cpio: open failed - Permission denied
Yep.. add this to your /usr/local/lib/checkinstall/checkinstallrc
# Comma delimited list of files/directories to be ignored EXCLUDE="/selinux"
Thanks, Colin. It is strange that I have two rc files:
# locate checkinstallrc /usr/lib/checkinstall/checkinstallrc~ /usr/lib/checkinstall/checkinstallrc /usr/lib/checkinstall/checkinstallrc-dist /usr/local/lib/checkinstall/checkinstallrc~ /usr/local/lib/checkinstall/checkinstallrc #
Indeed it is, locate checkinstallrc /usr/local/lib/checkinstall/checkinstallrc-dist /usr/local/lib/checkinstall/checkinstallrc
whereis checkinstall checkinstall: /usr/local/sbin/checkinstall /usr/local/lib/checkinstall
I guess it could be the way you installed and/or built checkinstall?
Goodluck
Colin