Can't remove old RPM

Thomas Cameron thomas.cameron at camerontech.com
Wed Oct 15 01:11:50 UTC 2008


Jim wrote:
> Patrick O'Callaghan wrote:
>> On Tue, 2008-10-14 at 18:39 -0400, Jim wrote:
>>  
>>> So how do I get rid avahi-0.6.17-1.fc7.i386 that supposedly not even 
>>> installed.
>>>     
>>
>>         rpm -q avahi-0.6.17-1.fc7.i386
>>
>> to see if it's there, then
>>
>>         rpm -e avahi-0.6.17-1.fc7.i386
>>
>> If your RPM database is corrupt, you might want to do "rpm --rebuilddb".
>>
>> poc
>>
>>   
> I did a below, but had to do a --nodeps to prevent from losing many 
> packages and lockup my box.
> 
> # rpm -e --nodeps avahi-0.6.17-1.fc7.i386
> error reading information on service avahi-dnsconfd: No such file or 
> directory
> error: %preun(avahi-0.6.17-1.fc7.i386) scriptlet failed, exit status 1
> 

use --noscripts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081014/b68ccdf2/attachment-0001.sig>


More information about the fedora-list mailing list