Re: /var/cache/dnf

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

 




On 3/6/25 3:36 PM, Felix Miata wrote:
Charlie Dennett composed on 2025-03-06 15:19 (UTC-0500):

On Thu, Mar 6, 2025 at 2:56 PM Felix Miata wrote:

I have multiple F41 installations system-upgraded from F40, upgraded from F39,
etc., and a few of F42 from F41. Now with DNF5 operational, is there any reason in
F41+ for /var/cache/dnf/ to continue to exist? It has multiple files of
considerable size.

I would think you could get rid of them but until you get a more definitive
answer, you can clean them out with:

sudo dnf4 clean all

That should clean out all the old dnf4 cruft.
That left 10.0MiB in packages.db, and no more than around 100k other. Nice
improvement. :)

It also looks like there may be both dnf4 and dnf5 files in /var/lib/dnf.
It would be interesting to know if any of those can be deleted.  Plus there
are log files for both dnf versions in /var/log.

I think, some time back, that I tried renaming /var/cache/dnf to something like /var/cache/dnf.save (for example) and it didn't impact anything at all. I still see /var/cache/dnf but it's empty.

All my systems are running the latest everything (updated automatically twice a day, including checking everything with rpm --verify), kernel is 6.13.5-200.fc41.x86_64.

-- Mark


--
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue



[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