Koozali.org: home of the SME Server

SME 7.2 yum update

Offline mgic_box

  • ***
  • 52
  • +0/-0
SME 7.2 yum update
« on: July 03, 2008, 04:24:01 PM »



Hi all
I just did a yum update on a SME 7.2, and had a couple issues.
Here is what I did:

cd /home/e-smith/db/
mv yum_repositories yum_repositories.po
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.conf

yum clean all
yum update

During the update, I Got:


Code: [Select]
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: perl(Net::Daemon) for package: perl-PlRPC
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: httpd = 2.0.52-32.3.ent.centos4 for package: httpd-suexec
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-Net-Daemon to pack into transaction set.
perl-Net-Daemon-0.43-1.el 100% |=========================| 3.4 kB    00:00
---> Package perl-Net-Daemon.noarch 0:0.43-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Processing Dependency: httpd = 2.0.52-32.3.ent.centos4 for package: httpd-suexec
--> Finished Dependency Resolution
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-gd
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-domxml
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-pear
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-mbstring
Error: Missing Dependency: httpd = 2.0.52-32.3.ent.centos4 is needed by package httpd-suexec
================================================================
No new rpms were installed. No additional commands are required.
================================================================

So I think somthing is wrong...???

Any Help? Pleasse...

Thanks



Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME 7.2 yum update
« Reply #1 on: July 03, 2008, 04:34:27 PM »
hi

please post here
Code: [Select]
rpm -qa | grep -i php

Thanks

Stefano

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME 7.2 yum update
« Reply #2 on: July 03, 2008, 05:10:56 PM »
hi

please post here
Code: [Select]
rpm -qa | grep -i php

Thanks

Stefano



  Thanks.


Code: [Select]
[root@mira ~]# rpm -qa | grep -i php
php-mysql-4.3.9-3.22.5
e-smith-php-1.12.0-4.el4.sme
warning: only V3 signatures can be verified, skipping V4 signature
php-4.3.9-3.22.5
php-mbstring-4.3.9-3.22.5
php-pear-4.3.9-3.22.5
php-domxml-4.3.9-3.22.5
php-imap-4.3.9-3.22.5
php-gd-4.3.9-3.22.9
php-ldap-4.3.9-3.22.5
php-gd-4.3.9-3.22.5
php-domxml-4.3.9-3.22.9
php-pear-4.3.9-3.22.9
php-mbstring-4.3.9-3.22.9
[root@mira ~]#



Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME 7.2 yum update
« Reply #3 on: July 03, 2008, 10:12:19 PM »
What repositories are enabled, you can test using the following command:
Code: [Select]
for r in `db yum_repositories show | \
grep repository | \
grep -vi name | \
sed -e 's/=repository//g'`; \
do echo $r: `db yum_repositories getprop $r status`; \
done

The following should be enabled (highlighted in blue in SME Server server-manager):
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled
« Last Edit: July 03, 2008, 10:17:19 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline byte

  • *
  • 2,183
  • +2/-0
Re: SME 7.2 yum update
« Reply #4 on: July 04, 2008, 12:11:24 AM »
So I think somthing is wrong...???

Any Help? Pleasse...

As always - Please report bugs and potential bugs in the bug tracker. Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME 7.2 yum update
« Reply #5 on: July 04, 2008, 10:54:11 AM »
As always - Please report bugs and potential bugs in the bug tracker. Thanks.

 Do you think it is a Bug?

 Regards.

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME 7.2 yum update
« Reply #6 on: July 04, 2008, 11:01:18 AM »
What repositories are enabled, you can test using the following command:
Code: [Select]
for r in `db yum_repositories show | \
grep repository | \
grep -vi name | \
sed -e 's/=repository//g'`; \
do echo $r: `db yum_repositories getprop $r status`; \
done

The following should be enabled (highlighted in blue in SME Server server-manager):
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled




Code: [Select]
[root@mira db]# for r in `db yum_repositories show | \
> grep repository | \
> grep -vi name | \
> sed -e 's/=repository//g'`; \
> do echo $r: `db yum_repositories getprop $r status`; \
> done
addons: disabled
base: enabled
centosplus: disabled
contrib: disabled
extras: disabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled
[root@mira db]#

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME 7.2 yum update
« Reply #7 on: July 04, 2008, 11:25:23 AM »
Do you think it is a Bug?

 Regards.

I guess it might be as you have the proper repositories enabled and have the proper version of PHP on your server (not PHP 5 like some others had who were experiencing similar problems).

I suggest you open a bug and post as many details as you know (from this problem) now, your server history as well as attach (not post inline) the output of
Code: [Select]
/sbin/e-smith/audittools/newrpms
« Last Edit: July 07, 2008, 06:52:18 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME 7.2 yum update
« Reply #8 on: July 04, 2008, 12:59:10 PM »


Code: [Select]
[root@mira ~]# ping yahoo.com
PING yahoo.com (68.180.206.184) 56(84) bytes of data.
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=0 ttl=49 time=178 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=1 ttl=49 time=179 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=2 ttl=49 time=178 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=3 ttl=49 time=178 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=4 ttl=49 time=179 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=5 ttl=49 time=196 ms

--- yahoo.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5006ms
rtt min/avg/max/mdev = 178.592/181.887/196.090/6.394 ms, pipe 2
[root@mira ~]# yum update php
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
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
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:4.3.9-3.22.9 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
http://mirrors.nfsi.pt/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.dei.uc.pt/pub/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Foun                d
Trying other mirror.
http://mirrors.ircam.fr/pub/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Er                ror 404: Not Found
Trying other mirror.
http://centos.crazyfrogs.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.in2p3.fr/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://ftp.free.fr/mirrors/ftp.centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errno ftp er                ror] 550 Failed to change directory.
Trying other mirror.
http://ftp.gui.uva.es/sites/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Fou                nd
Trying other mirror.
http://ftp.udl.es/pub/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://mirror.fraunhofer.de/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errno ftp error                ] 550 SME: No such file or directory
Trying other mirror.
Error: failure: SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm from base: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@mira ~]#

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME 7.2 yum update
« Reply #9 on: July 07, 2008, 12:05:19 PM »
Code: [Select]
[root@m ~]# cd /home/e-smith/db/
[root@m db]# mv yum_repositories yum_repositories.po
[root@m db]# /etc/e-smith/events/actions/initialize-default-databases
Migrating existing database yum_updates
Migrating existing database mailpatterns
Migrating existing database backups
Migrating existing database yum_available
Migrating existing database hosts
Migrating existing database networks
Migrating existing database domains
Creating database yum_repositories and setting defaults
Migrating existing database configuration
Migrating existing database spamassassin
Migrating existing database yum_installed
Migrating existing database accounts
[root@m db]# expand-template /etc/yum.conf
[root@m db]# yum clean all
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Cleaning up Everything
166 headers removed
0 packages removed
15 metadata files removed
0 cache files removed
5 cache files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@m db]# yum update php
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" 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% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Determining fastest mirrors
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  186 B    00:00
primary.xml.gz            100% |=========================| 183 kB    00:00
updates   : ################################################## 588/588
primary.xml.gz            100% |=========================| 593 kB    00:02
base      : ################################################## 1552/1552
primary.xml.gz            100% |=========================| 249 kB    00:01
smeos     : ################################################## 529/529
primary.xml.gz            100% |=========================|  94 kB    00:00
smeupdates: ################################################## 149/149
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.22.9.i386.rpm 100% |=========================|  24 kB    00:00
---> Package php.i386 0:4.3.9-3.22.9 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
http://ftp.dei.uc.pt/pub/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404:                         Not Found
Trying other mirror.
http://ftp.gui.uva.es/sites/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404:                         Not Found
Trying other mirror.
http://mirrors.ircam.fr/pub/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not                         Found
Trying other mirror.
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14]                         HTTP Error 404: Not Found
Trying other mirror.
http://centos.crazyfrogs.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://mirror.fraunhofer.de/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errno f                        tp error] 550 SME: No such file or directory
Trying other mirror.
http://mirrors.nfsi.pt/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Foun                        d
Trying other mirror.
ftp://ftp.free.fr/mirrors/ftp.centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errn                        o ftp error] 550 Failed to change directory.
Trying other mirror.
http://ftp.udl.es/pub/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.in2p3.fr/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: No                        t Found
Trying other mirror.
Error: failure: SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm from base: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@m db]#

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME 7.2 yum update
« Reply #10 on: July 07, 2008, 06:52:40 PM »
Once again: please open a bug for this issue.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)