Yum rpmdb failed


(Ralf Jeckel) #1

NethServer Version: 7.4 beta 1
Module: yum

I installed 7.4beta1 in an VM on Proxmox. Updated the base installation and then installed some modules (Firewall, Webfilter, NDPI, Suricata, Evebox, Proxy, Samba, NSDC, SOGo, email, Backup, Ntopng, CGP, MySQL, OpenVPN, Webserver).
When I go to softwarecenter I got this:

I can’t install any module or see which were installed allready.
Clicking on the button didn’t help. Also a yum clean all didn’t help.

so I did:

rm -f /var/lib/rpm/__db*
rpm --rebuilddb
yum clean all

Now yum works again correctly.
Don’t know if this is related to V7.4b1. Just wanted to report it, because we’re in beta-state.

Cheers Ralf

The install/update may have failed due to metadata caching problem
New problem with production server re; missing module / backups
NethServer 7.4.1708 beta 1 released
Nethserver-subscription not working on expired nethserver enterprise
Update problems
(Markus Neuberger) #2

Hi @flatspin,

I had the same issue, installed some packages after fresh install of the new 7.4 beta 1:

Another screenshot of the error:

I just clicked on Applications, then on Software Center again and it worked without rebuilding rpm db. I remember, I also had this error from time to time with NethServer 7.3.1611 but I ignored it because it was a heavy tested system and Software Center worked anyway.

(Giacomo Sanchietti) #3

I will try to reproduce it.

(Bill ) #4

This worked for me too.

rm -f /var/lib/rpm/__db*
rpm --rebuilddb
yum clean all

Problems withe Only Office Documentserver, cant create Documents in Nextcloud
(Michael Träumner) #5

I know it’s an old post, but I had same problems with the final 7.4.1708.

rebuild the db works too.

(Davide Principi) #6

Do you have a local AD accounts provider?

BTW this is the full, official procedure


(Ralf Jeckel) #7

Hi Davide,

this post is more than 6 month old and was about NS 7.4 beta 1.
Thanks for the official procedure. Good to know.
I had NSDC with local AD installed that time.
But maybe you were asking @m.traeumner ?

(Michael Träumner) #8

Yes I have a local AD.

(David) #9

same problem with local AD