IMHO it seems that the Perl includepath @INC contains mixed
paths of both perl libraries. The old 5.10.1 and the new 5.14.2.
However, Perl is not able to resolve the dependency tho the module feature.pm, which must be located in some of the folders.
Depending on what version you will get by typing perl -v on the shell, I would give a try doing following things to get the do-release-upgradeworking.
Create a perl-file from which you will start the do-release-upgrade
Depending on your perl version I would manipulate the @INC path accordingly.
In case of Version 5.10.1 :
We have to replace following paths in the @INC:
/usr/share/perl/5.14.2/etc/perl by /usr/share/perl/5.10.1/etc/perl
You can do this by simply manipulating the @INC.
As the wrong entry is at the first place you can remove it by an shift operation and unshift the correct path.
#adjusting the @INC
#Call to your script
In case your are running the perl 5.14.2, you got to replace all the other paths pointing to version 5.10.1.
For this I would recommend some reg-expressions.
Or to keep it simple you can redefine the @INC by
@INC = ('/usr/share/perl/5.14.2','/etc/perl /usr/local/lib/perl/5.14.1
But first make sure that those folders exists at all.
However, I am not sure if a do-release-upgrade is the correct answer to this issue - I have some doubts.
I am no ubuntu expert, but it should be possible to reinstall perl as 'ubuntu package' or rpm or something like that.
I guess this approach would fit more this Issue.
In case that ubuntu install scripts are perl based you can use the approach above eitherway.
I hope this helps.. :-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||