portmaster wants to reinstall OpenOffice

Doug Barton dougb at FreeBSD.org
Mon Mar 31 05:34:46 PDT 2008

Dominic Fandrey wrote:
> Doug Barton wrote:
>> Dominic Fandrey wrote:
>>> Yesterday I updated OpenOffice and now whenever I run portmaster -Da 
>>> it reinstalls it for no reason I can see.
>> Well it doesn't decide to do things for no reason. :) Somehow it 
>> believes that there is a newer version. What does 'portmaster -L' say? 
>> (Just the part about openoffice)
>> Doug
> Apparently my /var/db/pkg had broken entries after I created a couple of 
> packages. Languages that were no longer installed, were still registered.

Yeah, that'd do it. You might try looking at the output of 'portmaster 
-l' and pick a leaf port that you know you want to delete, and use the 
expunge option (portmaster -e). This will run the -s option to delete 
anything else that it can detect is stale for you. Take a look at the 
man page for more information.

Good luck,



     This .signature sanitized for your protection

More information about the freebsd-ports mailing list