apt-listchanges chokes on its DB (bsddb.db.DBRunRecoveryError)

in case of:

Traceback (most recent call last):
File “/usr/bin/apt-listchanges”, line 229, in ?
main()
File “/usr/bin/apt-listchanges”, line 150, in main
seen.close()
File “bsddb/__init__.py”, line 237, in close
bsddb.db.DBRunRecoveryError: (-30974, ‘DB_RUNRECOVERY: Fatal error, run database recovery – PANIC: fatal region error detected; run recovery’)

(similarly to the post below) something along the lines of:

cd /var/lib/apt
db4.6_dump listchanges.db | db4.3_load temp.db
mv temp.db listchanges.db

helps.

Next
Previous

Related