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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org