Upgrading to 1.5.0 - yum failure

Hi,

I'm trying to upgrade a forgotten-about 1.3.0 RC4 installation to 1.5.0.
Running on RHEL6 & connected only to my Satellite. I think I've got the
right repo's synched down:

yum repolist

Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
repo id repo name
status
inf-prod-rhel-6-x86_64-optional Inf Prod RHEL 6 x86_64 Optional
7,094
inf-prod-rhel-6-x86_64-rhn-tools Inf Prod RHEL 6 x86_64 RHN Tools
124
inf-prod-rhel-6-x86_64-rhscl-1 Inf Prod RHEL 6 x86_64 Software
Collections 1 539
inf-prod-rhel-6-x86_64-server Inf e Prod RHEL 6 x86_64
12,524
inf-prod-rhel-6-x86_64-vm-3dparty Inf Prod RHEL 6 x86_64 Virgin Money
3rd Party 89
inf-prod-rhel-6-x86_64-vm-bespoke Inf Prod RHEL 6 x86_64 Virgin Money
Bespoke 6
inf-prod-rhel-6-x86_64-vm-foreman Inf Prod RHEL 6 x86_64 Virgin Money
Foreman 132
inf-prod-rhel-6-x86_64-vm-puppet Inf Prod RHEL 6 x86_64 Virgin Money
Puppet 38
inf-prod-rhel-6-x86_64-vmtools Inf Prod RHEL 6 x86_64 VMware Tools
OSP ESXi 5.1 41
repolist: 20,587

··· #

but I get

–> Finished Dependency Resolution
Error: Package: foreman-proxy-1.5.0-1.el6.noarch
(inf-prod-rhel-6-x86_64-vm-foreman)
Requires: rubygem(gssapi)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Can’t find which package that should be in. The Foreman & Puppet channels
were recently cloned from their online counterparts. The other channels
are synched daily.

Do I need the foreman-plugins repo too?

Cheers

Duncan

This is from EPEL:
http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/rubygem-ffi.html

··· On 23/05/14 11:42, Duncan Innes wrote: > --> Finished Dependency Resolution > Error: Package: foreman-proxy-1.5.0-1.el6.noarch > (inf-prod-rhel-6-x86_64-vm-foreman) > Requires: rubygem(gssapi) > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest > # > > Can't find which package that should be in. The Foreman & Puppet > channels were recently cloned from their online counterparts. The other > channels are synched daily.


Dominic Cleal
Red Hat Engineering

Thanks Dominic,

Unfortunately that's not moved me forward:

rpm -q rubygem-ffi

rubygem-ffi-1.0.9-9.el6.x86_64

service httpd stop

Stopping httpd: [ OK ]

yum upgrade ruby*

Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Upgrade Process
No Packages marked for Update

yum upgrade foreman*

Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Upgrade Process
Resolving Dependencies
–> Running transaction check
—> Package foreman.noarch 0:1.3.0-0.5.RC4.el6 will be updated
—> Package foreman.noarch 0:1.5.0-1.el6 will be an update
–> Processing Dependency: ruby193-rubygem(bootstrap-sass) < 3.0.4 for
package: foreman-1.5.0-1.el6.noarch
–> Processing Dependency: ruby193-rubygem(bootstrap-sass) >= 3.0.3.0 for
package: foreman-1.5.0-1.el6.noarch
–> Processing Dependency: ruby193-rubygem(deep_cloneable) for package:
foreman-1.5.0-1.el6.noarch
—> Package foreman-postgresql.noarch 0:1.3.0-0.5.RC4.el6 will be updated
—> Package foreman-postgresql.noarch 0:1.5.0-1.el6 will be an update
—> Package foreman-proxy.noarch 0:1.3.0-0.5.RC4.el6 will be updated
—> Package foreman-proxy.noarch 0:1.5.0-1.el6 will be an update
–> Processing Dependency: rubygem(gssapi) for package:
foreman-proxy-1.5.0-1.el6.noarch
–> Running transaction check
—> Package foreman-proxy.noarch 0:1.5.0-1.el6 will be an update
–> Processing Dependency: rubygem(gssapi) for package:
foreman-proxy-1.5.0-1.el6.noarch
—> Package ruby193-rubygem-bootstrap-sass.noarch 0:3.0.3.0-1.el6 will be
installed
—> Package ruby193-rubygem-deep_cloneable.noarch 0:1.6.0-2.el6 will be
installed
–> Finished Dependency Resolution
Error: Package: foreman-proxy-1.5.0-1.el6.noarch
(inf-prod-rhel-6-x86_64-vm-foreman)
Requires: rubygem(gssapi)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

··· On Friday, 23 May 2014 11:46:28 UTC+1, Dominic Cleal wrote:

This is from EPEL:
http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/rubygem-ffi.html


Dominic Cleal
Red Hat Engineering

Note: the ruby* packages were upgraded successfully in the last run after I
yum installed rubygem-ffi.

Is there a list of all packages required from EPEL anywhere? For people
like me who can’t link to external repos, it becomes a bit hit’n’miss. To
be fair, once I’ve got them all there won’t be a problem, but without a
list to reference to I could be hitting a new dependency fail after each
new package fetch.

Cheers

D

>
>
> This is from EPEL:
> http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/rubygem-ffi.html
> <http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/rubygem-ffi.html>
>
>
> –
> Dominic Cleal
> Red Hat Engineering
>
>
> Thanks Dominic,
>
> Unfortunately that's not moved me forward:
>
> # rpm -q rubygem-ffi
> rubygem-ffi-1.0.9-9.el6.x86_64

Apologies, I linked to the wrong package:
http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/rubygem-gssapi.html

(gssapi of course, not ffi, which is a dependency of gssapi)

> Is there a list of all packages required from EPEL anywhere? For people
> like me who can't link to external repos, it becomes a bit hit'n'miss.
> To be fair, once I've got them all there won't be a problem, but
> without a list to reference to I could be hitting a new dependency fail
> after each new package fetch.

We don't have an official list, but my host here has the following
packages from EPEL:

ruby-augeas
rubygem-fastercsv
rubygem-ffi
rubygem-gssapi
rubygem-json
rubygem-locale
rubygem-mime-types
rubygem-rack
rubygem-rack-test
rubygem-rest-client
rubygem-sinatra
ruby-shadow

Some of these are also available from Puppet Labs' dependencies repo, so
could be substituted (ruby-augeas, ffi, json, rack, shadow).

I've made a note of them on Feature #4313: Replace EPEL dependency with Foreman repo - Packaging - Foreman too.

··· On 23/05/14 12:12, Duncan Innes wrote: > On Friday, 23 May 2014 11:46:28 UTC+1, Dominic Cleal wrote:


Dominic Cleal
Red Hat Engineering

Thanks Dominic,

I noticed that just after I posted and trotted off to get the gssapi
package. Upgrade now working 100%.

Thanks

Duncan

··· On Friday, 23 May 2014 12:26:06 UTC+1, Dominic Cleal wrote: > > > Apologies, I linked to the wrong package: > http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/rubygem-gssapi.html > > (gssapi of course, not ffi, which is a dependency of gssapi) > > > Is there a list of all packages required from EPEL anywhere? For people > > like me who can't link to external repos, it becomes a bit hit'n'miss. > > To be fair, once I've got them all there won't be a problem, but > > without a list to reference to I could be hitting a new dependency fail > > after each new package fetch. > > We don't have an official list, but my host here has the following > packages from EPEL: > > ruby-augeas > rubygem-fastercsv > rubygem-ffi > rubygem-gssapi > rubygem-json > rubygem-locale > rubygem-mime-types > rubygem-rack > rubygem-rack-test > rubygem-rest-client > rubygem-sinatra > ruby-shadow > > Some of these are also available from Puppet Labs' dependencies repo, so > could be substituted (ruby-augeas, ffi, json, rack, shadow). > > I've made a note of them on http://projects.theforeman.org/issues/4313too. > > -- > Dominic Cleal > Red Hat Engineering >