Koozali.org: home of the SME Server

YUM update issue with Missing Dependency

Offline srose

  • *
  • 12
  • +0/-0
YUM update issue with Missing Dependency
« on: October 19, 2008, 12:21:53 AM »
Hi Guys,

I know a few people have raised this issue but can anyone help me with the below dependency issue i am having with updating my server?

==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Determining fastest mirrors
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mod_ssl.i386 1:2.0.52-41.ent.centos4 set to be updated
---> Package rpm-python.i386 0:4.3.3-26_nonptl set to be updated
---> Package libxml2-python.i386 0:2.6.16-12.5 set to be updated
---> Package python.i386 0:2.3.4-14.7.el4 set to be updated
---> Package rpm.i386 0:4.3.3-26_nonptl set to be updated
---> Package httpd.i386 0:2.0.52-41.ent.centos4 set to be updated
--> Running transaction check
--> Processing Dependency: rpm = 4.3.3-23_nonptl for package: rpm-build
--> Processing Dependency: httpd = 2.0.52-38.ent.centos4.2 for package: httpd-suexec
--> Finished Dependency Resolution
Error: Missing Dependency: rpm = 4.3.3-23_nonptl is needed by package rpm-build
Error: Missing Dependency: httpd = 2.0.52-38.ent.centos4.2 is needed by package httpd-suexec
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline srose

  • *
  • 12
  • +0/-0
Re: YUM update issue with Missing Dependency
« Reply #1 on: October 19, 2008, 12:24:01 AM »
Further to this if i do a yum list it looks like they are installed but not sure why it would show 2 versions

httpd-suexec.i386                        2.0.52-41.ent.centos4  installed
httpd-suexec.i386                        2.0.52-38.ent.centos4. installed

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: YUM update issue with Missing Dependency
« Reply #2 on: October 19, 2008, 03:15:00 AM »
Can you please the output from /sbin/e-smith/audittools/newrpms

Offline srose

  • *
  • 12
  • +0/-0
Re: YUM update issue with Missing Dependency
« Reply #3 on: October 19, 2008, 07:13:08 AM »
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Extra Packages
VMware-server.i386                       1.0.3-44356            installed
bind-libs.i386                           20:9.2.4-28.0.1.el4    installed
bind-utils.i386                          20:9.2.4-28.0.1.el4    installed
cpp.i386                                 3.4.6-9                installed
cups-libs.i386                           1:1.1.22-0.rc1.9.20.2. installed
hddtemp.i386                             0.3-0.beta12.2.2.el4.r installed
jinzora.noarch                           2.7-1                  installed
kernel.i686                              2.6.9-42.0.3.EL        installed
kernel.i686                              2.6.9-42.0.10.EL       installed
kernel.i686                              2.6.9-55.0.2.EL        installed
kernel.i686                              2.6.9-55.0.12.EL       installed
kernel-smp.i686                          2.6.9-55.0.12.EL       installed
kernel-smp.i686                          2.6.9-55.0.2.EL        installed
kernel-smp.i686                          2.6.9-42.0.3.EL        installed
kernel-smp.i686                          2.6.9-42.0.10.EL       installed
mailman.i386                             3:2.1.5.1-34.0.el4.sme installed
net-snmp.i386                            5.1.2-11.el4_6.11.3    installed
net-snmp-libs.i386                       5.1.2-11.el4_6.11.3    installed
net-snmp-utils.i386                      5.1.2-11.el4_6.11.3    installed
openldap.i386                            2.2.13-8.el4_6.5       installed
pam_abl.i386                             0.2.3-2.el4.sme        installed
perl-Class-ParamParser.noarch            1.0401-2.el4.sme       installed
perl-IO-Socket-SSL.noarch                1.07-1.el4.rf          installed
perl-LDAP.noarch                         0.34-1.el4.rf          installed
perl-MIME-Lite.noarch                    3.01-5.el4             installed
perl-Mail-RFC822-Address.noarch          0.3-1.el4.sme          installed
perl-String-Approx.i386                  3.26-1.el4.rf          installed
perl-Time-TAI64.noarch                   2.11-1.el4.sme         installed
perl-Unix-ConfigFile.noarch              0.06-3.el4.sme         installed
perl-XML-SAX.noarch                      0.16-1.el4.rf          installed
perl-rrdtool.i386                        1.0.50-1.2.el4.rf      installed
rrdtool.i386                             1.0.50-1.2.el4.rf      installed
sme-unjunkmgr.noarch                     1.0.1-1                installed
smeserver-cacti.noarch                   0.8.7a-1               installed
smeserver-gallery2.noarch                2.2-3                  installed
smeserver-jinzora.noarch                 0.9-6                  installed
smeserver-joomla.noarch                  1.0.12-1               installed
smeserver-mailman.noarch                 1.3.0-15.el4.sme       installed
smeserver-mxbackup.noarch                0.1.0-02               installed
smeserver-oscommerce.noarch              2.2rc2a-1              installed
smeserver-proxypass.noarch               0.0.3-1                installed
smeserver-sme7admin.noarch               1.1.0-1                installed
smeserver-spamassassin-features.noarch   0.0.2-0                installed
smeserver-system_monitor.noarch          1.0-1                  installed
smeserver-vacation.noarch                1.0-6.el4.sme          installed
smeserver-vmware-authd.noarch            0.1-1                  installed
smeserver-wbl.noarch                     0.0.1-a8.dmay          installed
spamassassin-botnet.noarch               0.7-1.el4.sme          installed
yum-metadata-parser.i386                 1.1.0-2.el4.centos     installed
================================================================
No new rpms were installed. No additional commands are required.

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: YUM update issue with Missing Dependency
« Reply #4 on: October 19, 2008, 07:23:47 AM »
Well, this is different ... but then I'm new  8)

What versions of rpm and httpd are installed?

yum list httpd rpm

On my fully updated test bed:

httpd.i386                           2.0.52-41.ent.centos4
rpm.i386                              4.3.3-26_nonptl

Also, since you have some stuff installed from smedev, try:

yum --enablerepo=smedev update

I don't think that'll help, but still...

Offline srose

  • *
  • 12
  • +0/-0
Re: YUM update issue with Missing Dependency
« Reply #5 on: October 19, 2008, 07:36:41 AM »
[root@mail ~]# yum --enablerepo=smedev update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smedev                    100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  19 kB    00:00
sqlite cache needs updating, reading in metadata
smedev    : ################################################## 57/57
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mod_ssl.i386 1:2.0.52-41.ent.centos4 set to be updated
---> Package rpm-python.i386 0:4.3.3-26_nonptl set to be updated
---> Package libxml2-python.i386 0:2.6.16-12.5 set to be updated
---> Package python.i386 0:2.3.4-14.7.el4 set to be updated
---> Package rpm.i386 0:4.3.3-26_nonptl set to be updated
---> Package httpd.i386 0:2.0.52-41.ent.centos4 set to be updated
--> Running transaction check
--> Processing Dependency: rpm = 4.3.3-23_nonptl for package: rpm-build
--> Processing Dependency: httpd = 2.0.52-38.ent.centos4.2 for package: httpd-suexec
--> Finished Dependency Resolution
Error: Missing Dependency: rpm = 4.3.3-23_nonptl is needed by package rpm-build
Error: Missing Dependency: httpd = 2.0.52-38.ent.centos4.2 is needed by package httpd-suexec
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: YUM update issue with Missing Dependency
« Reply #6 on: October 19, 2008, 07:40:36 AM »
I'm curious -- where did rpmbuild come from? It's not in smedev.

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: YUM update issue with Missing Dependency
« Reply #7 on: October 19, 2008, 07:57:23 AM »
Well, this is different ... but then I'm new  8)
yum --enablerepo=smedev update
I don't think that'll help, but still...

only install from smedev explicitly
yum --enablerepo=smedev update smesever-foo

otherwise you update all existing rpms
almost certainly bad things will happen

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: YUM update issue with Missing Dependency
« Reply #8 on: October 19, 2008, 07:58:36 AM »
Well that's important to know -- thanks!

* writes note *