LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-10-2006, 08:01 AM   #1
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
removing backed up packages


on freebsd portsupgrade makes copies of old apps, how do i remove the backups?
thanks
 
Old 05-10-2006, 08:49 AM   #2
gbell72
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: FreeBSD
Posts: 78

Rep: Reputation: 15
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.
 
Old 05-10-2006, 10:38 AM   #3
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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
 
Old 05-10-2006, 10:47 AM   #4
gbell72
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: FreeBSD
Posts: 78

Rep: Reputation: 15
# 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.
 
Old 05-10-2006, 10:54 AM   #5
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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

Last edited by geletine; 05-10-2006 at 03:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing unused packages objorkum Debian 2 04-05-2005 08:32 PM
removing certain packages Smokey Red Hat 1 10-02-2004 07:55 PM
Removing multiple packages tipaul Slackware 8 08-21-2004 09:45 AM
removing packages robson8112 Linux - General 3 01-21-2004 03:34 PM
removing packages..??? mhd_Ahmed Linux - Newbie 4 08-22-2003 12:46 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration