linux - debconf or perl error during apt-get install -
i use linux mint 16 , error when installing package apt-get install:
reading package lists... done building dependency tree reading state information... done sqlitebrowser newest version. 0 upgraded, 0 newly installed, 0 remove , 26 not upgraded. 1 not installed or removed. after operation, 0 b of additional disk space used. want continue [y/n]? y use of uninitialized value in concatenation (.) or string @ /usr/share/perl5/debconf/dbdriver/file.pm line 44, chunk 3. use of uninitialized value in -e @ /usr/share/perl5/debconf/dbdriver/file.pm line 46, chunk 3. use of uninitialized value in pattern match (m//) @ /usr/share/perl5/debconf/dbdriver/file.pm line 47, chunk 3. use of uninitialized value $directory in -d @ /usr/share/perl5/debconf/dbdriver/file.pm line 48, chunk 3. use of uninitialized value $directory in concatenation (.) or string @ /usr/share/perl5/debconf/dbdriver/file.pm line 49, chunk 3. debconf: dbdriver "config": mkdir :no such file or directory setting man-db (2.6.5-2) ... use of uninitialized value in concatenation (.) or string @ /usr/share/perl5/debconf/dbdriver/file.pm line 44, chunk 3. use of uninitialized value in -e @ /usr/share/perl5/debconf/dbdriver/file.pm line 46, chunk 3. use of uninitialized value in pattern match (m//) @ /usr/share/perl5/debconf/dbdriver/file.pm line 47, chunk 3. use of uninitialized value $directory in -d @ /usr/share/perl5/debconf/dbdriver/file.pm line 48, chunk 3. use of uninitialized value $directory in concatenation (.) or string @ /usr/share/perl5/debconf/dbdriver/file.pm line 49, chunk 3. debconf: dbdriver "config": mkdir :no such file or directory dpkg: error processing man-db (--configure): subprocess installed post-installation script returned error exit status 1 errors encountered while processing: man-db e: sub-process /usr/bin/dpkg returned error code (1)
running
sudo apt-get install debconf --reinstall
or
sudo apt-get update --fix-missing sudo apt-get autoremove && sudo apt-get clean && sudo apt-get install -f
only solved temporarily(til next reboot)
perhaps have installed perl once, not using apt-get. tried reinstall perl synaptic, didn't help. can do?
i've found problem myself.
i using ssd. that's why mounted /var/cache ram(via tmpfs) in order limit write access on ssd. debconf puts it's cache /var/cache/debconf when installing it. on ram. after every restart apt-get worked if reinstalled deconf.
of course definite solution in case run
mkdir /var/cache/debconf
in bootup script.
Comments
Post a Comment