Operating System - HP-UX
1825792 Members
2740 Online
109687 Solutions
New Discussion

Dependencies error while removing perl.

 
이상봉_2
Occasional Contributor

Dependencies error while removing perl.


I have dependence problem when I try to delete perl on 11.23 of rx5670.

According Logs, I have to remove below packages to delete perl.

Bastille.BASTILLE,
securitytools.TOOLSFILESET,
SecPatchChk

But I'm afraid of breaking up relation linked with important softwares. Is it no problem to
delete those things? Os Is there way to delete only perl? If so, Plz. give me some information.

Server info

ia64 hp server rx5670
8G RAM
OS : 11.23
5 REPLIES 5
mobidyc
Trusted Contributor

Re: Dependencies error while removing perl.

Hello,

these packages needs Perl to run correctly, if you remove Perl (which is possible with -x enforce_dependencies=false), they'll not work anymore.

the question is why do you want to remove perl?

if you really don't want Perl, delete these packages, you can recursive delete Perl and it's dependencies packages by adding -x autoselect_dependents=true to your swremove command.

--
Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
David Bellamy
Respected Contributor

Re: Dependencies error while removing perl.

These products depend on Perl to work, why do you want to remove Perl ? Multiple versions of perl can be run on the system at the same time, just link the executable that you want into the /usr/bin directory for all other just use the perl executable path if you need them.
이상봉_2
Occasional Contributor

Re: Dependencies error while removing perl.

Thank you for your kindness. I removed the package the way you've told me. and the reason that I want to delete perl is to install up-to-date perl version. Thank you again your concern. :-)
Dennis Handly
Acclaimed Contributor

Re: Dependencies error while removing perl.

>the reason that I want to delete perl is to install up-to-date perl version.

If your new perl was in a depot and the same location, you might have been able to install over the old and not have to remove it and the dependencies first.
David Bellamy
Respected Contributor

Re: Dependencies error while removing perl.

Most of the time when you are installing perl it puts it out in it own directory structure ex. /opt/perl_64/bin or /opt/perl5/bin