Highlighted
fartyalvikram Contributor.
Contributor.
639 views

Uninstall eDirectory, Failed to remove packages

I am using NetIQ eDirectory 8.8 SP8 v20811.09 on Red Hat Enterprise Linux Server release 6.8 (Santiago).
I want to Remove or Uninstall eDirectory from Server and installed again on the same Server, For this I followed the below steps.
Step 1, run the following command
ndsconfig rm -a admin.sa.system
It gives the following output without any error or warning.
Deconfiguration of eDirectory server is complete.


Step 2, run the following command
cd /opt/novell/eDirectory/sbin/
./nds-uninstall -s

But it gives me the following output with error Failed to remove packages, So how can I remove those packages manually if it is required.
%% Welcome to the uninstallation of NetIQ eDirectory.

%% Are you sure you want to continue with the NetIQ eDirectory uninstallation?

%% Continue... '[y/n/q] ? ' y
%% Querying for all the components installed in the system. Please wait....
%% %%eDir instance is not configured on this system ./nds-uninstall.
%% Removing novell-NOVLxis... %% ERROR : Failed to remove novell-NOVLxis package.
%% Please remove novell-NOVLxis package manually
done
done
%% Removing novell-NOVLlmgnt... %% ERROR : Failed to remove novell-NOVLlmgnt package.
%% Please remove novell-NOVLlmgnt package manually
done
done
%% Removing novell-NOVLembox... %% ERROR : Failed to remove novell-NOVLembox package.
%% Please remove novell-NOVLembox package manually
done
done
%% Removing novell-nmas... done
%% Removing novell-NOVLsnmp... %% ERROR : Failed to remove novell-NOVLsnmp package.
%% Please remove novell-NOVLsnmp package manually
done
done
%% Removing novell-NDSimon... %% ERROR : Failed to remove novell-NDSimon package.
%% Please remove novell-NDSimon package manually
done
done
%% Removing novell-NDSrepair... %% ERROR : Failed to remove novell-NDSrepair package.
%% Please remove novell-NDSrepair package manually
done
done
%% Removing novell-NDSserv... %% ERROR : Failed to remove novell-NDSserv package.
%% Please remove novell-NDSserv package manually
done
done
%% Removing novell-ntls... done
%% Removing novell-npkit... done
%% Removing novell-npkiapi... done
%% Removing novell-pkiserver... done
%% Removing novell-NDScommon... %% ERROR : Failed to remove novell-NDScommon package.
%% Please remove novell-NDScommon package manually
done
done
%% Removing novell-NLDAPbase... %% ERROR : Failed to remove novell-NLDAPbase package.
%% Please remove novell-NLDAPbase package manually
done
done
%% Removing novell-NLDAPsdk... %% ERROR : Failed to remove novell-NLDAPsdk package.
%% Please remove novell-NLDAPsdk package manually
done
done
%% Removing novell-NDSbase... %% ERROR : Failed to remove novell-NDSbase package.
%% Please remove novell-NDSbase package manually
done
done
%% Removing novell-NDSmasv... %% ERROR : Failed to remove novell-NDSmasv package.
%% Please remove novell-NDSmasv package manually
done
done
%% Removing novell-NOVLldif2dib... %% ERROR : Failed to remove novell-NOVLldif2dib package.
%% Please remove novell-NOVLldif2dib package manually
done
done
%% Removing novell-edirectory-jclnt... %% ERROR : Failed to remove novell-edirectory-jclnt package.
%% Please remove novell-edirectory-jclnt package manually
done
done
%% Removing novell-edirectory-xdasinstrument... done
%% Removing novell-edirectory-xdaslog... done
%% Removing novell-edirectory-xdaslog-conf... done
%% Removing novell-edirectory-expat... done
%% Removing novell-ncpenc... done
%% Removing novell-kerberos-ldap-extensions... done
%% Removing novell-kerberos-base... done
%% Removing novell-NOVLice... %% ERROR : Failed to remove novell-NOVLice package.
%% Please remove novell-NOVLice package manually
done
done
%% Querying for all the components installed in the system. Please wait....

%% NetIQ eDirectory (8.8.8.10) has been successfully removed
Labels (1)
0 Likes
1 Reply
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Uninstall eDirectory, Failed to remove packages



On 01/15/2018 06:24 AM, fartyalvikram wrote:
>
> I am using *NetIQ eDirectory 8.8 SP8 v20811.09* on *Red Hat Enterprise
> Linux Server release 6.8 (Santiago)*.
> I want to Remove or Uninstall eDirectory from Server and installed again
> on the same Server, For this I followed the below steps.
> Step 1, run the following command
> NDSCONFIG RM -A ADMIN.SA.SYSTEM


For some reason everything is showing up with all capital letters; please
use the Code (# the web UI) tags/button in order to make your text literal
so it is not interpreted by the web interface in some weird way; the case
matters in IT, as you know.

> It gives the following output without any error or warning.
>
> Code:
> --------------------
> Deconfiguration of eDirectory server is complete.
> --------------------


Hooray for code tags. It is also nice that the command worked.

> Step 2, run the following command
> CD /OPT/NOVELL/EDIRECTORY/SBIN/
> ./NDS-UNINSTALL -S
> But it gives me the following output with error Failed to remove
> packages, So how can I remove those packages manually if it is
> required.


> %% Removing novell-NOVLxis... %% ERROR : Failed to remove novell-NOVLxis package.
> %% Removing novell-NOVLlmgnt... %% ERROR : Failed to remove novell-NOVLlmgnt package.
> %% Removing novell-NOVLembox... %% ERROR : Failed to remove novell-NOVLembox package.
> %% Removing novell-NOVLsnmp... %% ERROR : Failed to remove novell-NOVLsnmp package.
> %% Removing novell-NDSimon... %% ERROR : Failed to remove novell-NDSimon package.
> %% Removing novell-NDSrepair... %% ERROR : Failed to remove novell-NDSrepair package.
> %% Removing novell-NDSserv... %% ERROR : Failed to remove novell-NDSserv package.
> %% Removing novell-NDScommon... %% ERROR : Failed to remove novell-NDScommon package.
> %% Removing novell-NLDAPbase... %% ERROR : Failed to remove novell-NLDAPbase package.
> %% Removing novell-NLDAPsdk... %% ERROR : Failed to remove novell-NLDAPsdk package.
> %% Removing novell-NDSbase... %% ERROR : Failed to remove novell-NDSbase package.
> %% Removing novell-NDSmasv... %% ERROR : Failed to remove novell-NDSmasv package.
> %% Removing novell-NOVLldif2dib... %% ERROR : Failed to remove novell-NOVLldif2dib package.
> %% Removing novell-edirectory-jclnt... %% ERROR : Failed to remove novell-edirectory-jclnt package.
> %% Removing novell-NOVLice... %% ERROR : Failed to remove novell-NOVLice package.


I honestly did not know that the command was even there; I have usually
used the installer's nds-uninstall in the very rare occasion I've actually
bothered removing things. The other option I've used is to just remove
the RPMs myself.

Still, why are these failing? I guess we cannot tell that easily. Perhaps
post, in code tags, the output of the ${HOME}/nds_uninstall.log (or
something like that) file. Perhaps we can see the native rpm error and go
from there.

Alternatively, this is the command it is running to do the uninstall:


rpm -e --nodeps novell-NOVLxis


I have pointed out a few (hundred) times that the uninstaller should rely
on the RPM mechanisms more-directly, but until engineering fixes some
legacy packages (the work has been done mostly, but cannot be
retroactively fixed in old packages that are already installed, including
yours) and lets everybody use them they are stuck with some of this pain.
Ideally, in that case, one 'rpm' command would be executed, removing all
packages at once:


rpm -e --nodeps novell-NOVLxisnovell-NOVLlmgnt novell-NOVLembox
novell-NOVLsnmp novell-NDSimon novell-NDSrepair novell-NDScommon
novell-NLDAPbase novell-NLDAPsdk novell-NDSbase novell-NDSmasv
novell-NOVLldif2dib novell-edirectory-jclnt novell-NOVLice #plus all of
the ones that succeeded in their removal attempt for you



--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.