Re: too-nearly-full filesystem '/'. (was upgrade problem: space on '/' filesystem.)

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

 



On 10/27/19 2:49 AM, home user wrote:
Question 1:
/var/cache/system-upgrade/updates/packages/ takes up 1.6G and appears to be full of rpm's (1083 of them), each dated 2015 (various months).  I do not know the fine details of dnf and rpm.  Can I safely delete them, or might that break future patching and upgrading, and other dnf/rmp commands?

That entire directory can be deleted.  It was used by fedup, the forerunner to "dnf system-upgrade".
No longer used, no longer needed.


Question 2:
/var/log/ has 193 files that are not sub-directories, and are not stored in sub-directories.  134 are from prior years. Curious: all 134 are from 2016 or earlier; this directory has no files from 2017 or 2018.  The files called "messages-[date]" are huge: each over 10M.  Can I delete files older than this year safely, or are they needed for something?

Old log files aren't used and can be discarded.


Question 3:
/var/log/rkhunter/ has 184 files, most are from prior years.  Am I correct in assuming that I can delete the files from prior years?

Yes.


Question 4:
Is there already available some automated deletion of /var/log/ logs (and its sub-directories other than "journal")?

Yes.  You should see....

systemctl status logrotate.timer   as active (waiting)

The control over what is rotated is determined by entries in /etc/logrotate.d


Question 5:
Are there any other parts of the '/' filesystem that I should clean out and are worth the trouble?

Not as far as I'm concerned.

--
The key to getting good answers is to ask good questions.
_______________________________________________
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



[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