Project

General

Profile

Actions

Bug #25041

closed

dependency problems in 1.19 with Ubuntu 18.04

Added by Sergey Nazaruk over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

root@foreman:/tmp# sudo apt-get update && sudo apt-get -y install foreman-installer
Ign:1 http://apt.puppetlabs.com bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                      
Hit:3 http://apt.puppetlabs.com bionic Release                               
Hit:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease        
Ign:5 http://deb.theforeman.org bionic InRelease                         
Hit:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease          
Ign:8 http://deb.theforeman.org plugins InRelease  
Hit:9 http://deb.theforeman.org bionic Release     
Hit:11 http://deb.theforeman.org plugins Release   
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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-installer : Depends: ruby-kafo (>= 1.0.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ruby-kafo has broken dependencies in 18.04:

root@foreman:/tmp# apt install ruby-kafo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 ruby-kafo : Depends: ruby-clamp (>= 0.6.2) but it is not installable
             Depends: ruby-highline (< 2.0) but it is not installable
             Depends: ruby-highline (>= 1.6.21) but it is not installable
             Depends: ruby-kafo-wizards but it is not going to be installed
             Depends: ruby-logging (< 3.0.0) but it is not installable
             Depends: ruby-ansi but it is not installable
             Depends: ruby-powerbar but it is not installable
E: Unable to correct problems, you have held broken packages.


Related issues 1 (0 open1 closed)

Related to Foreman - Support #25064: Depends: ruby-kafo (>= 1.0.5) FeedbackActions
Actions #1

Updated by Anonymous over 6 years ago

  • Status changed from New to Need more information
  • Assignee set to Anonymous

I guess something is wrong with the Ubuntu mirror you're using. These packages are in upstream for a long time, see e.g. on my bionic system:

root@sledge:~# apt-cache madison ruby-clamp ruby-highline ruby-logging ruby-ansi ruby-powerbar
ruby-clamp    |    1.1.1-1 | http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 Packages
ruby-highline |    1.7.8-1 | http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 Packages
ruby-logging  |    2.2.2-1 | http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 Packages
ruby-ansi     |    1.5.0-1 | http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 Packages
ruby-powerbar |   1.0.18-1 | http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 Packages

Actions #2

Updated by majed shamsi over 6 years ago

Actions #3

Updated by Anonymous over 6 years ago

  • Tracker changed from Bug to Support

Tested it just now and can't reproduce on a fresh, clean bionic VM:

[...]
root@jack-tinstman:/tmp# apt-get -y install foreman-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  curl fonts-lato javascript-common libcurl4 libgdbm-compat4 libjs-jquery libnghttp2-14 librtmp1 libruby2.5 puppet-agent rake ruby ruby-ansi ruby-clamp ruby-did-you-mean ruby-hashie ruby-highline ruby-kafo ruby-kafo-parsers ruby-kafo-wizards
  ruby-little-plugger ruby-logging ruby-minitest ruby-multi-json ruby-net-telnet ruby-oj ruby-power-assert ruby-powerbar ruby-test-unit ruby2.5 rubygems-integration unzip zip
Suggested packages:
  apache2 | lighttpd | httpd ri ruby-dev ruby-activesupport bundler
The following NEW packages will be installed:
  curl fonts-lato foreman-installer javascript-common libcurl4 libgdbm-compat4 libjs-jquery libnghttp2-14 librtmp1 libruby2.5 puppet-agent rake ruby ruby-ansi ruby-clamp ruby-did-you-mean ruby-hashie ruby-highline ruby-kafo ruby-kafo-parsers
  ruby-kafo-wizards ruby-little-plugger ruby-logging ruby-minitest ruby-multi-json ruby-net-telnet ruby-oj ruby-power-assert ruby-powerbar ruby-test-unit ruby2.5 rubygems-integration unzip zip
0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.6 MB of archives.
After this operation, 139 MB of additional disk space will be used.
Get:1 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 fonts-lato all 2.0-2 [2,698 kB]
Get:2 http://apt.puppetlabs.com bionic/puppet5 amd64 puppet-agent amd64 5.5.6-1bionic [17.3 MB]
Get:3 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 libnghttp2-14 amd64 1.30.0-1ubuntu1 [77.8 kB]
Get:4 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-1 [54.2 kB]
Get:5 http://ubuntu.mirror.lrz.de:80/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.3 [214 kB]
Get:6 http://ubuntu.mirror.lrz.de:80/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.3 [159 kB]
Get:7 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 rubygems-integration all 1.11 [4,994 B]
Get:8 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 rake all 12.3.1-1 [45.1 kB]              
Get:9 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 ruby-did-you-mean all 1.2.0-2 [9,700 B]
Get:10 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 ruby-minitest all 5.10.3-1 [38.6 kB] 
Get:11 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 ruby-net-telnet all 0.1.1-2 [12.6 kB]
Get:12 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 ruby-power-assert all 0.3.0-1 [7,952 B]
Get:13 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 ruby-test-unit all 3.2.5-1 [61.1 kB]  
Get:14 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6,084 B]
Get:15 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 libruby2.5 amd64 2.5.1-1ubuntu1 [3,066 kB]
Get:16 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 ruby2.5 amd64 2.5.1-1ubuntu1 [48.6 kB]
Get:17 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 ruby amd64 1:2.5.1 [5,712 B]
Get:18 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-clamp all 1.1.1-1 [17.4 kB]
Get:19 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-highline all 1.7.8-1 [40.7 kB]
Get:20 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-little-plugger all 1.1.4-1 [6,860 B]
Get:21 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-multi-json all 1.12.1-1 [15.5 kB]
Get:22 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-logging all 2.2.2-1 [54.7 kB]
Get:23 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-ansi all 1.5.0-1 [33.0 kB]
Get:24 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-hashie all 3.5.5-2 [32.9 kB]
Get:25 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-powerbar all 1.0.18-1 [7,518 B]
Get:26 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 javascript-common all 11 [6,066 B]
Get:27 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 libjs-jquery all 3.2.1-1 [152 kB]     
Get:28 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/universe amd64 ruby-oj amd64 3.4.0-1build1 [112 kB]
Get:29 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 unzip amd64 6.0-21ubuntu1 [167 kB]
Get:30 http://ubuntu.mirror.lrz.de:80/ubuntu bionic/main amd64 zip amd64 3.0-11build1 [167 kB]
Get:31 http://deb.theforeman.org bionic/1.19 amd64 ruby-kafo-parsers all 0.1.6-1 [7,460 B]
Get:32 http://deb.theforeman.org bionic/1.19 amd64 ruby-kafo-wizards all 0.0.1-1 [8,208 B]
Get:33 http://deb.theforeman.org bionic/1.19 amd64 ruby-kafo all 2.1.0-1 [38.3 kB]
Get:34 http://deb.theforeman.org bionic/1.19 amd64 foreman-installer all 1.19.0-1 [855 kB]
Fetched 25.6 MB in 1s (20.9 MB/s)  
[...]

Actions #4

Updated by majed shamsi about 6 years ago

i have change the Mirror with these new:
deb http://ubuntu.mirror.lrz.de/ubuntu/ bionic main
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ bionic main
but it doesnt help

Actions #5

Updated by Sergey Nazaruk about 6 years ago

majed shamsi wrote:

i have change the Mirror with these new:
deb http://ubuntu.mirror.lrz.de/ubuntu/ bionic main
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ bionic main
but it doesnt help

I was helped by the addition universe Repository

sudo add-apt-repository universe

Actions #6

Updated by Anonymous over 5 years ago

  • Tracker changed from Support to Bug
  • Project changed from Foreman to Website
  • Subject changed from More dependency problems in 1.19 with Ubuntu 18.04 to dependency problems in 1.19 with Ubuntu 18.04
  • Status changed from Need more information to Ready For Testing
  • Pull request https://github.com/theforeman/theforeman.org/pull/1347 added
Actions #7

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF