On 16/11/2018 02.43, Yamaban wrote:
On Fri, 16 Nov 2018 02:06, Felix Miata wrote:
Yamaban composed on 2018-11-16 01:42 (UTC+0100):
Hint: as root or via sudo "rpmdb --rebuilddb" Please look at the manpage first, it's short. "man rpmdb" Also, that can take some time, plan for it to take hours, be happy if its done sooner.
Don't be surprised if much sooner. I don't think I've seen it take as long as 2 minutes since moving from 32bit to 64bit and EXT4.
On a clean database from a "fresh install" e.g. fresh Leap 15.0 and only updates since then, no upgrades / distro changes to e.g. 15.1 or Tumbleweed, then yes, it takes usually less than 10 minutes.
But in my experiance, long time used systems, e.g. "it stated as 10.0, and I've upgrades regulary since" and more often than not not "top-of-the-line" hardware (at least by todays standards), then, if corruption occurs, it will take longer, much longer.
Longest I've ever had was just shy of eleven hours: core2duo, rotating rust, 4GB Ram, upgraded since first install. No fun.
Possibly it is much faster on SSD? I have done the operation more than once, but not since some years. It was never that long, though. I do not want to try on my system, as it is working nicely, but it is a quad core2 of several years vintage with upgrades since ever ;-) I could do a backup of the databases, then run the repair just for fun. Dunno. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)