Bug 640585

Summary: Warning: more packages were installed by yum than expected
Product: Red Hat Satellite 5 Reporter: Michael Mráka <mmraka>
Component: InstallerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Mráka <mmraka>
Severity: medium Docs Contact:
Priority: medium    
Version: 540CC: cperry, jblazek, jhutar, slukasik, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-setup-1.2.6-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 14:56:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 487678    

Description Michael Mráka 2010-10-06 11:56:35 UTC
Description of problem:
install.pl reports:
Warning: more packages were installed by yum than expected:
        crypto-utils
        perl-DBD-Pg
        yum-utils
(it's actually upgrade from 5.2 to 5.4). Those packages should be added to updates/rhelrpms.


Version-Release number of selected component (if applicable):
Satellite-5.4.0-RHEL5-re20101001.1

How reproducible:


Steps to Reproduce:
1. on satellite 5.2.1 run ./install.pl --upgrade
  
Actual results:
Warning: more packages were installed by yum than expected:
        crypto-utils
        perl-DBD-Pg
        yum-utils

Expected results:
no complains

Additional info:

Comment 2 Michael Mráka 2010-10-07 08:32:50 UTC
Fresh sat540 installation reports even more misssing packages:
Warning: more packages were installed by yum than expected:
        crypto-utils
        libICE
        libSM
        libXt
        libxslt
        perl-DBD-Pg
        tcsh

Comment 5 Jan Pazdziora (Red Hat) 2010-10-07 13:35:44 UTC
# rpm -e --test perl-DBD-Pg
error: Failed dependencies:
	perl-DBD-Pg is needed by (installed) spacewalk-setup-1.2.6-4.el5sat.noarch

# rpm -ql spacewalk-setup | xargs grep DBD | wc -l
0

$ grep DBD spacewalk/setup/spacewalk-setup.spec 
Requires:       perl-DBD-Pg

We explicitly require perl-DBD-Pg in spacewalk-setup even if we probably should not to -- it should be required by spacewalk-postgresql or similar package.

Comment 6 Jan Pazdziora (Red Hat) 2010-10-07 13:36:19 UTC
BTW, on my Satellite 5.4.0 I saw

Warning: more packages were installed by yum than expected:
	crypto-utils
	gpg-pubkey
	libxslt
	perl-DBD-Pg
	yum-utils
* Now running spacewalk-setup.

Comment 7 Jan Pazdziora (Red Hat) 2010-10-07 13:37:00 UTC
[root@vmware200 ~]# rpm -e --test crypto-utils
error: Failed dependencies:
	/etc/cron.daily/certwatch is needed by (installed) spacewalk-ssl-cert-check-2.0-1.el5sat.noarch

So this is correct and should be added to the rhelrpms.

Comment 8 Jan Pazdziora (Red Hat) 2010-10-07 13:37:27 UTC
# rpm -e --test yum-utils
error: Failed dependencies:
	yum-utils is needed by (installed) cobbler-2.0.3.1-11.el5sat.noarch
	yum-utils is needed by (installed) spacewalk-common-1.2.1-1.el5sat.noarch

This probably too.

Comment 9 Jan Pazdziora (Red Hat) 2010-10-07 13:37:52 UTC
# rpm -e --test libxslt
error: Failed dependencies:
	libxslt is needed by (installed) spacewalk-setup-jabberd-1.2.1-1.el5sat.noarch

This too.

Comment 10 Jan Pazdziora (Red Hat) 2010-10-07 13:38:38 UTC
As for that gpg-pubkey, we probably should just ignore it in the check that we do.

Comment 11 Jan Pazdziora (Red Hat) 2010-10-07 13:41:06 UTC
# rpm -e --test tcsh
error: Failed dependencies:
	/bin/csh is needed by (installed) mtools-3.9.10-2.fc6.i386
	/bin/csh is needed by (installed) oracle-config-1.1-6.el5sat.noarch

But yum groupinfo Base shows tcsh as being default for @Base. So I assume Michael's installation did not have the full @Base.

Comment 12 Jan Pazdziora (Red Hat) 2010-10-07 13:43:04 UTC
As for the three lib* package

# rpm -e --test libSM libXt libICE
error: Failed dependencies:
	libSM.so.6 is needed by (installed) startup-notification-0.8-4.1.i386
	libSM.so.6 is needed by (installed) libwnck-2.16.0-4.fc6.i386
	libSM.so.6 is needed by (installed) redhat-lsb-3.1-12.3.EL.i386
	libSM.so.6 is needed by (installed) libgcj-4.1.2-48.el5.i386
	libXt.so.6 is needed by (installed) redhat-lsb-3.1-12.3.EL.i386
	libICE.so.6 is needed by (installed) startup-notification-0.8-4.1.i386
	libICE.so.6 is needed by (installed) libwnck-2.16.0-4.fc6.i386
	libICE.so.6 is needed by (installed) redhat-lsb-3.1-12.3.EL.i386
	libICE.so.6 is needed by (installed) libgcj-4.1.2-48.el5.i386

they are required by redhat-lsb, and that is default in @Base as well.

Comment 13 Jan Pazdziora (Red Hat) 2010-10-07 13:44:29 UTC
If we decided to address this warning, I would propose to:

- remove perl-DBD-Pg from the explicit Requires of spacewalk-setup;
- add crypto-utils, yum-utils, and libxslt to the rhelrpms file;
- optionally ignore gpg-pubkey in that check.

Comment 14 Clifford Perry 2010-10-07 14:02:08 UTC
Jan - OK. To comment 13.

Comment 16 Jan Pazdziora (Red Hat) 2010-10-07 15:19:32 UTC
The perl-DBD-Pg removed in Spacewalk master, e84a31c4165dcc06dbb03c9bbbbd83cf55310465.

Comment 18 Jan Pazdziora (Red Hat) 2010-10-07 15:23:11 UTC
The gpg-pubkey fix in Spacewalk master, 1d1b258891555c8c2c52b96227e83bec835acec9.

No bugzilla number, sorry.

Comment 22 Michael Mráka 2010-10-08 11:04:56 UTC
Satellite-5.4.0-RHEL5-re20101008.0

Verified.

...
* Checking for uninstalled prerequisites.
There are some packages from Red Hat Enterprise Linux that are not part
of the @base group that Satellite will require to be installed on this
system. The installer will try resolve the dependencies automatically.
* Applying updates.
* Installing RHN packages.
* Now running spacewalk-setup.
...

Comment 23 Tomas Lestach 2010-10-27 09:55:21 UTC
I made sure I have group @Base installed and updated. Then I started the satellite installation:
...
** Checking if yum is available ...
There are some packages from Red Hat Enterprise Linux that are not part
of the @base group that Satellite will require to be installed on this
system. The installer will try resolve the dependencies automatically.
However, you may want to install these prerequisites manually.
Do you want the installer to resolve dependencies [y/N]? y
* Applying updates.
* Installing RHN packages.
* Now running spacewalk-setup.
...

Seems like only those packages were installed, that yum expected. :-)

STAGE VALIDATED on Satellite-5.4.0-RHEL5-re20101025.0

Comment 24 Clifford Perry 2010-10-28 14:51:58 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford

Comment 25 Jan Pazdziora (Red Hat) 2010-12-10 23:35:35 UTC
*** Bug 640938 has been marked as a duplicate of this bug. ***