DB_RUNRECOVERY: Fatal error, run database recovery


mkdir /root/backups.rpm.mm_dd_yyyy/
cp -avr /var/lib/rpm/ /root/backups.rpm.mm_dd_yyyy/
Para resolver

# rm -f /var/lib/rpm/__db*
# db_verify /var/lib/rpm/Packages
# rpm --rebuilddb
# yum clean all
Teste:

# yum update

Você achou esse artigo útil?



  • Instaladndo o PGP

    Instalar no Ubuntu, Debian, Mint e Kalisudo apt install gnupgInstalar no CentOS, Fedora, RHELsudo yum install gnupg==Criar Private e Public Keysgpg --...

  • identificando arquivos pelo tamanho

    Neste comando poderemos identificar os arquivos maiores que 20M:find / -type f -size +20M -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $...

  • Desabilitar mensagens de snmpd ia_addr

    sed -i "s|-Lsd|-LS6d|" /lib/systemd/system/snmpd.servicesystemctl daemon-reloadservice snmpd restart  ...

  • Firewall - Habilitando o acesso ao servidor web

    setsebool httpd_can_network_connect on -P firewall-cmd --zone=public --add-service=http --permanent firewall-cmd --zone=public --add-service=https --p...

  • Instalar MySQL Debian Buster

    Step 1 – Prerequisites Login to your Debian 10 system using shell access. For remote systems connect with SSH. Windows users can use Putty or ot...