Re: 'upgrade' returns 'install seems impossible'.
[email protected] (Bruno Costacurta) Tue, 07 Jun 2011 14:59:46 +0200
| Newsgroups | perl.cpan.discuss |
|---|---|
| Message-ID | <20110607145946.Horde.5j-uQ75-3oNN7iDCsUeXrJA@webmail.costacurta.org> |
Quoting Steffen Schwigon <[email protected]>: > Bruno Costacurta <[email protected]> writes: >> cpan[3]> upgrade >> .. >> Running install for module 'Socket' >> The most recent version "1.94" of the module "Socket" >> is part of the perl-5.13.11 distribution. To install that, you need to r= un >> [=E2=80=A6] >> Thanks for clarification and help. > > To explain what happens: > It tries to install the latest version which for core-modules is only > contained in the Perl distribution itself. The warning tries to avoid > you install a whole new Perl for that. > > Follow-up meditation: > > - You can probably ignore the warnings if =E2=80=9Cupgrade=E2=80=9D insta= lls anything > else correctly. Not aesthetically pleasing, I know=E2=80=A6 As I mentioned, apparently all modules got this error. > > - Strange that it doesn't find a Perl 5.14 - maybe your CPAN mirror > isn't up to date. Anyway, you don't want to install any another Perl > on =E2=80=9Cupgrade=E2=80=9D even if it would be 5.14. > > - It can also happen with non-core modules on pathological cases with > old-but-indexed vs. newer-but-no-longer-indexed modules. DBIx::Class > used to contains something like that during v0.5xx. > I'm using Debian Lenny : I suspect there is a conflict in my system between perl installed from Debian package and CPAN installed from Internet. I currently use perl v5.10 via Debian packages. I'll post an email about this on a Debian mailing list. Bye, Bruno