Re: Cleaning /var/lib/dnf/yumdb

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

 



On Jun 29, 2022, at 18:46, Michael D. Setzer II via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

It is installed on all 4 machines, but 3 don't have the
yumdb directory??

The RPM spec file for dnf shows that it does own the yumdb directory in the dnf package, but it has the %ghost attribute, which means that it doesn’t actually include the actual files in the package.  

https://src.fedoraproject.org/rpms/dnf/blob/f36/f/dnf.spec#_300

This is done to make the RPM database know that it’s technically part of the package, but not to actually include any files in the package distribution.  Usually this is because they’re user generated and ephemeral, like what is happening here.

I suspect this is left over from some Fedora system upgrade and no longer used. I don’t have a device handy to look at the source to see why the %ghost attribute was added, but I suspect you can just delete it and it’ll operate fine.  At least make a tarball of it and try removing it to see if it is ok without it.

-- 
Jonathan Billings
_______________________________________________
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