[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm -e does not remove the package...?




Jeff Johnson wrote:
> 
> On Jun 7, 2006, at 4:12 AM, Evert wrote:
> 
>> Hi all!
>>
>> When I type:
>>    rpm -e gcc-gnat
>> I get the following output:
>>    /usr/share/info/dir: could not read (No such file or directory) and
>> could not create (No such file or directory)
>>    /usr/share/info/dir: could not read (No such file or directory) and
>> could not create (No such file or directory)
>>    error: %preun(gcc-gnat-3.3.2-1) scriptlet failed, exit status 1
>>
>> And the package does NOT get (completely) removed...
>>
>> How do I remove this package anyway?
>>
> 
> You have a package with a busted scriptlet.
> 
> Try
>     rpm -e --nopreun gcc-gnat
> to skip executing the scriptlet.

Thanks!  :-)

I also got another tip: use --noscripts
Which one is better?  --nopreun or --noscripts ?


Regards,
  Evert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]