Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Failed to remove oozie server rpm

Highlighted

Failed to remove oozie server rpm

New Contributor

Unable to use yum to remove oozie server

# yum remove oozie_2_6_4_0_91 -y

Loaded plugins: langpacks, priorities, product-id, rhnplugin, search-disabled-
              : repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package oozie_2_6_4_0_91.noarch 0:4.2.0.2.6.4.0-91 will be erased
--> Finished Dependency Resolution


Dependencies Resolved


================================================================================
 Package              Arch       Version                 Repository        Size
================================================================================
Removing:
 oozie_2_6_4_0_91     noarch     4.2.0.2.6.4.0-91        @HDP-2.6.4.0     0.0


Transaction Summary
================================================================================
Remove  1 Package


Installed size: 0
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
/var/tmp/rpm-tmp.4p0Hg2: line 1: pushd: /usr/hdp/2.6.4.0-91/oozie: No such file or directory
/var/tmp/rpm-tmp.4p0Hg2: line 3: popd: directory stack empty
error: %preun(oozie_2_6_4_0_91-4.2.0.2.6.4.0-91.noarch) scriptlet failed, exit status 1
Error in PREUN scriptlet in rpm package oozie_2_6_4_0_91-4.2.0.2.6.4.0-91.noarch
3529 packages excluded due to repository priority protections
  Verifying  : oozie_2_6_4_0_91-4.2.0.2.6.4.0-91.noarch                     1/1


Failed:
  oozie_2_6_4_0_91.noarch 0:4.2.0.2.6.4.0-91


Complete!



3 REPLIES 3

Re: Failed to remove oozie server rpm

Super Mentor

@Zaili Xu
Please try cleaning up the yum cache first as following :

# yum clean all && rpm --rebuilddb
# package-cleanup --problems


And then perform the following command again:

# yum remove oozie_2_6_4_0_91 -y

.

Re: Failed to remove oozie server rpm

Super Mentor

@Zaili Xu

If this fixes your issue then can you please mark this HCC thread as "answered" by clicking on the "Accept" button on the correct answer so that it will be useful for other HCC users to quickly browse and find the solution.

Re: Failed to remove oozie server rpm

New Contributor

Thank you, Jay

Don't have an account?
Coming from Hortonworks? Activate your account here