我使用
Linux Mint 16并且在通过apt-get install安装软件包时总是出错:
Reading package lists… Done Building dependency tree Reading
state information… Done sqlitebrowser is already the newest version.
0 upgraded,0 newly installed,0 to remove and 26 not upgraded. 1 not
fully installed or removed. After this operation,0 B of additional
disk space will be used. Do you want to continue [Y/n]? Y Use of
uninitialized value in concatenation (.) or string at
/usr/share/perl5/Debconf/DbDriver/File.pm line 44,
chunk 3. Use of uninitialized value in -e at
/usr/share/perl5/Debconf/DbDriver/File.pm line 46,
chunk 3. Use of uninitialized value in pattern match (m//) at
/usr/share/perl5/Debconf/DbDriver/File.pm line 47,
chunk 3. Use of uninitialized value $directory in -d at
/usr/share/perl5/Debconf/DbDriver/File.pm line 48,
chunk 3. Use of uninitialized value $directory in concatenation (.) or
string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49,
chunk 3. debconf: DbDriver “config”: mkdir :No such
file or directory Setting up man-db (2.6.5-2) … Use of uninitialized
value in concatenation (.) or string at
/usr/share/perl5/Debconf/DbDriver/File.pm line 44,
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 were encountered while processing: man-db E:
Sub-process /usr/bin/dpkg returned an error code (1)
运行
sudo apt-get install debconf --reinstall
要么
sudo apt-get update --fix-missing
sudo apt-get autoremove && sudo apt-get clean && sudo apt-get install -f
只解决了暂时(直到下次重启)
也许我已经安装了perl一次,而不是使用apt-get.我也尝试用synaptic重新安装perl,但它没有帮助.我能做什么?