[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get (debconf) throws strange errors while upgrading libpam0g Debian lenny package



On Wed, Aug 20, 2008 at 13:51:58 -0700, rainmailbox2001-ola AT yahoo DOT ca wrote:
> Hi.
> I was just trying to install today's updates for Debian lenny
> (testing), and debconf throws these errors at me while upgrading
> libpam0:
> 
> Preconfiguring packages ...
> Setting up libpam0g (1.0.1-2) ...
> Checking for services that may need to be restarted...Checking init scripts...
> debconf: Unable to load Debconf::Element:Dialog::String.
> Failed because: Can't locate Debconf/Element/Dialog/String.pm in @INC

Something is wrong with the debconf perl modules; they cannot be found
in the module include path (@INC).

> (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0
> /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at

Your @INC seems to be OK; it contains /usr/share/perl5. The missing file
should be here:

/usr/share/perl5/Debconf/Element/Dialog/String.pm

Do you have this file? If not, try reinstalling the "debconf" package.
Your normal package manager might be blocked by the unconfigured
libpam0, but it might be possible to download debconf_1.5.22_all.deb
from your preferred Debian mirror and install it with "dpkg -i". 

> (eval 24) line 2, <GEN1> line 4.
> BEGIN failed--compilation aborted at (eval 24) line 2, <GEN1> line 4.
> 
> Can't locate object method "new" via package "Debconf::Element:Dialog::String" (perhaps you forgot to load "Debconf::Element:Dialog::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 4.
> dpkg: error processing libpam0g (--configure):
> subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
> libpam0g
> E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: