rpm cannot be installed

Colin J Thomson colin at g6avk.demon.co.uk
Mon Feb 20 23:56:04 UTC 2006


On Monday 20 February 2006 23:42, Paul Smith wrote:
> On 2/20/06, Colin J Thomson <colin at 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
-- 
Fedora Core 4, Custom Built Kernel 2.6.15-ck3
KDE-Redhat-3.5.1-1.5.fc4.kde
Registered Linux user number #342953




More information about the users mailing list