[NTLUG:Discuss] How do I uninstall perl on SuSE 8?

Cliff - NTLUG ntlug at pervy.custard.org
Sat Jul 20 22:28:29 CDT 2002


>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 !! . 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.


----- Original Message -----
From: "Dennis Daupert" <ddaupert at csc.com>
To: <discuss at ntlug.org>
Sent: Friday, July 19, 2002 8:46 AM
Subject: [NTLUG:Discuss] How do I uninstall perl on SuSE 8?


>
> I've been wrestling with mod_perl/apache installation on SuSE 8.0 for
> almost two weeks. (I'll go to the mod_perl list on that)
>
> I read a tip by Lincoln Stein suggesting waxing a linux preinstalled perl,
> and installing from source. Since I usually install my own perl anyways,
> I decided to go for it on my pretty freshly updated SuSE 8.
>
> Problem is, when I deinstall SuSE's perl, he (rpm, I believe) tells me
> there are hundreds of  packages depending on perl. I went ahead
> anyhow, deinstalled that perl (from /usr/bin/perl), installed from tar.gz
> into /usr/local/bin/perl (with symlink to /usr/bin/perl), and perl is just
> fine.
>
> But the rpm guy doesn't know about my new perl, and when I later installed
> something from the SuSE CD, he said, "Oh my god, you need perl!" and
> went ahead and installed perl from the CD binary into /usr/bin/perl.
>
> QUESTION: How do I remove the SuSE binary perl and tell rpm about *my*
> perl in /usr/local/bin/perl so he'll be satisfied? I don't do much with
> rpm,
> other than the distro installs.
>
> /dennis
>
> --------------------------------------------------------------------------
-
> Office phone: 817-762-8304
>
> --------------------------------------------------------------------------
-
> Seen on a Texas bumper sticker:
> Fail until you succeed.
>
>
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss





More information about the Discuss mailing list