{"record":{"id":"8229cca0925772d0","repo":"hashicorp/vagrant","slug":"podman-can-not-be-installed","errorCode":null,"errorMessage":"Podman can not be installed","messagePattern":"Podman can not be installed","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugins/provisioners/podman/installer.rb","lineNumber":19,"sourceCode":"# Copyright IBM Corp. 2010, 2025\n# SPDX-License-Identifier: BUSL-1.1\n\nrequire_relative \"../container/installer\"\n\nmodule VagrantPlugins\n  module PodmanProvisioner\n    class Installer < VagrantPlugins::ContainerProvisioner::Installer\n      # This handles verifying the Podman installation, installing it if it was\n      # requested, and so on. This method will raise exceptions if things are\n      # wrong.\n      # @params [Boolean] - if true install should use kubic project (this will)\n      #                     add a yum repo.\n      #                     if false install comes from default yum\n      # @return [Boolean] - false if podman cannot be detected on machine, else\n      #                     true if podman installs correctly or is installed\n      def ensure_installed(kubic)\n        if !@machine.guest.capability?(:podman_installed)\n          @machine.ui.warn(\"Podman can not be installed\")\n          return false\n        end\n\n        if !@machine.guest.capability(:podman_installed)\n          @machine.ui.detail(\"Podman installing\")\n          @machine.guest.capability(:podman_install, kubic)\n        end\n\n        if !@machine.guest.capability(:podman_installed)\n          raise PodmanError, :install_failed\n        end\n\n        true\n      end\n    end\n  end\nend\n","sourceCodeStart":1,"sourceCodeEnd":37,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/plugins/provisioners/podman/installer.rb#L1-L37","documentation":"Error \"Podman can not be installed\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at plugins/provisioners/podman/installer.rb:19 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"}