
Originally Posted by
rburkartjo
ni it returns with nothing
would i mess up my system if i just became root and navigated to
/var/cache/debconf
and deleted these files
config.data and config.data-old
or could i just delete all the files in the folder and not just the aforementioned
there is also these files in /var/cache/debconf
password.data
templetes.data
templetes.data-old
Probably Yes. I just deleted the folder (in VB of course) and I can not dpkg-reconfigure anything , the results are
Code:
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
EDIT: Just tried again and I saw that there is no problem if you manually re-create the folder.
Code:
sudo mkdir /var/cache/debconf/
So , first backup the folder
Code:
sudo cp -R /var/cache/debconf ~/
then remove and create the folder again
Code:
sudo rm -r /var/cache/debconf
sudo mkdir /var/cache/debconf
and then try again
Code:
sudo dpkg --configure -a
sudo dpkg-reconfigure -a
If any problem occurs you can restore (the backed up debconf) with
Code:
sudo cp -R debconf /var/cache/
Thanks