How to override "active configuration" when the theme is installing? I have a theme that imports configuration when is installed. The problem is when the configuration is already there and is active.


  Unable to install MYTHEME, field.field.user.user.user_picture,
  field.storage.node.body, field.storage.node.field_image,
  field.storage.user.user_picture, node.type.article,
  views.view.frontpage already exist in active configuration.


I know these errors are because the configuration is already on the site. 

How can I override the configuration with a new configuration that is carried from my theme?
You cannot. You can provide only configuration for your module or create new configuration entities. You can "override" the default configuration only by profile, not module or theme.

But you can use hook_install to programmatically override whatever you want.

When it comes to themes, the only configuration that you should provide is block instances and your theme's settings. Of course if you have some advanced blocks you can also provide block types and field storage and instances for them.