Project

General

Profile

Actions

Bug #2805

closed

foreman-proxy not installable because ruby-sinatra is still installed from debian

Added by Michael Gebetsroither almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

Due to repository priorities, ruby-sinatra is not installed from the foreman repos thus the install of foreman-proxy aborts because of unsatisfied dependencies. It is not installed from the foreman repos because of insufficient repository priority:

# echo include foreman_installer | puppet apply --modulepath /usr/share/foreman-installer -v
...
err: Removing mount files: /etc/puppet/files does not exist or is not a directory
err: /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-proxy' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 foreman-proxy : Depends: ruby-sinatra (>= 1.3.3) but 1.3.2-2 is to be installed
E: Unable to correct problems, you have held broken packages.

# apt-cache policy ruby-sinatra
ruby-sinatra:
  Installed: 1.3.2-2
  Candidate: 1.3.2-2
  Version table:
     1.3.6-1 0
        500 http://deb.theforeman.org/ wheezy/stable amd64 Packages
 *** 1.3.2-2 0
        990 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status

# cat /etc/debian_version
7.1

The package ruby-sinatra can installed manually without problems:
apt-get install ruby-sinatra=1.3.6-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  ruby-sinatra
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 251 kB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Get:1 http://deb.theforeman.org/ wheezy/stable ruby-sinatra all 1.3.6-1 [251 kB]
Fetched 251 kB in 2s (89.5 kB/s)
Reading changelogs... Done
(Reading database ... 38940 files and directories currently installed.)
Preparing to replace ruby-sinatra 1.3.2-2 (using .../ruby-sinatra_1.3.6-1_all.deb) ...
Unpacking replacement ruby-sinatra ...
Setting up ruby-sinatra (1.3.6-1) ...
Actions

Also available in: Atom PDF