I’ve discovered a weird dnf behaviour in OpenMandriva Rolling lately. If I re-install a package via ‘dnf reinstall’ it then shows (rpm -qa) twice. I was unable to clear that ghost entry neither with ‘rpm -e --justdb’, nor by rebuilding the RPM database entirely.
Looks like reinstalling packages is something one should avoid doing in OMV…
I have not noticed that, but a person would need to be very thorough about checking to catch that. Just did a quick test in a ROME (rolling) system.
There is no double entry for
I am asking developers at OpenMandriva Chat if there is a command to find and list duplicate packages on an installed system. @Zeffanyx you are welcome to ask them questions there if you wish.
@Zeffanyx I found this:
$ sudo package-cleanup --dupes [sudo] password for ben79: Last metadata expiration check: 3:37:58 ago on Mon 20 Mar 2023 10:27:21 AM CDT.
Edit: It would be helpful to use that command first to list the duplicates to see if this is result of same package version installed for different arches somehow. Or to track and see if there is a packaging error somewhere.
$ sudo package-cleanup --cleandupes Last metadata expiration check: 3:39:53 ago on Mon 20 Mar 2023 10:27:21 AM CDT. Error: No duplicated packages found for removal.
Found that here.
Edit: For more info on
package-cleanup command see this man page.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.