我不知道以前发生了什么,但现在每当我试图通过终端或软件中心安装任何软件包/程序时,Ubuntu14.04就会出现这样的错误:
configuring tzdata
can't open /usr/share/debconf/confmodule
dpkg: error processing package tzdata(--configure):
post-installation returned error code 2我检查了这个文件夹:/usr/share/debconf,发现它什么都不包含,这就是为什么不能打开它。在此文件夹中在终端中使用dir,它根本不输出任何内容。
我试着重新安装、删除和检查这个包,甚至清除apt-get的缓存,但是它没有工作,也没有解决问题,并引发了同样的错误。
发布于 2015-10-12 11:43:22
如果文件confmodule不在/usr/share/debconf/中,则必须通过以下方式重新安装包debconf
sudo apt-get install --reinstall debconfhttps://askubuntu.com/questions/684476
复制相似问题