RE: Unable to erase an erroneous rpm - Please help

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

 



You could try rpm -e --noscripts your_package_name

You will need to manually clean up anything left behind in the filesystem.

Good luck,
Jeff

-----Original Message-----
From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On
Behalf Of Kala B
Sent: Wednesday, April 13, 2005 8:17 AM
To: Rpm-list@xxxxxxxxxx
Subject: Unable to erase an erroneous rpm - Please help

Hi,
I was building an rpm and testing it by installing it on my machine. I
had a wrong script ( a perl script with syntax errors) in the %preun
portion of the rpm spec file. I could install the rpm fine. But I am
unable to uninstall it.

I tried to rebuild the rpm with the correct script in preun,  so that
i can upgrade and then erase the rpm. But that doesnot work.

I would be very helpful if I can get some help/guidance.

Is there a way to delete the rpm entry from the rpm db??

Thanks & Regards
Kala B.

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

_______________________________________________
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