On Monday 19 March 2001 23:35, Ray Percival wrote: > Does anyone know how to fix this. I have tried a reinstall of > deboconf and it did not work. Once again thanks. > > Can't locate Debconf/Client/ConfModule.pm in @INC (@INC contains: > /usr/local/lib/perl/5.6.0 /usr/local/share/perl/5.6.0 > /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.6.0 /usr/share/perl/5.6.0 > /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 > /usr/lib/perl5/5.005/i386-linux .) at > /var/lib/dpkg/info/libpaperg.config line 3. > BEGIN failed--compilation aborted at > /var/lib/dpkg/info/libpaperg.config line 3. > (in cleanup) Can't call method "close" on an undefined > value at > /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 476 during global > destruction. > dpkg: error processing libpaperg (--configure): > subprocess post-installation script returned error exit status 2 > Errors were encountered while processing: > libpaperg > E: Sub-process /usr/bin/dpkg returned an error code (1)
A hack: Install libpaperg as usual (if you have somehow uninstalled it in frustration). Then edit file "/var/lib/dpkg/info/libpaperg.config" to make the first four lines resemble the following: #!/usr/bin/perl -w #use Debconf::Client::ConfModule qw(:all); use Debian::DebConf::Client::ConfModule qw(:all); In other words, comment out the following line (just to be on the safe side as rule I don't delete) use Debconf::Client::ConfModule qw(:all); And replace, adding the "Debian::", with use Debian::DebConf::Client::ConfModule qw(:all); Rerun the install, say by something like "apt-get -f install" or its dpkg equivalent.