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

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

 



(responding to Ed)

> > Question 1
> > (/var/cache/system-upgrade/updates/packages/
> That entire directory can be deleted.  It was used by fedup,
> the forerunner to "dnf system-upgrade". No longer used,
> no longer needed.
I did "rm -rf /var/cache/system-upgrade/updates/packages/".
-----
-bash.14[updates]: ls -la
total 7228
drwxr-xr-x.  3 root root    4096 Oct 26 18:00 .
drwxr-xr-x. 11 root root    4096 Sep 22  2015 ..
-rw-r--r--.  1 root root 1726292 Sep 21  2015 8fe24920c9958f0e7c0147b05039ad5d345fa922c4313813c7a4b71623f5f011-comps-f22.xml -rw-r--r--.  1 root root  638360 Sep 21  2015 a4a7e5784ab1405c06aa8668a3af795303278ed8f74ec54460d1880cd9132b9b-updateinfo.xml.xz -rw-r--r--.  1 root root  235812 Sep 21  2015 b009c099634ed9f762801dfede3b16d935cb181b250cd5ec406c70afcb3e61ea-comps-f22.xml.xz -rw-r--r--.  1 root root 4734108 Sep 21  2015 b1765739f3d71155142fbf1fb823dcacf5feded76f4250f553050c08985251c5-primary.sqlite.xz
-rw-r--r--.  1 root root       0 Sep 22  2015 cachecookie
drwxr-xr-x.  2 root root    4096 Sep 22  2015 gen
-rw-r--r--.  1 root root   14111 Sep 22  2015 metalink.xml
-rw-r--r--.  1 root root    4846 Sep 21  2015 repomd.xml
-bash.15[updates]:
-----
follow-up question: Can I safely delete "/var/cache/system-upgrade/updates/"?
-----
-bash.16[system-upgrade]: ls -la
total 41364
drwxr-xr-x. 11 root root     4096 Sep 22  2015 .
drwxr-xr-x. 25 root root     4096 Oct 16 10:42 ..
drwxr-xr-x.  4 root root     4096 Sep 22  2015 adobe-linux-x86_64
drwxr-xr-x.  4 root root     4096 Sep 22  2015 default-installrepo
drwxr-xr-x.  4 root root     4096 Sep 22  2015 fedora
drwx------.  2 root root     4096 Sep 22  2015 gpgdir
-rw-r--r--.  1 root root 42291200 May 21  2015 initramfs-fedup.img
drwxr-xr-x.  4 root root     4096 Sep 22  2015 rpmfusion-free
drwxr-xr-x.  4 root root     4096 Sep 22  2015 rpmfusion-free-updates
drwxr-xr-x.  4 root root     4096 Sep 22  2015 rpmfusion-nonfree
drwxr-xr-x.  4 root root     4096 Sep 22  2015 rpmfusion-nonfree-updates
-rw-r--r--.  1 root root        9 Sep 22  2015 state
-rw-r--r--.  1 root root     1209 Sep 22  2015 .treeinfo
-rw-r--r--.  1 root root     2078 May 22  2015 .treeinfo.signed
drwxr-xr-x.  3 root root     4096 Oct 26 18:00 updates
-bash.17[system-upgrade]:
-----
follow-up question: Can I safely delete "/var/cache/system-upgrade/"?

> > Question 2
> > (/var/log/ pre-2019 files)
> Old log files aren't used and can be discarded.
Tedious, but all pre-2019 files and sub-directories, except sub-directory "journal" are deleted.  That leaves 63 files and 20 sub-directories.

> > Question 3
> > (rkhunter logs)
> Yes.
All pre-2019 logs have been deleted.

> > Question 4
> > (automated deletion of logs)
> 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
It's gonna take me some time to figure this out.

General question:
I see no hint in the "rm" man page of an option for removing all files older than [d] days, or [w] weeks, or [m] months, or older than [date].  What's the best way to do such things from the command line?

thanks,
Bill.
_______________________________________________
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