"portmaster -a" command fails - *** Error code 1

Arthur Chance freebsd at qeng-ho.org
Fri Mar 4 17:18:26 UTC 2011


On 03/04/11 17:00, Ed Flecko wrote:
> Thanks gentlemen; I was not running portmaster as root.
>
> When I re-run portmaster -a as root, I get the following:
>
> ===>>>  Starting check for runtime dependencies
> ===>>>  Gathering dependency list for devel/automake from ports
> ===>>>  Dependency check complete for devel/automake
>          en-freebsd-doc-20100625>>  textproc/docproj-nojadetex>>
> graphics/netpbm>>  graphics/jasper>>  graphics/libglut>>
> x11-toolkits/libXmu>>  x11-toolkits/libXt>>  x11/libSM>>
> devel/automake
> ===>   Installing for automake-1.11.1
> ===>    Generating temporary packing list
> ===>   Checking if devel/automake already installed
> ===>    automake-1.11.1 is already installed
>        You may wish to ``make deinstall'' and install this port again
>        by ``make reinstall'' to upgrade it properly.
>        If you really wish to overwrite the old port of devel/automake
>        without deleting it first, set the variable "FORCE_PKG_REGISTER"
>        in your environment or the "make install" command line.
> *** Error code 1
>
> Stop in /usr/ports/devel/automake.
>
>
>
>
> Suggestions?

Do what it says?

make -C /usr/ports/devel/automake deinstall reinstall

or maybe (note the lack of "-a" here)

env FORCE_PKG_REGISTER=yes portmaster devel/automake

and then try portmaster -a again.



More information about the freebsd-questions mailing list