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