Red Hat Bugzilla – Bug 474555
520 -> 530 upgrade: rhn-upgrade dependency error
Last modified: 2009-08-31 05:34:56 EDT
Description of problem:
When upgrading Satellite 5.2.0 on RHEL-4 to Satellite-5.3.0-RHEL4-re20081128.0
embedded db variant, following dependency error pops up:
# ./install.pl --disconnected --upgrade
ERROR: RPM dependency error. The message was:
Dependencies should have already been resolved, but they are not.
Unresolved rpm dependencies:
Package rhn-upgrade 5.2.0-23.el4 requires perl(Sniglets::SatInstall)
# rpm -q --whatprovides 'perl(Sniglets::SatInstall)'
# rpm -qp --provides Satellite/spacewalk-sniglets-0.3.7-2.el4.noarch.rpm |grep SatInstall
Version-Release number of selected component (if applicable):
Created attachment 325675 [details]
- rhn-upgrade should not be on ISO - not sure if that was issue.
Sounds like 'rpm -e rhn-upgrade' would work around the issue short term.
The perl scripts packaged within rhn-upgrade may need to be re-written to not say
or the spacewalk-sniglets package has a clear provides.
Do not know path of resolution here :)
Milan - can you figure this one out?
(In reply to comment #2)
> - rhn-upgrade should not be on ISO - not sure if that was issue.
rhn-upgrade package is not included in the Satellite ISO, but it needs to
be installed prior to the upgrade (usually from a satellite channel) so that
we can actually start the upgrade (otherwise the installer will complain
and bail on us).
> The perl scripts packaged within rhn-upgrade may need to be re-written to not
> use Sniglets::SatInstall
> or the spacewalk-sniglets package has a clear provides.
> Do not know path of resolution here :)
> Milan - can you figure this one out?
What happened here is that Sniglets::SatInstall module was removed from spacewalk
git after Spacewalk 0.1 was released, since it was not being used anywhere
in Spacewalk. We still need one simple routine from this module to be able to run
rhn-load-config.pl contained in rhn-upgrade. The routine (split_dsn) is simple
enough to be included directly into rhn-load-config.pl
Transmitting file data ...
Committed revision 179499.
Fix contained in rhn-upgrade-5.3.0-1 build.
This is still a problem when trying to yum install the rhn-upgrade package on a RHEL5 box running Sat 520.
[root@rlx-0-06 iso]# yum install rhn-upgrade
Loaded plugins: rhnplugin, security
Setting up Install Process
Parsing package install arguments
--> Running transaction check
---> Package rhn-upgrade.noarch 0:188.8.131.52-1.el5sat set to be updated
--> Processing Dependency: perl(Spacewalk::Setup) for package: rhn-upgrade
--> Finished Dependency Resolution
rhn-upgrade-184.108.40.206-1.el5sat.noarch from redhat-rhn-satellite-5.2-server-i386-5 has depsolving problems
--> Missing Dependency: perl(Spacewalk::Setup) is needed by package rhn-upgrade-220.127.116.11-1.el5sat.noarch (redhat-rhn-satellite-5.2-server-i386-5)
Error: Missing Dependency: perl(Spacewalk::Setup) is needed by package rhn-upgrade-18.104.22.168-1.el5sat.noarch (redhat-rhn-satellite-5.2-server-i386-5)
spacewalk-web changes required for this to work:
RHN::SatInstall::satcon_deploy() restored in
RHN::SatInstall::generate_satcon_dict() restored in
RHN::SatInstall::generate_server_pem() restored in
rhn-upgrade fixes in satellite.git, SATELLITE-5.3:
new version tagged: rhn-upgrade-22.214.171.124-1-sat
This can be moved into ON_QA as soon as both new spacewalk-web is built
and rhn-upgrade-126.96.36.199-1-sat will be pushed into webqa.
rhn-upgrade-188.8.131.52-1 is in webqa.
verified in stage on xen15
* Installing RHN packages.
Warning: more packages were installed by yum than expected:
* Now running setup.
no errors in /var/log/rhn/rhn-installation.log
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.