Re: Missing Warnings.pm => broken debconf
Andrew n marshall wrote:
> Ah.. yes. perl was pointing to an old copy of 5.6. Now I have removed
> 5.6 completely, verified that both perl-5.005-base and perl-5.005 are
> properly installed. Now this is the error I get:
>
> Can't locate object method "value" via package "Debconf::Question" at
> /usr/lib/perl5/Debian/DebConf/Config.pm line 76.
>
> This is even after removing the debconfpackage and retrying new apt-get
> install. apt-get is pulling 0.2.80.17 from testing.
This indicates that you had debconf 0.5.59 or below installed (but not
0.5.60, which is supposed to handle downgrades).
VARDIR=/var/lib/debconf
cp $VARDIR/debconf.db $VARDIR/debconf.db.old
cp $VARDIR/templates.db $VARDIR/templates.db.old
sed -e s/Debconf::/Debian::DebConf::// \
< $VARDIR/debconf.db.old > $VARDIR/debconf.db
sed -e s/Debconf::/Debian::DebConf::/ \
< $VARDIR/templates.db.old > $VARDIR/templates.db
rm -f $VARDIR/debconf.db.old $VARDIR/templates.db.old
--
see shy jo
Reply to: