On Thu, Nov 29, 2001 at 01:26:47AM +1100, Craig W wrote:
> Sorry, but the following packages have unmet dependencies:
>   perl-5.004: Depends: perl-5.004-base (= 5.004.05-6) but 6.3 is to be
> installed

(Why not perl-5.005?)

You need to downgrade the existing perl-5.00[45]-base packages; the ones
you have installed are transitional packages. Downgrades aren't very
well supported, as you've discovered, but you should be able to either:

  * remove perl-5.004-base and then use apt-get to reinstall the version
    from stable, provided there's nothing left that depends on it;

  * download the perl-5.004-base .deb and install it with 'dpkg -i';

  * if you happen to have the apt from testing installed, 'apt-get
    install perl-5.004-base=5.004.05-6'.

You can use the apt from testing to do a mass downgrade if you're
careful, for which see the apt_preferences(5) man page. The way to do a
downgrade is generally to let dpkg or newer versions of apt do it, not
to attempt to remove and reinstall.

> Is there someway to manually edit the list of installed packages to kick it
> into re-installing perl (& what is the filename of said file?)?

Do everything you can to avoid having to do this, as it has a good
chance of confusing the packaging system beyond unskilled repair.
(Anything's possible - /var/lib/dpkg/status, for reference - but
particularly in the case of perl it's a bad idea.)

Cheers,

-- 
Colin Watson                                  [EMAIL PROTECTED]

Reply via email to