On 03-15-2024 01:53AM, Andrei Borzenkov wrote:
On Fri, Mar 15, 2024 at 3:17 AM -pj <pj.opensuse@gmx.com> wrote: ...
Is there a way to test the rpm database for integrity before attempting to rebuild it with rpm --rebuilddb ?
There is
rpm --verifydb
... I was looking for something like that thanks.
How does the OS interlink these directories between each other -> /usr/lib/sysimage/rpm *to* var/lib/rpm <- they have identical contents? Why are both these directories needed?
For compatibility reasons. You cannot change every document and page on the Internet to refer to the new location.
... Ok, that makes more sense to me now. I started thinking maybe 'bashrc' or something...
Can you rebuild all currently installed rpms themselves with "rebuildrpm" somehow?
Why? What is your goal?
I was thinking in order to correct any corrupted rpm's. Now I see more because of 'rpm --verify --all'.
But anyway, you can always script it using your language of choice (shell, Python, whatever).
Ok very good. I am not an advanced user but this gives me more hope.
How to verify all currently installed rpms on the system?
rpm --verify --all
Very good to know this. I ran '# rpm --verify --all' and the output I cannot fully understand. The results are here: -> https://paste.opensuse.org/pastes/3539092f68cd Can you explain or point me to how I can understand the characters meanings; on the left side of the output? I understand I can search around for more info.
assuming we use "verify" to mean the same thing.
Yes I think you assumed correct on this.🙂
Where can the modification times of the current installed RPM's in openSUSE be viewed?
What is "the modification times of the current installed RPM's"?
Information about when the rpm for the package was last changed. When 'zypper dup' is passed, is there a way to view the changesd rpm's associated to the currently updated and installed rpms? Maybe a spec file or something? I understand I should do more reading on this also. Do the rpm's change when a 'zypper dup' is performed? How can one display the entire list of the installed rpm's on openSUSE? I know about 'zypper se rpm*'. Ok thanks for your help.