Re: dnf and yum caches

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

 



On 04/12/2016 02:50 PM, Rick Stevens wrote:
"dnf (or yum) clean all" only clean for the CURRENT fedora. Your "du -s"
commands are from /var/cache, and since you didn't specify walking
down the tree (e.g. "du -hs *"), we don't know which directories under
dnf and yum are sucking up the space.

Since further down in your post you say the machine has gone from F19
through F22, you probably have a lot of cruft left over from those
previous Fedoras. I'd recommend you do:

     dnf clean all --releasever=19 --enablerepo=\*
     dnf clean all --releasever=20 --enablerepo=\*
     dnf clean all --releasever=21 --enablerepo=\*

This won't work as expected.  Dnf won't clean the yum directories, so
just delete /var/cache/yum. The dnf cache isn't as nicely arranged, but the above commands will work. That will remove all the files, but the directories will still be there. You could also just delete /var/cache/dnf and dnf will re-create the directories and continue on.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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