- 代碼: 選擇全部
Processing triggers for man-db ...
Setting up rpm (4.7.0-8) ...
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
dpkg: error processing rpm (--configure):
subprocess installed post-installation script returned error exit status 254
dpkg: dependency problems prevent configuration of alien:
alien depends on rpm (>= 2.4.4-2); however:
Package rpm is not configured yet.
dpkg: error processing alien (--configure):
dependency problems - leaving unconfigured
Setting up db4.6-util (4.6.21-14) ...
Errors were encountered while processing:
rpm
alien
E: Sub-process /usr/bin/dpkg returned an error code (1)
從 debian bug 的 news group 得知:
upgrade 之前先執行以下指令即可:
- 代碼: 選擇全部
db4.6_recover -h /var/lib/rpm/
( db4.6_recover 指令存在於套件 db4.6-util )