Re: Cleaning /var/lib/dnf/yumdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Jun 2022 21:31:51 +1000
"Michael D. Setzer II via users" <users@xxxxxxxxxxxxxxxxxxxxxxx> 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.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux