Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2007 14:20:46 -0400
From:      Gerard <gerard@seibercom.net>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: "portmanager -s" deletes ports?
Message-ID:  <20070523141618.3687.GERARD-SEIBERT@seibercom.net>
In-Reply-To: <20070523181943.1a97605c@gumby.homeunix.com.>
References:  <20070524002531.3cd65668@localhost> <20070523181943.1a97605c@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday May 23, 2007 at 01:19:43 (PM) RW wrote:


> > On Wed, 23 May 2007 09:53:39 +0200
> > Heinrich Rebehn <rebehn@ant.uni-bremen.de> wrote:
> > 
> > > This is weird! A program that is supposed to show the *status* of 
> > > installed ports should never arbitrarily *remove* ports. 
> > 
> > I agree that is not clear why it is removing ports without warning. 
> 
> Well, we don't actually know that.  I suspect that there was a warning,
> but it went to stdout and was eaten by "|grep OLD". Portmanger then
> waited for a y/n response for 5 minutes, and went with the default of
> deleting the port.


If "portmanager" is run with the '-l' flag, it will produce a log in the
'/var/log' directory called 'portmanager.log'. You can inspect that file
to see what transpired.

Occasionally, I always run portmanger like this:

    script ~/pm.log portmanager -u -l -p

That takes care of everything for me and I can backtrack to see where an
error occurred.

Good luck!

-- 
Gerard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070523141618.3687.GERARD-SEIBERT>