[Spacewalk-list] spacewalk 0.8 on CentOS 5.4 ... "yum update" fails

Bushby, Bruce (London)(c) bbushby at maninvestments.com
Tue Mar 2 12:05:32 UTC 2010


 
Hi
 
I've got a strange issue which I initially thought was caused by running
Spacewalk 0.8 on Fedora 12.
I have since installed Spacewalk 0.8 on CentOS 5.4 with the same
results.
 
I copied the CentOS dvd to disk (my on disk repo), added the various
"rhn client" rpms and rebuilt the repo. I then configured my kickstart
script to use the "on disk" dvd repo accessible
via http://<ip>/repo/centos/5.4-64
 
I then installed a CentOS 5.4 client and my postinstall script registers
the client to Spacewalk.....this all works as expected.
 
The client reboots, I login and I can see my CentOS repos:
[root at localhost ~]# yum repolist
Loaded plugins: fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
repo id                                                    repo name
status
centos-5.4-x86_64-centosplus                               CentOS
Enterprise Linux CentOSPlus (v. 5.4)
enabled:   135
centos-5.4-x86_64-extras                                   CentOS
Enterprise Linux Extras (v. 5.4)
enabled:   290
centos-5.4-x86_64-server                                   CentOS
Enterprise Linux (v. 5.4 for 64-bit x86_64)
enabled: 3,348
centos-5.4-x86_64-updates                                  CentOS
Enterprise Linux Updates (v. 5.4)
enabled:   731
repolist: 4,504
[root at localhost ~]#
 
 
However, I can't run "yum update" because it fails dependency checks. I
tracked this down to yum wanting to "update" the "coreutils"
package...but it complains other
packages have dependencies on "coreutils"....however this should happen
because I'm "updating" and not removing.
 
This is an example of the error I get if I try and "yum update
coreutils":
 
[root at localhost ~]# yum update coreutils
Loaded plugins: fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package coreutils.x86_64 0:5.97-23.el5_4.1 set to be updated
--> Processing Dependency: /usr/bin/env for package: readahead
--> Processing Dependency: /usr/bin/env for package: python
--> Processing Dependency: /usr/bin/env for package: m2crypto
--> Processing Dependency: /usr/bin/env for package: conman
--> Processing Dependency: /usr/bin/env for package: gamin-python
--> Finished Dependency Resolution
conman-0.1.9.2-8.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: /usr/bin/env is needed by package
conman-0.1.9.2-8.el5.x86_64 (installed)
gamin-python-0.1.7-8.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: /usr/bin/env is needed by package
gamin-python-0.1.7-8.el5.x86_64 (installed)
python-2.4.3-27.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: /usr/bin/env is needed by package
python-2.4.3-27.el5.x86_64 (installed)
m2crypto-0.16-6.el5.6.x86_64 from installed has depsolving problems
  --> Missing Dependency: /usr/bin/env is needed by package
m2crypto-0.16-6.el5.6.x86_64 (installed)
1:readahead-1.3-7.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: /usr/bin/env is needed by package
1:readahead-1.3-7.el5.x86_64 (installed)
Error: Missing Dependency: /usr/bin/env is needed by package
1:readahead-1.3-7.el5.x86_64 (installed)
Error: Missing Dependency: /usr/bin/env is needed by package
conman-0.1.9.2-8.el5.x86_64 (installed)
Error: Missing Dependency: /usr/bin/env is needed by package
gamin-python-0.1.7-8.el5.x86_64 (installed)
Error: Missing Dependency: /usr/bin/env is needed by package
python-2.4.3-27.el5.x86_64 (installed)
Error: Missing Dependency: /usr/bin/env is needed by package
m2crypto-0.16-6.el5.6.x86_64 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root at localhost ~]#
 
 
 
Any ideas?  I have thoroughly cleaned all my yum cache...same results.
 
 
 
Bruce Bushby
Unix Engineering
Technology Group
Man Investments, 100 Lower Thames Street, London,EC3R 6DL
Desk: +44 (0) 207 144 3903
Mobile: +44 (0) 7887711769
 

**********************************************************************
 Please consider the environment before printing this email or its attachments.
The contents of this email are for the named addressees only.  It contains information which may be confidential and privileged.  If you are not the intended recipient, please notify the sender immediately, destroy this email and any attachments and do not otherwise disclose or use them. Email transmission is not a secure method of communication and Man Investments cannot accept responsibility for the completeness or accuracy of this email or any attachments. Whilst Man Investments makes every effort to keep its network free from viruses, it does not accept responsibility for any computer virus which might be transferred by way of this email or any attachments. This email does not constitute a request, offer, recommendation or solicitation of any kind to buy, subscribe, sell or redeem any investment instruments or to perform other such transactions of any kind. Man Investments reserves the right to monitor, record and retain all electronic communications through its network to ensure the integrity of its systems, for record keeping and regulatory purposes. 
Visit us at: www.maninvestments.com 
TG0908
**********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100302/51cb1efa/attachment.htm>


More information about the Spacewalk-list mailing list