> FTR, the `mv(1)` command works around this by simply recursively copying the 
> directory and removing the old one. Therefore, the workaround is as simple as 
> doing:
> 
> ```
> # cd /usr/lib/sysimage
> # cp -r rpm rpmold.1
> # rm -rf rpm
> # rpmdb --rebuilddb
> ```

these workaround steps make rpmdb --rebuilddb success, but the new db files in 
/usr/lib/sysimage/rpm are not correct, for example, `rpm -q glibc`  will return 
failed with "package glibc is not installed"



-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2355#issuecomment-1814260600
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2355/1814260...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to