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

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

 




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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux