Tim Jackson wrote:
On Fri, 20 May 2005 20:48:26 -0400
"Eric Wood" <[EMAIL PROTECTED]> wrote:
[on Fedora Core 1]
2. What is the easiest way to update Net::DNS to 0.34 ?
This was very easy:
perl -MCPAN -e shell [as root]
o conf prerequisites_policy ask
install Net::DNS
quit
Whilst certainly a *quick* way of updating, I think it's worth
pointing out that this is not a very *good* way of updating Perl modules
on an RPM-based system such as Fedora, unless you particularly enjoy
painful and unpredictable system management in future. I'd suggest
either using an RPM- based distro and installing everything as RPMs, or
using a non-package-based distro and installing everything from source;
doing a mixture of both will lead to pain in the future when you have
RPM telling you version 'X' of something is installed, but in fact
you've manually obliterated it with version 'Y'. Especially when you're
trying to install an RPM-based package that requires 'Y' and you then
have to start forcing installs etc. - it just makes the whole RPM
thing mostly pointless.
A better way is to use cpan2rpm to package the CPAN module as an RPM
for you:
http://perl.arix.com/cpan2rpm/
Once installed, it's as simple as "cpan2rpm Net::DNS" and bingo - you
have a nice package.
Tim
Yes, this exact problem is why I prefer to stick with Slackware. I
administer RedHat and FreeBSD boxes, and they are both REALLY painful to
keep updated, especially since I have a number of packages I do
specialized compile options for - and need to keep updated.
I also agree with Tim - don't use straight CPAN unless that's the only
way you're going to keep those modules up to date (which is generally
what I do. Since the bulk of those modules are only used by
SpamAssassin (for me), I simply run the updates at the same time as the
SA updates). Use RPM's/packages instead.
BW