I had a similar problem and followed a different path: in my virtual Mint 15 I installed a new perl (5.14.4) over the native perl 5.14.2 and apt-get started throwing errors, mainly...
...dont't find ... Debconf/Db.pm in @INC ...
So @INC has lost the directory which holds that pm, but it (and other pms) were still in the system.
Solution: find Db.pm
find . -name Db.pm -print
>>>/usr/share/perl5/Debconf/Db.pm
Then I go to one of the dirs in current @INC and create a symlink
cd /usr/lib/perl5/site_perl/5.14.4/
ln -s /usr/share/perl5/Debconf Debconf
'et voila', I managed to upgrade flawlessly, apt-get is working
apt-get update
apt-get upgrade
Don't know if it would work if both perl major versions were different (here is 5.14 for both).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
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:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.