On Wed, 29 Jun 2022 21:31:51 +1000
"Michael D. Setzer II via users" <users(a)lists.fedoraproject.org> wrote:
Are files in /var/lib/dnf/yumdb of any use??
Dates of files and directories seem to all be June 20 2019
and seem to be for Fedora 29 and earlier.
Machine is currently running Fedora 35??
Is there a command to clean them correctly.
Are the just leftovers from pervious versions.
dnf autoremove didn't do anything.
You could run
rpm -qf /var/lib/dnf/[one of the files]
to see if it belongs to any currently installed package. There is a yum
package today, but it just installs a link to dnf. If you have
dnf-utils installed, you can run
package-cleanup orphans
to list packages that are no longer available from current
repositories. You could then just remove them. If you don't find any
packages that own those files, you could just remove them manually as
they are outside of package management.