From owner-freebsd-questions@FreeBSD.ORG  Wed May 23 08:24:13 2007
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id BFB4616A421
	for <freebsd-questions@freebsd.org>;
	Wed, 23 May 2007 08:24:13 +0000 (UTC)
	(envelope-from rebehn@ant.uni-bremen.de)
Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de
	[134.102.176.16])
	by mx1.freebsd.org (Postfix) with ESMTP id 8383913C489
	for <freebsd-questions@freebsd.org>;
	Wed, 23 May 2007 08:24:13 +0000 (UTC)
	(envelope-from rebehn@ant.uni-bremen.de)
Received: from bremerhaven.ant.uni-bremen.de ([134.102.176.10])
	by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.67 (FreeBSD))
	(envelope-from <rebehn@ant.uni-bremen.de>)
	id 1HqlfA-000NlG-1v; Wed, 23 May 2007 09:53:40 +0200
Message-ID: <4653F303.2000302@ant.uni-bremen.de>
Date: Wed, 23 May 2007 09:53:39 +0200
From: Heinrich Rebehn <rebehn@ant.uni-bremen.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1
MIME-Version: 1.0
To: RW <fbsd06@mlists.homeunix.com>
References: <46529E35.7080401@ant.uni-bremen.de>
	<20070523031505.3071bc9b@gumby.homeunix.com.>
In-Reply-To: <20070523031505.3071bc9b@gumby.homeunix.com.>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-questions@freebsd.org
Subject: Re: "portmanager -s" deletes ports?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2007 08:24:13 -0000

RW wrote:
> On Tue, 22 May 2007 09:39:33 +0200
> Heinrich Rebehn <rebehn@ant.uni-bremen.de> wrote:
> 
>> Hi list,
>>
>> i use
>>
>> #  portmanager -s|grep OLD | sort -t: -k2
>>
>> occasionally to see which ports need upgrading. Ports tree is
>> cvsup'ed each night.
>>
>> I then noticed that almost *all* X11 manpages had been deleted. :-(
>>
>> The portmanager manpage reads:
>>
>>       o   -s or --status
>>            status of installed ports
>>
>> My Question: how is it possible that this command *deletes* any ports?
>> I am aware that there have been big changes to X11 recently, but 
>> nevertheless, something like this should not happen.
> 
> That port has been removed from the tree. Portmanger will prompt you to
> remove it and then do it automatically after a timeout. It's not really
> intended to be machine-readable output.

This is weird! A program that is supposed to show the *status* of 
installed ports should never arbitrarily *remove* ports. I consider this 
a severe bug. Luckily, this was on a server system where X11 is not 
crucial. I really don't want to imagine the hassle i would have had if 
portmanager had removed exim or apache or samba or ...
> 
> pkg_version -vl"<" will give you a list of out of date ports.

Thanks for this hint :-)

--Heinrich