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

Re: cannot upgrade woody


> hsogso:~# dpkg --configure debconf
> Setting up debconf (0.4.02) ...
> Can't locate object method "value" via package "Debian::DebConf::Question" at
> /usr/lib/perl5/Debconf/Config.pm line 31.
> dpkg: error processing debconf (--configure):
>  subprocess post-installation script returned error exit status 255
> Errors were encountered while processing:
>  debconf
> hsogso:~#
This error occurs, cause debconf simply doesn't know sometimes how it should
upgrade it's database as it seems. following commands may be applied to the
files in /var/lib/debconf to fix that bug:

 mv debconf.db debconf-orig.db
 sed -e 's/Debian::DebConf::/Debconf::/g' < debconf-orig.db > debconf.db
 mv templates.db templates-orig.db
 sed -e 's/Debian::DebConf::/Debconf::/g' < templates-orig.db > templates.db

Actually this information was taken from:
and originates from bviren@minos.phy.bnl.gov

kind regards,
Michael Moerz

Reply to: