error: %preun scriptlet failed

Problem:

SMP001-01:~ # rpm -qa|grep party

party-1.2.4-1

SMP001-01:~ # rpm -e party

Removing from library ‘/usr/local/lib64/R/library’

Error in find.package(pkgs, lib) : there is no package called ‘party’

Execution halted

error: %preun(party-1.2.4-1.x86_64) scriptlet failed, exit status 1

 

Solution:

Use rpm -e <rpm_name>  –noscripts

Example:

SMP001-01:~ # rpm -e party --noscripts

SMP001-01:~ # rpm -qa|grep party

 

Comments