dpkg failures on perl_5.6.1-2
Hi,
About a week ago in doing an apt-get upgrade on debian unstable I
started getting dependency problems with perl-modules 5.6.1 etc
insisting on perl-5.6.0 despite the 5.6.1 that was installed (this is
from memory). After futzing with the usual dpkg and apt commands. I also
got the postinst Is A Directory as below.
I then did a complete removal of perl and wgot the core package and
installed it but.....
# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
autoconf: Depends: perl but it is not installed or
perl5
defoma: Depends: perl but it is not installed or
perl5
dpkg-dev: Depends: perl5
gmc: Depends: perl5
perl-5.005: Depends: perl (>= 5.6.0-20) but it is not installed
xscreensaver: Depends: perl5
E: Unmet dependencies. Try using -f.
#apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
perl
1 packages upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/1141kB of archives. After unpacking 1032kB will be used.
Do you want to continue? [Y/n] y
(Reading database ... 45134 files and directories currently installed.)
Preparing to replace perl 5.6.0-21 (using
.../archives/perl_5.6.1-2_i386.deb) ...
Unpacking replacement perl ...
dpkg: error processing /var/cache/apt/archives/perl_5.6.1-2_i386.deb
(--unpack): unable to install (supposed) new info file
`/var/lib/dpkg/tmp.ci/postinst': Is a directory
Errors were encountered while processing:
/var/cache/apt/archives/perl_5.6.1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any suggestions?
Adam Logghe
adam in the domain devtty.net
Reply to: