anchor.diff:      end.
   
   set_resolved(State, Release0, Pkgs) ->
  -
       case rlx_release:realize(Release0, Pkgs, rlx_state:available_apps(State)) of
           {ok, Release1} ->
               ec_cmd_log:info(rlx_state:log(State),
  
positive.code:                              fun() ->
                                       rlx_release:format(0, Release1)
                               end),
              {ok, rlx_state:add_realized_release(State, Release1)};
          {error, E} ->
              ?RLX_ERROR({release_error, E})
      end.
  
negative.code:     io_lib:format("No releases exist in the system for ~p:~s!", [RelName, RelVsn]);
  format_error({failed_solve, Error}) ->
      io_lib:format("Failed to solve release:\n ~s",
                    [rlx_depsolver:format_error({error, Error})]);
  format_error({release_error, Error}) ->
      io_lib:format("Failed to resolve release:\n ~p~n", [Error]).
  
  
  %%%===================================================================
  %%% Internal Functions
  