{"record":{"id":"b8f3f857402adac1","repo":"hashicorp/vagrant","slug":"the-plugin-you-re-attempting-to-uninstall-name","errorCode":null,"errorMessage":"The plugin you're attempting to uninstall ('%{name}') is a\nsystem plugin. This means that the plugin is part of the installation\nof Vagrant. These plugins cannot be removed.\n\nYou can however, install a plugin with the same name to replace\nthese plugins. User-installed plugins take priority over\nsystem-installed plugins.","messagePattern":"The plugin you're attempting to uninstall \\('%(.+?)'\\) is a\nsystem plugin\\. This means that the plugin is part of the installation\nof Vagrant\\. These plugins cannot be removed\\.\n\nYou can however, install a plugin with the same name to replace\nthese plugins\\. User-installed plugins take priority over\nsystem-installed plugins\\.","errorType":"exception","errorClass":"Vagrant::Errors::PluginUninstallSystem","httpStatus":null,"severity":"error","filePath":"lib/vagrant/plugin/manager.rb","lineNumber":213,"sourceCode":"            raise Errors::BundlerError, message: err.message\n          end\n          raise Errors::PluginMissingLibrary,\n            library: lib.captures.first,\n            name: name\n        when /find header files for ruby/\n          raise Errors::PluginMissingRubyDev\n        else\n          raise Errors::BundlerError, message: err.message\n        end\n      end\n\n      # Uninstalls the plugin with the given name.\n      #\n      # @param [String] name\n      def uninstall_plugin(name, **opts)\n        if @system_file\n          if !@user_file.has_plugin?(name) && @system_file.has_plugin?(name)\n            raise Errors::PluginUninstallSystem,\n              name: name\n          end\n        end\n\n        if opts[:env_local] && @local_file.nil?\n          raise Errors::PluginNoLocalError\n        end\n\n        plugin_file = opts[:env_local] ? @local_file : @user_file\n\n        if !plugin_file.has_plugin?(name)\n          raise Errors::PluginNotInstalled,\n            name: name\n        end\n\n        plugin_file.remove_plugin(name)\n\n        # Clean the environment, removing any old plugins","sourceCodeStart":195,"sourceCodeEnd":231,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/lib/vagrant/plugin/manager.rb#L195-L231","documentation":"Error \"The plugin you're attempting to uninstall ('%{name}') is a\nsystem plugin. This means that the plugin is part of the installation\nof Vagrant. These plugins cannot be removed.\n\nYou can however, install a plugin with the same name to replace\nthese plugins. User-installed plugins take priority over\nsystem-installed plugins.\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at lib/vagrant/plugin/manager.rb:213 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5","analyzedAt":"2026-08-21T13:34:32.514Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}