升级我的 Debian Stretch 发行版时,在配置包 dictionaries-common 期间收到以下错误消息:
┌───────────────────┤ dictionaries-common: wordlists ├───────────────────┐
| |
| Possible debconf database corruption |
| |
| The setting for "dictionaries-common/default-wordlist" is missing, but |
| packages providing candidates are installed: "wamerican". │
| |
| This may be due to corruption in the debconf database. See |
| "/usr/share/doc/dictionaries-common/README.problems" on "Debconf |
| database corruption". │
| |
| In this case, running "/usr/share/debconf/fix_db.pl" can help to put |
| the debconf database in a consistent state. │
| |
| Some questions are likely to be asked after this message in order to |
| leave the dictionaries system in a (provisionally) working state. │
| |
| <Ok> |
| |
└────────────────────────────────────────────────────────────────────────┘
所以,
- 这真的是一个腐败,还是只是一个依赖问题?
- 我应该运行
fix_db.pl
脚本吗?
答案1
中引用的所有错误/usr/share/doc/dictionaries-common/README.problems
相当旧,但是您正在使用的发行版的版本也很旧。脚本fix_db.pl
本身非常安全,无论如何它都会留下备份 - 您可以运行它,然后比较/var/cache/debconf/config.dat
和的内容/var/cache/debconf/config.dat-old
,以及/var/cache/debconf/templates.dat
和/var/cache/debconf/templates.dat-old
看看它改变了什么。
因此,在您的情况下,我会备份debconf
文件,运行脚本,并查看它是否更改了与dictionaries-common
.如果您在后续的软件包升级过程中遇到意外debconf
问题,并且您不记得适当的答案,您可以在所做的备份中查找。