[NTLUG:Discuss] How do I uninstall perl on SuSE 8?
Dennis Daupert
ddaupert at csc.com
Mon Jul 22 09:37:41 CDT 2002
Ah! That sounds like a winner; I'll try it out. Thanks Cliff.
/dennis
> From: "Cliff - NTLUG" <ntlug at pervy.custard.org>
> To: <discuss at ntlug.org>
> Subject: Re: [NTLUG:Discuss] How do I uninstall perl on SuSE 8?
> Date: Sat, 20 Jul 2002 22:28:29 -0500
> Reply-To: discuss at ntlug.org
> From the sounds of it you indicate that suse rpm just installed the perl
rpm
> for you automatically without asking you first - to satisfy dependancies
-
> naughty suse !! .
To give SuSE partial credit, if I just clicked "OK" once I first
get the "you have unsatisfied dependancies" msg, he wouldn't
go ahead and reinstall perl (when I'm in there trying to install
something else.) But if I click the "show me the dependancies"
button and then try to get out of that dialogue, he goes ahead and
performs the install. So it's kinda mixed.
> The best thing I would suggest is that if you cannot force
> suse to behave itself and not automatically install perl whenever you go
to
> install another package is to leave perl rpm package installed (assuming
it
> doesnt conflict with your install), rename the binaries the rpm package
> installed and re-create the origional sim links - this way the rpm data
base
> is happy and your system continues to use your version of perl.
> rpm -qa | grep -i perl <-- to list the perl
> package name that it installed
> rpm -ql perl-5.6.1 | grep -i /bin/ <- to list the location of
> binaries installed by the package (assuming package name was listed as
> perl-5.6.1).
> rpm -ql perl-5.6.1 | more <- to list all files
installed
> by the perl rpm package and then using your prefured pager to page the
long
> listing for you (more or less the same).
> If you can get suse to behave itself then uninstall the perl rpm and
> whenever you install a package that says it needs to perl rpm package
then
> just tell it to ignore dependancies (assuming everything else it needs is
on
> the system).
> rpm -ivh --nodeps mypackage.i386.rpm
> or
> rpm -Uvh --nodeps mypackage.i386.rpm
> Cliff.
More information about the Discuss
mailing list