Re: perl 5.8.1 or later for rhel 3

Michael Schwendt <[email protected]> Sun, 28 Jan 2007 22:01:13 +0100
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
On Sat, 27 Jan 2007 22:46:10 -0600, Ed Wilts wrote:

> On 1/27/2007 6:01 PM, Alois Treindl wrote:
> > Alois Treindl wrote:
> >> RHEL 3 has perl-5.8.0 but I have some application which refuses to 
> >> start with perl version < 5.8.1
> >>
> >> Does onyone know of perl rpms for rhel 3 which allow me to update 
> >> easily to this version (or later)?
> > 
> > solved it myself: took the perl rpm from Fedora 2.
> > Needed 'nodeps' and 'force' to install but seems to do its job.
>            ^^^^^^       ^^^^^
> 
> This is almost always a bad idea... 

Some admins shoot themselves into the feet with these options.

While --nodeps may really be necessary to ignore dependencies and upgrade
a package without any bad consequences (because some dependencies are not
future-proof and too strict), --force is short for "--replacepkgs
--replacefiles --oldpackage". The --replacefiles option is particularly
nasty and can cause bad trouble. Why? From the manual:

  --replacefiles
      Install the packages even if  they  replace  files  from  other,
      already installed, packages.

This will show up in "rpm -Va". But finding out where and what it breaks,
is left as an exercise.

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list