"portmanager -s" deletes ports?

Heinrich Rebehn rebehn at ant.uni-bremen.de
Wed May 23 08:24:13 UTC 2007


RW wrote:
> On Tue, 22 May 2007 09:39:33 +0200
> Heinrich Rebehn <rebehn at 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


More information about the freebsd-questions mailing list