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)' rhn-sniglets-5.2.0-16.el4 # rpm -qp --provides Satellite/spacewalk-sniglets-0.3.7-2.el4.noarch.rpm |grep SatInstall # Version-Release number of selected component (if applicable): rhn-upgrade-5.2.0-23 spacewalk-web-0.3.7-2
Created attachment 325675 [details] /var/log/rhn/rhn-installation.log
- 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 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? Thanks, Cliff
(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 > say > > 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
Sending satellite-upgrade/rhn-load-config.pl Sending satellite-upgrade/rhn-upgrade.spec Sending satellite-upgrade/version Transmitting file data ... Committed revision 179499.
Fix contained in rhn-upgrade-5.3.0-1 build.
rhn-upgrade-5.3.0-2 actually
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 Resolving Dependencies --> Running transaction check ---> Package rhn-upgrade.noarch 0:5.3.0.5-1.el5sat set to be updated --> Processing Dependency: perl(Spacewalk::Setup) for package: rhn-upgrade --> Finished Dependency Resolution rhn-upgrade-5.3.0.5-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-5.3.0.5-1.el5sat.noarch (redhat-rhn-satellite-5.2-server-i386-5) Error: Missing Dependency: perl(Spacewalk::Setup) is needed by package rhn-upgrade-5.3.0.5-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 e1c35fe888d405217ce8ee4096c9b449ee3573e9 RHN::SatInstall::generate_satcon_dict() restored in 966b9e7a545130fde46fb324a9fb1fa460551ec0 RHN::SatInstall::generate_server_pem() restored in 7714864d4a100931c0071695f659e2b2608aa6ae
rhn-upgrade fixes in satellite.git, SATELLITE-5.3: 81925b494f7ace335c8a7c3a2eddd8b844358842 new version tagged: rhn-upgrade-5.3.0.6-1-sat
This can be moved into ON_QA as soon as both new spacewalk-web is built and rhn-upgrade-5.3.0.6-1-sat will be pushed into webqa.
rhn-upgrade-5.3.0.6-1 is in webqa.
Verified
verified in stage on xen15 * Installing RHN packages. Warning: more packages were installed by yum than expected: mtools syslinux tcsh * 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. http://rhn.redhat.com/errata/RHEA-2009-1235.html