removing backed up packages
on freebsd portsupgrade makes copies of old apps, how do i remove the backups?
thanks |
You can use portsclean for that. portslcean -CDLP. That will clean out all the working directories of the ports tree, clean up distribution files that are no longer referenced by any packages, old libraries, outdated package tarballs, and dead symlinks.
|
I ran that it
cleaning out /usr/ports/*/*/work.. done. Detecting unreferenced distfiles.. Cleaning out /usr/ports/packages.. cd: can't cd to /usr/ports/packages/All find:/usr/ports/packages: no such file or directory **clean out /usr/local/lib/compat/pkg manuallu on occasions. try using libch(1) (sysutls/libchl) to find out unreferenced libaries so i am wonder if there deleted. df does not show more hardisk space |
# cd /usr/obj
# chflags -R noschg * # rm -rf * You should free up a few hundred megs right there. You can also delete all the distribution files in /usr/ports/distfiles if you don't intend on rebuilding your ports for a while. |
there are no files in /usr/obj and .tbz files are saved in for example /usr/port/lang/perl5.8/perl.5.8.8.tbz not in /usr/port/packages
|
All times are GMT -5. The time now is 09:26 AM. |