Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Arnie on July 23, 2007, 04:39:34 AM

Title: Troubles With Yum Update To 7.2
Post by: Arnie on July 23, 2007, 04:39:34 AM
I'm trying to update my 7.1.3 server to 7.2 via Yum, but I keep getting dependancy errors. Yum says I need php-common = 5.1.6-3.el4s1.5 but can't find it. If I --enablerepo=centosplus, it can find php-common, but it also tries to update the kernel, perl, httpd, mod_perl, mod_ssl, mysql, mysql-server, mysql-libs and a bunch of other perl and php modules.

Should I have to enable the centosplus repo to update to 7.2?  Is it O.K. to update these other packages from the centosplus repo?
Title: yum update fails with public key warning
Post by: zeeclor on July 23, 2007, 06:12:19 AM
One server upgraded but I'm getting a:-
"Downloading Packages:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 217521f6
Public key for perl-Net-IPv4Addr-0.10-2.el4.noarch.rpm is not installed"

Can I specify a preferred site?

David
Title: Re: Troubles With Yum Update To 7.2
Post by: judgej on July 23, 2007, 10:15:54 AM
I'm getting these dependancy errors:

Error: Missing Dependency: xorg-x11-libs = 6.8.2-1.EL.13.25 is needed by package xorg-x11
Error: Missing Dependency: xorg-x11-libs = 6.8.2-1.EL.13.25 is needed by package xorg-x11-xfs

I don't normally have any problems with the yum updates.

-- JJ

Update: I reset my yum repositories, and it worked. I needed to add back in dungog and a few others, but otherwise it was fine. I think the problem was the Centos repos being disabled ('CentOS - os' and 'CentOS - updates' - I've no idea why).

Looking at other topics, it seems that the yum repos were probably not correctly updated in a previous set of patches. I've certainly never disabled the centos repositories myself, but disabled they were.
Title: Troubles With Yum Update To 7.2
Post by: guest22 on July 23, 2007, 10:24:59 AM
Simply works. Did had an issue with yum referring to CentOS within $basearch. The documentation told me to:

- yum clean metadata
- yum clean all
- yum update

Works like a charm. Many thanks to the devs for their work and this update!

guest
Title: Troubles With Yum Update To 7.2
Post by: Arnie on July 24, 2007, 05:16:34 AM
I've tried doing a "yum clean all", but I'm still getting the dependancy errors.

When I run "yum update", it seems to exclude the base and updates repos, even though I have them enabled.

Code: [Select]

[root@jumpgate etc]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  186 B    00:00
primary.xml.gz            100% |=========================| 580 kB    00:01
base      : ################################################## 1518/1518
primary.xml.gz            100% |=========================|  80 kB    00:00
updates   : ################################################## 265/265
primary.xml.gz            100% |=========================| 276 kB    00:00
smeos     : ################################################## 524/524
primary.xml.gz            100% |=========================|  809 B    00:00
smeupdates: ################################################## 1/1
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies


the list of missing dependancies are as follows:

Code: [Select]

Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-mysql
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-cli
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-pdo
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-ldap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-mbstring
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-imap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-gd
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-domxml


I've done an "rpm -q -whatrequires" and it points to e-smith-imp, e-smith-horde and imp needing the deps, so it's not a contrib problem.

I've checked the server-manager to make sure the right repos are enabled. I've even done an expand-template on /etc/yum.conf, but base and updates are still being excluded. If anyone has any ideas, I'd would be most greatful.

==============================================
O.K. After a bit of poking around, It turns out that somehow PHP version 5 has been installed on my server. After removing it, the update was successful.

Sorry for wasting everyone time.
Title: php5
Post by: fetjesus on July 24, 2007, 10:25:26 AM
I might have that problem too, hmm totaly newbie though, how do I remove php5? sorry for noob question... only familiar with apt...
Title: Troubles With Yum Update To 7.2
Post by: Arnie on July 24, 2007, 03:43:38 PM
First of all, do an "rpm -aq | grep php". This will list all of the packages that comprise PHP.

Then for each package do a "rpm --nodeps -e <package name>" but don't remove any of the perl packages (eg perl-*).

After that, "yum update" and voila!
Title: Troubles With Yum Update To 7.2
Post by: Elluminatus on July 24, 2007, 04:11:50 PM
After

Quote
- yum clean metadata
- yum clean all
- yum update


I´ve got the following screens:

Quote
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Tempor\xe4rer Fehler bei der Namensaufl\xf6sung')>
Trying other mirror.
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Tempor\xe4rer Fehler bei der Namensaufl\xf6sung')>
Trying other mirror.
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Der Name oder der Dienst ist nicht bekannt')>
Trying other mirror.
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Tempor\xe4rer Fehler bei der Namensaufl\xf6sung')>
Trying other mirror.
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Tempor\xe4rer Fehler bei der Namensaufl\xf6sung')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: smeaddons
failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================


What is the problem here, dooes anybody fix the failure?

Greetings E.
Title: Troubles With Yum Update To 7.2
Post by: geoff on July 25, 2007, 02:04:30 AM
Quote from: "guest22"
Simply works. Did had an issue with yum referring to CentOS within $basearch. The documentation told me to:

- yum clean metadata
- yum clean all
- yum update

Works like a charm. Many thanks to the devs for their work and this update!

guest


Thank you for your help - this works perfectly.  :D
Title: Troubles With Yum Update To 7.2
Post by: CharlieBrady on July 25, 2007, 04:18:15 AM
Quote from: "Elluminatus"

What is the problem here, dooes anybody fix the failure?


You have a non-existent repository called smeaddons enabled. Read the FAQ - there's instructions there on setting all repository specifications back to default values.