Problem:
Unable to locate package
Expected outcome:
install foreman
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Hi folks, trying to install foreman on debian 11 and get errors :
> root@foreman:~# foreman-installer
> 2023-01-27 02:43:11 [NOTICE] [root] Loading installer configuration. This will take some time.
> 2023-01-27 02:43:16 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
> 2023-01-27 02:43:16 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
> 2023-01-27 02:43:18 [NOTICE] [configure] Starting system configuration.
> 2023-01-27 02:43:30 [NOTICE] [configure] 250 configuration steps out of 1734 steps complete.
> 2023-01-27 02:43:30 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppetserver' returned 100: Reading package lists...
> 2023-01-27 02:43:30 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:30 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:30 [ERROR ] [configure] E: Unable to locate package puppetserver
> 2023-01-27 02:43:30 [ERROR ] [configure] /Stage[main]/Puppet::Server::Install/Package[puppetserver]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppetserver' returned 100: Reading package lists...
> 2023-01-27 02:43:30 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:30 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:30 [ERROR ] [configure] E: Unable to locate package puppetserver
> 2023-01-27 02:43:30 [ERROR ] [configure] Cannot create /etc/salt/master.d; parent directory /etc/salt does not exist
> 2023-01-27 02:43:30 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Plugin::Salt/File[/etc/salt/master.d]/ensure: change from 'absent' to 'directory' failed: Cannot create /etc/salt/master.d; parent directory /etc/salt does not exist
> 2023-01-27 02:43:30 [NOTICE] [configure] 500 configuration steps out of 1736 steps complete.
> 2023-01-27 02:43:31 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-hammer-cli-foreman-azure-rm' returned 100: Reading package lists...
> 2023-01-27 02:43:31 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:31 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:31 [ERROR ] [configure] E: Unable to locate package ruby-hammer-cli-foreman-azure-rm
> 2023-01-27 02:43:31 [ERROR ] [configure] /Stage[main]/Foreman::Cli::Azure/Foreman::Cli::Plugin[foreman_azure_rm]/Package[ruby-hammer-cli-foreman-azure-rm]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-hammer-cli-foreman-azure-rm' returned 100: Reading package lists...
> 2023-01-27 02:43:31 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:31 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:31 [ERROR ] [configure] E: Unable to locate package ruby-hammer-cli-foreman-azure-rm
> 2023-01-27 02:43:31 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-hammer-cli-foreman-kubevirt' returned 100: Reading package lists...
> 2023-01-27 02:43:31 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:31 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:31 [ERROR ] [configure] E: Unable to locate package ruby-hammer-cli-foreman-kubevirt
> 2023-01-27 02:43:31 [ERROR ] [configure] /Stage[main]/Foreman::Cli::Kubevirt/Foreman::Cli::Plugin[foreman_kubevirt]/Package[ruby-hammer-cli-foreman-kubevirt]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-hammer-cli-foreman-kubevirt' returned 100: Reading package lists...
> 2023-01-27 02:43:31 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:31 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:31 [ERROR ] [configure] E: Unable to locate package ruby-hammer-cli-foreman-kubevirt
> 2023-01-27 02:43:32 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-hammer-cli-foreman-openscap' returned 100: Reading package lists...
> 2023-01-27 02:43:32 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:32 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:32 [ERROR ] [configure] E: Unable to locate package ruby-hammer-cli-foreman-openscap
> 2023-01-27 02:43:32 [ERROR ] [configure] /Stage[main]/Foreman::Cli::Openscap/Foreman::Cli::Plugin[foreman_openscap]/Package[ruby-hammer-cli-foreman-openscap]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-hammer-cli-foreman-openscap' returned 100: Reading package lists...
> 2023-01-27 02:43:32 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:32 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:32 [ERROR ] [configure] E: Unable to locate package ruby-hammer-cli-foreman-openscap
> 2023-01-27 02:43:32 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-acd' returned 100: Reading package lists...
> 2023-01-27 02:43:32 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:32 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:32 [ERROR ] [configure] E: Unable to locate package ruby-foreman-acd
> 2023-01-27 02:43:32 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Acd/Foreman::Plugin[acd]/Package[ruby-foreman-acd]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-acd' returned 100: Reading package lists...
> 2023-01-27 02:43:32 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:32 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:32 [ERROR ] [configure] E: Unable to locate package ruby-foreman-acd
> 2023-01-27 02:43:32 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-dlm' returned 100: Reading package lists...
> 2023-01-27 02:43:32 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:32 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:32 [ERROR ] [configure] E: Unable to locate package ruby-foreman-dlm
> 2023-01-27 02:43:32 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Dlm/Foreman::Plugin[dlm]/Package[ruby-foreman-dlm]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-dlm' returned 100: Reading package lists...
> 2023-01-27 02:43:32 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:32 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:32 [ERROR ] [configure] E: Unable to locate package ruby-foreman-dlm
> 2023-01-27 02:43:32 [NOTICE] [configure] 750 configuration steps out of 1739 steps complete.
> 2023-01-27 02:43:33 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-git-templates' returned 100: Reading package lists...
> 2023-01-27 02:43:33 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:33 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:33 [ERROR ] [configure] E: Unable to locate package ruby-foreman-git-templates
> 2023-01-27 02:43:33 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Git_templates/Foreman::Plugin[git_templates]/Package[ruby-foreman-git-templates]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-git-templates' returned 100: Reading package lists...
> 2023-01-27 02:43:33 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:33 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:33 [ERROR ] [configure] E: Unable to locate package ruby-foreman-git-templates
> 2023-01-27 02:43:33 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-host-extra-validator' returned 100: Reading package lists...
> 2023-01-27 02:43:33 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:33 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:33 [ERROR ] [configure] E: Unable to locate package ruby-foreman-host-extra-validator
> 2023-01-27 02:43:33 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Host_extra_validator/Foreman::Plugin[host_extra_validator]/Package[ruby-foreman-host-extra-validator]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-host-extra-validator' returned 100: Reading package lists...
> 2023-01-27 02:43:33 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:33 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:33 [ERROR ] [configure] E: Unable to locate package ruby-foreman-host-extra-validator
> 2023-01-27 02:43:33 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-kubevirt' returned 100: Reading package lists...
> 2023-01-27 02:43:33 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:33 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:33 [ERROR ] [configure] E: Unable to locate package ruby-foreman-kubevirt
> 2023-01-27 02:43:33 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Kubevirt/Foreman::Plugin[kubevirt]/Package[ruby-foreman-kubevirt]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-kubevirt' returned 100: Reading package lists...
> 2023-01-27 02:43:33 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:33 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:33 [ERROR ] [configure] E: Unable to locate package ruby-foreman-kubevirt
> 2023-01-27 02:43:34 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-leapp' returned 100: Reading package lists...
> 2023-01-27 02:43:34 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:34 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:34 [ERROR ] [configure] E: Unable to locate package ruby-foreman-leapp
> 2023-01-27 02:43:34 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Leapp/Foreman::Plugin[leapp]/Package[ruby-foreman-leapp]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-leapp' returned 100: Reading package lists...
> 2023-01-27 02:43:34 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:34 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:34 [ERROR ] [configure] E: Unable to locate package ruby-foreman-leapp
> 2023-01-27 02:43:34 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-openscap' returned 100: Reading package lists...
> 2023-01-27 02:43:34 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:34 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:34 [ERROR ] [configure] E: Unable to locate package ruby-foreman-openscap
> 2023-01-27 02:43:34 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Openscap/Foreman::Plugin[openscap]/Package[ruby-foreman-openscap]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-openscap' returned 100: Reading package lists...
> 2023-01-27 02:43:34 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:34 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:34 [ERROR ] [configure] E: Unable to locate package ruby-foreman-openscap
> 2023-01-27 02:43:35 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-ovirt-provision-plugin' returned 100: Reading package lists...
> 2023-01-27 02:43:35 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:35 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:35 [ERROR ] [configure] E: Unable to locate package ruby-ovirt-provision-plugin
> 2023-01-27 02:43:35 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Ovirt_provision/Foreman::Plugin[ovirt_provision]/Package[ruby-ovirt-provision-plugin]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-ovirt-provision-plugin' returned 100: Reading package lists...
> 2023-01-27 02:43:35 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:35 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:35 [ERROR ] [configure] E: Unable to locate package ruby-ovirt-provision-plugin
> 2023-01-27 02:43:35 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-remote-execution-cockpit' returned 100: Reading package lists...
> 2023-01-27 02:43:35 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:35 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:35 [ERROR ] [configure] E: Unable to locate package ruby-foreman-remote-execution-cockpit
> 2023-01-27 02:43:35 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Remote_execution::Cockpit/Foreman::Plugin[remote_execution-cockpit]/Package[ruby-foreman-remote-execution-cockpit]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-remote-execution-cockpit' returned 100: Reading package lists...
> 2023-01-27 02:43:35 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:35 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:35 [ERROR ] [configure] E: Unable to locate package ruby-foreman-remote-execution-cockpit
> 2023-01-27 02:43:35 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-snapshot-management' returned 100: Reading package lists...
> 2023-01-27 02:43:35 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:35 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:35 [ERROR ] [configure] E: Unable to locate package ruby-foreman-snapshot-management
> 2023-01-27 02:43:35 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Snapshot_management/Foreman::Plugin[snapshot_management]/Package[ruby-foreman-snapshot-management]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-snapshot-management' returned 100: Reading package lists...
> 2023-01-27 02:43:35 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:35 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:35 [ERROR ] [configure] E: Unable to locate package ruby-foreman-snapshot-management
> 2023-01-27 02:43:36 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-vault' returned 100: Reading package lists...
> 2023-01-27 02:43:36 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:36 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:36 [ERROR ] [configure] E: Unable to locate package ruby-foreman-vault
> 2023-01-27 02:43:36 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Vault/Foreman::Plugin[vault]/Package[ruby-foreman-vault]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-vault' returned 100: Reading package lists...
> 2023-01-27 02:43:36 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:36 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:36 [ERROR ] [configure] E: Unable to locate package ruby-foreman-vault
> 2023-01-27 02:43:36 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-wreckingball' returned 100: Reading package lists...
> 2023-01-27 02:43:36 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:36 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:36 [ERROR ] [configure] E: Unable to locate package ruby-foreman-wreckingball
> 2023-01-27 02:43:36 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Wreckingball/Foreman::Plugin[wreckingball]/Package[ruby-foreman-wreckingball]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ruby-foreman-wreckingball' returned 100: Reading package lists...
> 2023-01-27 02:43:36 [ERROR ] [configure] Building dependency tree...
> 2023-01-27 02:43:36 [ERROR ] [configure] Reading state information...
> 2023-01-27 02:43:36 [ERROR ] [configure] E: Unable to locate package ruby-foreman-wreckingball
> 2023-01-27 02:43:36 [NOTICE] [configure] 1000 configuration steps out of 1867 steps complete.
> 2023-01-27 02:43:54 [NOTICE] [configure] 1250 configuration steps out of 1891 steps complete.
> 2023-01-27 02:43:54 [NOTICE] [configure] 1500 configuration steps out of 1891 steps complete.
> 2023-01-27 02:43:55 [NOTICE] [configure] 1750 configuration steps out of 1891 steps complete.
> 2023-01-27 02:43:59 [NOTICE] [configure] System configuration has finished.
>
> There were errors detected during install.
> Please address the errors and re-run the installer to ensure the system is properly configured.
> Failing to do so is likely to result in broken functionality.
>
> The full log is at /var/log/foreman-installer/foreman.log
Anyone suggest fix?