Wrong path for Perl libraries?
Package: perl
Version: 5.005.02-2
Severity: normal
I got an error with dpkg which I suspect is the fault of perl. It seems
that Perl's path of library directories is insufficient. The same happened
using psptools. It may also be the cause of another problem I observed
with apt-get. Here is what I got:
# dpkg -i tetex-bin_0.9.981008-1.deb
(Reading database ... 57516 files and directories currently installed.)
Preparing to replace tetex-bin 0.9.980706-1 (using tetex-bin_0.9.981008-1.deb) ...
Can't locate Dpkg/Package/List.pm in @INC (@INC contains: /usr/lib/perl5/i386-linux/5.005 /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl .) at /var/lib/dpkg/tmp.ci/preinst line 24.
BEGIN failed--compilation aborted at /var/lib/dpkg/tmp.ci/preinst line 24.
dpkg: error processing tetex-bin_0.9.981008-1.deb (--install):
subprocess pre-installation script returned error exit status 2
rm: /usr/lib/texmf/web2c: is a directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
tetex-bin_0.9.981008-1.deb
# find /usr/lib/perl5 -name List.pm
/usr/lib/perl5/Dpkg/Package/List.pm
/usr/lib/perl5/Debian/Package/List.pm
#
Reply to: