RE: Cleaning Out Ports?

2005-02-07 Thread Matt LaPlante
That's correct; this type of functionality is exactly what I was searching for. -Original Message- From: Loren M. Lang [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 6:50 AM To: Michael C. Shultz Cc: freebsd-questions@freebsd.org; Matt LaPlante Subject: Re: Cleaning Out

Re: Cleaning Out Ports?

2005-02-01 Thread Christopher Illies
On Mon, Jan 31, 2005 at 08:32:41PM -0500, Matt LaPlante wrote: I know the ports system is designed to install dependencies automatically, but how does one go about removing them? Say one large package installs several dependencies, but then later on that package is removed...and now we're

Re: Cleaning Out Ports?

2005-02-01 Thread Dick Hoogendijk
On 31 Jan Michael C. Shultz wrote: If sysutils/pkg_cutleaves isn't right, please provide good detail why. What's the benefir over using portsclean -D or portsclean -CDPP Works like a charm. (see man portsclean). -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11

Re: Cleaning Out Ports?

2005-02-01 Thread Michael C. Shultz
On Tuesday 01 February 2005 01:31 am, Dick Hoogendijk wrote: On 31 Jan Michael C. Shultz wrote: If sysutils/pkg_cutleaves isn't right, please provide good detail why. What's the benefir over using portsclean -D or portsclean -CDPP Works like a charm. (see man portsclean). Portsclean has

Re: Cleaning Out Ports?

2005-02-01 Thread Loren M. Lang
Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want

Re: Cleaning Out Ports?

2005-02-01 Thread David J. Weller-Fahy
* David J. Weller-Fahy [EMAIL PROTECTED] [2005-02-01 08:24 +0100]: * Matt LaPlante [EMAIL PROTECTED] [2005-02-01 02:36 +0100]: Attached is my script, and my conf file. Unfortunately, my script got stripped. Here's the script with a txt extension. Regards, -- dave [ please don't CC me ]

Re: Cleaning Out Ports?

2005-02-01 Thread RW
On Tuesday 01 February 2005 08:04, Christopher Illies wrote: Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that detects and removes orphaned dependencies. Just bear in mind that some of the leaves will be required for building other ports. Whilst they can be safely removed,

Re: Cleaning Out Ports?

2005-01-31 Thread Pat Maddox
If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to

RE: Cleaning Out Ports?

2005-01-31 Thread Matt LaPlante
, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any

Re: Cleaning Out Ports?

2005-01-31 Thread Pat Maddox
: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use

Re: Cleaning Out Ports?

2005-01-31 Thread Michael C. Shultz
] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let

Re: Cleaning Out Ports?

2005-01-31 Thread Nathan Wheeler
: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any

RE: Cleaning Out Ports?

2005-01-31 Thread Matt LaPlante
This looks like what I'm after, thank you! -Original Message- From: Michael C. Shultz [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 9:23 PM To: freebsd-questions@freebsd.org Cc: Matt LaPlante Subject: Re: Cleaning Out Ports? On Monday 31 January 2005 06:16 pm, Matt

Re: Cleaning Out Ports?

2005-01-31 Thread Michael C. Shultz
On Monday 31 January 2005 06:35 pm, Matt LaPlante wrote: This looks like what I'm after, thank you! After you try it, if sysutils/pkg_cutleaves doesn't meet your requirements please let me know. I can add exactly what you asked for to sysutils/portmanager. I don't want to add features that