Project

General

Profile

Bug #24879

ruby-foreman-ansible-core '/usr/lib/ruby/vendor_ruby/foreman_ansible_core.rb' conflicts with ruby-smart-proxy-ansible

Added by Michael Brown 9 months ago. Updated 8 months ago.

Status:
New
Priority:
Urgent
Assignee:
-
Target version:
-
Difficulty:
easy
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

ruby-foreman-ansible-core is trying to overwrite '/usr/lib/ruby/vendor_ruby/foreman_ansible_core.rb', which is also in package ruby-smart-proxy-ansible

# dpkg --get-selections | grep ansible
ansible                                         install
ruby-smart-proxy-ansible                        install

# apt install ruby-foreman-ansible-core ruby-foreman-ansible
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  ruby-foreman-ansible ruby-foreman-ansible-core
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 2,623 kB/2,630 kB of archives.
After this operation, 20.1 MB of additional disk space will be used.
Get:1 http://deb.theforeman.org plugins/1.19 amd64 ruby-foreman-ansible all 2.2.6-2 [2,623 kB]
Fetched 2,623 kB in 0s (4,058 kB/s)
(Reading database ... 305161 files and directories currently installed.)
Preparing to unpack .../ruby-foreman-ansible-core_2.1.2-1_all.deb ...
Unpacking ruby-foreman-ansible-core (2.1.2-1) ...
dpkg: error processing archive /var/cache/apt/archives/ruby-foreman-ansible-core_2.1.2-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/ruby/vendor_ruby/foreman_ansible_core.rb', which is also in package ruby-smart-proxy-ansible 2.0.3-2
Selecting previously unselected package ruby-foreman-ansible.
Preparing to unpack .../ruby-foreman-ansible_2.2.6-2_all.deb ...
Unpacking ruby-foreman-ansible (2.2.6-2) ...
Errors were encountered while processing:
 /var/cache/apt/archives/ruby-foreman-ansible-core_2.1.2-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

History

#1 Updated by Michael Moll 9 months ago

  • Priority changed from Normal to Urgent
  • Category deleted (Debian/Ubuntu)
  • Project changed from Packaging to Ansible
  • Fixed in Releases smart_proxy_ansible-2.0.4 added

Over the the foreman_ansible guys... Please do release a gem of smart_proxy_ansible that does NOT contain the files of foreman_ansible_core, thanks.

Please $ tar xzvf data.tar.gz
LICENSE
README.md
bin/json_inventory.sh
bundler.plugins.d/smart_proxy_ansible.rb
lib/foreman_ansible_core.rb
lib/foreman_ansible_core/actions.rb
lib/foreman_ansible_core/command_creator.rb
lib/foreman_ansible_core/exception.rb
lib/foreman_ansible_core/playbook_runner.rb
lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb
lib/foreman_ansible_core/remote_execution_core/settings_override.rb
lib/foreman_ansible_core/roles_reader.rb
lib/foreman_ansible_core/version.rb
lib/smart_proxy_ansible.rb
lib/smart_proxy_ansible/api.rb
lib/smart_proxy_ansible/http_config.ru
lib/smart_proxy_ansible/plugin.rb
lib/smart_proxy_ansible/version.rb
settings.d/ansible.yml.example

#2 Updated by Daniel Lobato Garcia 8 months ago

This is being tackled by removing the foreman_ansible_core entirely

Also available in: Atom PDF