[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: error: can't unlink opt-RPMDELETE: directory
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: error: can't unlink opt-RPMDELETE: directory
- Date: Wed, 30 Jan 2002 11:21:09 -0500
On Wed, Jan 30, 2002 at 10:09:59AM -0600, Andrew Chapman wrote:
>
> I have build an rpm file on my machine. I can install successfully
> on my machine, but when a user tries to install on their machine
> they get the message
>
> error: can't unlink opt-RPMDELETE: directory
> error: can't rename opt to opt-RPMDELETE: directory
> error: unpacking of archive failed on file opt: cpio: unlink failed - directory
>
> I have read the archive file for this list rpm-list@redhat.com,
> and I see people reporting a similar error message, but no
> responses with an explanation.
>
> This may be an error due to bad permission on files, or some
> other non-rpm factor, that occurs when installing a rpm file.
> Is there some way to avoid this error?
>
rpm appears to be attempting to remove a file or directory, and is displaying
an errno through strerror that I don't recognize: "directory". Throw
an strace on the rpm command to figger the exact errno.
Does the package have a file/directory path that is a directory or
file on the file system (i.e. you're attempting to replace a directory with
file or vice versa). Just a guess ...
>
> The user tried using the rpm flag "-i --force --nodeps", and still
> gets the error message.
>
FWIW, you're on your own if you insist on using the Big Hammer: --force.
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]