Dear All
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 #
Any ideas?
Thanks in advance,
Paul
Hi Paul..
On Monday 20 February 2006 22:39, Paul Smith 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"
It's worth studying this rc file, it has some hand features :)
HTH
-Colin
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"
It's worth studying this rc file, it has some hand features :)
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 #
Paul
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
On Mon, 2006-02-20 at 23:42 +0000, 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"
It's worth studying this rc file, it has some hand features :)
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
The above would likely have been installed by an rpm.
/usr/local/lib/checkinstall/checkinstallrc~ /usr/local/lib/checkinstall/checkinstallrc
This one likely installed by compiling.
Having 2 different versions of _anything_ installed is asking for trouble to pop up when least expected.
Why did you compile checkinstall when it is available as rpm?
On 2/21/06, Jeff Vian jvian10@charter.net wrote:
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
The above would likely have been installed by an rpm.
/usr/local/lib/checkinstall/checkinstallrc~ /usr/local/lib/checkinstall/checkinstallrc
This one likely installed by compiling.
Having 2 different versions of _anything_ installed is asking for trouble to pop up when least expected.
Why did you compile checkinstall when it is available as rpm?
I have no remembrance of having ever compiling checkinstall. I suspect that yum may have incorrectly removed older versions of checkinstall.
Paul
Paul Smith wrote:
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
Jeff Vian explained that some "would likely have been installed by an rpm," and some "likely installed by compiling."
Paul replied:
I have no remembrance of having ever compiling checkinstall. I suspect that yum may have incorrectly removed older versions of checkinstall.
Well, there's always
rpm -qf /usr/lib/checkinstall/checkinstallrc \ /usr/lib/checkinstall/checkinstallrc-dist \ /usr/local/lib/checkinstall/checkinstallrc
(the \ has to come right at the end of the line) to see whether they come from RPMS and, if so, which.
James.
On 2/22/06, James Wilkinson fedora@westexe.demon.co.uk wrote:
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
Jeff Vian explained that some "would likely have been installed by an rpm," and some "likely installed by compiling."
Paul replied:
I have no remembrance of having ever compiling checkinstall. I suspect that yum may have incorrectly removed older versions of checkinstall.
Well, there's always
rpm -qf /usr/lib/checkinstall/checkinstallrc \ /usr/lib/checkinstall/checkinstallrc-dist \ /usr/local/lib/checkinstall/checkinstallrc
(the \ has to come right at the end of the line) to see whether they come from RPMS and, if so, which.
Thanks, James. Jeff is right as
# rpm -qf /usr/lib/checkinstall/checkinstallrc /usr/lib/checkinstall/checkinstallrc-dist /usr/local/lib/checkinstall/checkinstallrc checkinstall-1.6.0-2.2.fc4.rf checkinstall-1.6.0-2.2.fc4.rf file /usr/local/lib/checkinstall/checkinstallrc is not owned by any package #
Paul