Project

General

Profile

Actions

Bug #16898

closed

Dependency problems with foreman-installer

Added by Ben Howell about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Debian/Ubuntu
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Attempting to run foreman-installer on Ubuntu Xenial 16.04.1 results in package dependencies with ruby-concurrent.

[ERROR 2016-10-12T16:31:29 verbose]  ruby-dynflow : Depends: ruby-concurrent-ruby-edge (>= 0.2.0) but it is not going to be installed
[ERROR 2016-10-12T16:31:29 verbose]                 Depends: ruby-concurrent-ruby-edge (< 1.0.0) but it is not going to be installed
---
[ERROR 2016-10-12T16:31:28 verbose]  ruby-foreman-remote-execution : Depends: ruby-foreman-tasks (>= 0.8.2) but it is not going to be installed
[ERROR 2016-10-12T16:31:28 verbose]                                  Depends: ruby-foreman-tasks (< 0.9.0) but it is not going to be installed
[ERROR 2016-10-12T16:31:28 verbose]                                  Depends: ruby-foreman-deface but it is not going to be installed

Attempting to install the packages manually I get this error:

root@foreman-dev:~# apt-get install ruby-concurrent-ruby-edge --no-install-recommends
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ruby-concurrent
The following NEW packages will be installed:
  ruby-concurrent ruby-concurrent-ruby-edge
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/177 kB of archives.
After this operation, 1,042 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 99687 files and directories currently installed.)
Preparing to unpack .../ruby-concurrent_1.0.0-1_all.deb ...
Unpacking ruby-concurrent (1.0.0-1) ...
Selecting previously unselected package ruby-concurrent-ruby-edge.
Preparing to unpack .../ruby-concurrent-ruby-edge_0.2.0-2_all.deb ...
Unpacking ruby-concurrent-ruby-edge (0.2.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/ruby-concurrent-ruby-edge_0.2.0-2_all.deb (--unpack):
 trying to overwrite '/usr/lib/ruby/vendor_ruby/concurrent/channel.rb', which is also in package ruby-concurrent 1.0.0-1
Errors were encountered while processing:
 /var/cache/apt/archives/ruby-concurrent-ruby-edge_0.2.0-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Apparently both ruby-concurrent and ruby-concurrent-ruby-edge are trying to provide the same things and stepping on each other, even though they're dependencies?


Related issues 1 (0 open1 closed)

Related to Packaging - Bug #17064: Foreman installer broken on Ubuntu XenialResolved10/23/2016Actions
Actions

Also available in: Atom PDF