Tidy up removed_{packages,scripts,uninstall_scripts} directories?
by jayjwa from LinuxQuestions.org on (#6QWWK)
I've been using Current for...a long time. As such, the growth in /var/log/pkgtools is quite voluminous. Consider:
Code:jayjwa@atr2 /v/l/pkgtools> du -h remov*
895M removed_packages
193M removed_scripts
32K removed_uninstall_scripts
jayjwa@atr2 /v/l/pkgtools> ls -l removed_packages/mozilla-thunder* | wc -l
107
jayjwa@atr2 /v/l/pkgtools> pwd
/var/log/pkgtoolsThat's almost a gig for removed stuff, with 107 lines for Thunderbird alone. Firefox has 105. I can't see all this being needed, and it's taking up alot of space. There's even an entry for Thunderbird from 2018. There's nothing in the manpage for removepkg about thinning these directories.
What is the proper course of action in this situation? The kudzu needs trimming.
Code:jayjwa@atr2 /v/l/pkgtools> du -h remov*
895M removed_packages
193M removed_scripts
32K removed_uninstall_scripts
jayjwa@atr2 /v/l/pkgtools> ls -l removed_packages/mozilla-thunder* | wc -l
107
jayjwa@atr2 /v/l/pkgtools> pwd
/var/log/pkgtoolsThat's almost a gig for removed stuff, with 107 lines for Thunderbird alone. Firefox has 105. I can't see all this being needed, and it's taking up alot of space. There's even an entry for Thunderbird from 2018. There's nothing in the manpage for removepkg about thinning these directories.
What is the proper course of action in this situation? The kudzu needs trimming.