Ask Your Question
1

Installing Alacarte on Fedora 26

asked 2017-08-07 10:43:14 -0500

mikeanthony128 gravatar image

When I try to install Alacarte on Fedora 26, this is the error that comes up. I have tried using yum instead and the exact same error appears. What have I done wrong? :)

[MYUSERNAME@UNKNOWN ~]$ sudo dnf install alacarte-3.11.91-6.fc26.noarch.rpm
error: rpmdb: BDB0113 Thread/process 2745/140037205853952 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
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2017-08-07 11:17:59 -0500

hhlp gravatar image

you can try this :

open a terminal and move the databases to a temp location:

sudo mv /var/lib/rpm/__db* /tmp
sudo rpm --rebuilddb
sudo dnf clean all

and try to install again.,

regards.,

edit flag offensive delete link more

Comments

1

The files /var/lib/rpm/__db* are the corrupted database files and the rpm --rebuilddb command is the recommended database recovery. The database might easily get corrupted if you stop a dnf command forcefully.

jmt gravatar imagejmt ( 2017-08-08 05:10:09 -0500 )edit
2

answered 2017-08-07 11:33:22 -0500

florian gravatar image

updated 2017-08-07 11:34:55 -0500

You should install alacarte directly from the repository (and not downloading some .rpm file manually).

sudo dnf install alacarte

(Do @hhlp's fix attempt first).

edit flag offensive delete link more

Comments

I tried that and the same thing happened

Thanks anyway though :)

mikeanthony128 gravatar imagemikeanthony128 ( 2017-08-07 12:01:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-08-07 10:43:14 -0500

Seen: 480 times

Last updated: Aug 07 '17