본문 바로가기

Develop/Linux

dnf update Berkeley DB library error

error: rpmdb: BDB0113 Thread/process 7238/140477050860864 failed: BDB1507 Thread died in Berkeley DB library

error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery

error: cannot open Packages index using db5 -  (-30973)

error: cannot open Packages database in /var/lib/rpm

Error: Error: rpmdb open failed


위와 같은 에러가 났다는건 dnf process 도중에 중단이 된 경우일 확률이 크다.

이럴때 정상적으로 돌려주기 위해서는 아래 명령어를 돌려주면된다.


]$ sudo rm /var/lib/rpm/__db*

'Develop > Linux' 카테고리의 다른 글

[Linux] setup zsh shell  (0) 2018.02.22
open port with firewall-cmd  (0) 2018.02.13
서버 시간 동기화  (0) 2018.01.18
패키지 관리자가 느려지는 경우  (0) 2018.01.10
[Linux] 현재 날짜 추출하기  (0) 2018.01.08