Hi
Problem:
I’m a new user to foreman (and salt for that matter) and trying to setup foreman to work with salt. So far I have foreman installed but when I go to install the plugin, I get the error below:
The following packages have unmet dependencies:
ruby-foreman-salt : Depends: ruby-foreman-tasks (< 1.0.0) but 1.0.1-1 is to be installed
E: Unable to correct problems, you have held broken packages.
Expected outcome:
For the installation to complete successfully
Foreman and Proxy versions:
Version 2.0.0
Foreman and Proxy plugin versions:
Foreman Tasks: 1.0.1
Distribution and version:
Ubuntu 18.04.4
Other relevant data:
Following instructions from Foreman :: Plugin Manuals
Ran the command:
foreman-installer --enable-foreman-plugin-salt --enable-foreman-proxy-plugin-salt
I believe this is a relevant part of the logs. Please let me know if you need any other information.
[ERROR 2020-04-16T10:58:24 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute'
[ERROR 2020-04-16T10:58:24 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
[ERROR 2020-04-16T10:58:24 main] /Stage[main]/Foreman::Plugin::Salt/Foreman::Plugin[salt]/Package[ruby-foreman-salt]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confo
ld install ruby-foreman-salt' returned 100: Reading package lists...
[ERROR 2020-04-16T10:58:24 main] Building dependency tree...
[ERROR 2020-04-16T10:58:24 main] Reading state information...
[ERROR 2020-04-16T10:58:24 main] Some packages could not be installed. This may mean that you have
[ERROR 2020-04-16T10:58:24 main] requested an impossible situation or if you are using the unstable
[ERROR 2020-04-16T10:58:24 main] distribution that some required packages have not yet been created
[ERROR 2020-04-16T10:58:24 main] or been moved out of Incoming.
[ERROR 2020-04-16T10:58:24 main] The following information may help to resolve the situation:
[ERROR 2020-04-16T10:58:24 main]
[ERROR 2020-04-16T10:58:24 main] The following packages have unmet dependencies:
[ERROR 2020-04-16T10:58:24 main] ruby-foreman-salt : Depends: ruby-foreman-tasks (< 1.0.0) but 1.0.1-1 is to be installed
[ERROR 2020-04-16T10:58:24 main] E: Unable to correct problems, you have held broken packages.
[DEBUG 2020-04-16T10:58:24 main] Foreman::Plugin[salt]: Resource is being skipped, unscheduling all events
[DEBUG 2020-04-16T10:58:24 main] Class[Foreman::Plugin::Salt]: Resource is being skipped, unscheduling all events
Please let me know if you need any other info and thanks in advance for any help.