Re: Apt, Debconf, and Perl.

2001-03-20 Thread Oleksandr Moskalenko
* Ray Percival ([EMAIL PROTECTED]) 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 

  Same thing happened during the last (today) dist-upgrade on my
testing/unstable machine to the latest testing. I fixed it by doing an
apt-get install libpaperg from unstable, which automatically installed
new debconf, too and the problem went away.  

  Alex.



Re: Apt, Debconf, and Perl.

2001-03-20 Thread csj
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.



Re: Apt, Debconf, and Perl.

2001-03-19 Thread paolo pedaletti
Ciao Ray Percival,

> 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: 

I have found that on my pc doesen't exist Debconf while exists DebConf
(capital 'C') 
I have done ln -s .
but I still have problem:

apt# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 2  not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Configuro libpaperg (1.0.5) ...
Undefined subroutine &main::version called at
/var/lib/dpkg/info/libpaperg.config line 5.
   (in cleanup) Can't call method "DESTROY" on an undefined value at
  /usr/lib/perl5/Debian/DebConf/Question.pm line 251 during
  global destruction.
   (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: errore processando libpaperg (--configure):
  il sottoprocesso post-installation script ha restituito un codice di 
errore 255
  Sono occorsi degli errori processando:
   libpaperg
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- 

Paolo Pedaletti, Como, ITALYa www.fastflow.it/~paolop
[EMAIL PROTECTED]   ICQ: 4755831



Apt, Debconf, and Perl.

2001-03-19 Thread Ray Percival
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)