Koozali.org: home of the SME Server

(sme7.2) yum clean all + yum update - missing dependencies

countzero

(sme7.2) yum clean all + yum update - missing dependencies
« on: August 03, 2007, 12:32:34 PM »
---> Downloading header for dstat to pack into transaction set.
dstat-0.6.6-1.el4.rf.noar 100% |=========================| 8.3 kB    00:00
---> Package dstat.noarch 0:0.6.6-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.EL for package: kmod-appletalk-smp
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: mysql
--> Processing Dependency: libmysqlclient.so.15 for package: mysql-server
--> Processing Dependency: libmysqlclient.so.15 for package: php-mysql
--> Processing Dependency: mod_perl for package: spamassassin
--> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15) for package: mysql-server
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-server
--> Processing Dependency: smeserver-locale-sv for package: smeserver-support
--> Processing Dependency: kernel-i686 = 2.6.9-55.0.2.EL for package: kmod-appletalk
--> Processing Dependency: kernel-i686 = 2.6.9-55.0.2.EL for package: kmod-ppp
--> Processing Dependency: smolt for package: smeserver-support
--> Processing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.EL for package: kmod-ppp-smp
--> Processing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.EL for package: kmod-slip-smp
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: mysql-server
--> Processing Dependency: perl(Net::IP) for package: perl-Net-DNS
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-imap
--> Processing Dependency: perl(Net::IP) for package: qpsmtpd
--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.18 for package: xorg-x11-xfs
--> Processing Dependency: perl(Mail::SPF) for package: spamassassin
--> Processing Dependency: krb5-libs = 1.3.4-47 for package: krb5-devel
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php-mysql
--> Processing Dependency: FuzzyOcr for package: smeserver-spamassassin
--> Processing Dependency: libmysqlclient.so.15 for package: perl-DBD-MySQL
--> Processing Dependency: kernel-i686 = 2.6.9-55.0.2.EL for package: kmod-slip
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-cli
--> Processing Dependency: mysql-libs = 5.0.46-1.el4.centos for package: mysql
--> Processing Dependency: perl(Encode::Detect) for package: spamassassin
--> Processing Dependency: libmysqlclient.so.15 for package: mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-gd
--> Processing Dependency: perl(Apache::Test) for package: spamassassin
--> Processing Dependency: libtool-libs = 1.5.6-4.EL4.1.c4.4 for package: libtool
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mbstring
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.9-55.0.2.EL.i6 100% |=========================| 237 kB    00:01
---> Package kernel.i686 0:2.6.9-55.0.2.EL set to be installed
---> Downloading header for smeserver-locale-sv to pack into transaction set.
smeserver-locale-sv-1.2.0 100% |=========================|  13 kB    00:00
---> Package smeserver-locale-sv.noarch 0:1.2.0-27.el4.sme set to be updated
---> Downloading header for kernel-smp to pack into transaction set.
kernel-smp-2.6.9-55.0.2.E 100% |=========================| 238 kB    00:01
---> Package kernel-smp.i686 0:2.6.9-55.0.2.EL set to be installed
---> Downloading header for FuzzyOcr to pack into transaction set.
FuzzyOcr-3.5.1-3.el4.sme. 100% |=========================| 5.7 kB    00:00
---> Package FuzzyOcr.noarch 0:3.5.1-3.el4.sme set to be updated
---> Downloading header for smolt to pack into transaction set.
smolt-0.9.8.1-5.el4.sme.n 100% |=========================|  12 kB    00:00
---> Package smolt.noarch 0:0.9.8.1-5.el4.sme set to be updated
---> Downloading header for perl-Net-IP to pack into transaction set.
perl-Net-IP-1.25-1.el4.rf 100% |=========================| 3.2 kB    00:00
---> Package perl-Net-IP.noarch 0:1.25-1.el4.rf set to be updated
---> Downloading header for perl-Mail-SPF to pack into transaction set.
perl-Mail-SPF-2.004-1.el4 100% |=========================|  12 kB    00:00
---> Package perl-Mail-SPF.noarch 0:2.004-1.el4 set to be updated
---> Downloading header for mysql-libs to pack into transaction set.
mysql-libs-5.0.46-1.el4.c 100% |=========================|  33 kB    00:00
---> Package mysql-libs.i386 0:5.0.46-1.el4.centos set to be updated
---> Downloading header for perl-Encode-Detect to pack into transaction set.
perl-Encode-Detect-1.00-1 100% |=========================| 4.4 kB    00:00
---> Package perl-Encode-Detect.i386 0:1.00-1.el4.rf set to be updated
---> Downloading header for mod_perl to pack into transaction set.
mod_perl-2.0.3-1.el4s1.3. 100% |=========================|  88 kB    00:00
---> Package mod_perl.i386 0:2.0.3-1.el4s1.3 set to be updated
--> Running transaction check
--> Processing Dependency: perl(NetAddr::IP) for package: perl-Mail-SPF
--> Processing Dependency: perl(String::Approx) for package: FuzzyOcr
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mysql
--> Processing Dependency: perl(Tie::Cache) for package: FuzzyOcr
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: /usr/bin/giffix for package: FuzzyOcr
--> Processing Dependency: perl(MLDBM) for package: FuzzyOcr
--> Processing Dependency: ocrad for package: FuzzyOcr
--> Processing Dependency: aspell-sv for package: smeserver-locale-sv
--> Processing Dependency: perl(MLDBM::Sync) for package: FuzzyOcr
--> Processing Dependency: perl(Log::Agent) for package: FuzzyOcr
--> Processing Dependency: dbus-python for package: smolt
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-ldap
--> Processing Dependency: gifsicle for package: FuzzyOcr
--> Processing Dependency: /usr/bin/gifinter for package: FuzzyOcr
--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.18 for package: xorg-x11-xfs
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Processing Dependency: krb5-libs = 1.3.4-47 for package: krb5-devel
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-cli
--> Processing Dependency: /usr/bin/giftext for package: FuzzyOcr
--> Processing Dependency: netpbm-progs for package: FuzzyOcr
--> Processing Dependency: gocr for package: FuzzyOcr
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-imap
--> Processing Dependency: libtool-libs = 1.5.6-4.EL4.1.c4.4 for package: libtool
--> Processing Dependency: perl(version) for package: perl-Mail-SPF
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-Log-Agent to pack into transaction set.
perl-Log-Agent-0.305-2.el 100% |=========================|  17 kB    00:00
---> Package perl-Log-Agent.i386 0:0.305-2.el4.sme set to be updated
---> Downloading header for libungif-progs to pack into transaction set.
libungif-progs-4.1.3-1.el 100% |=========================| 8.7 kB    00:00
---> Package libungif-progs.i386 0:4.1.3-1.el4.2 set to be updated
---> Downloading header for dbus-python to pack into transaction set.
dbus-python-0.22-12.EL.9. 100% |=========================| 9.2 kB    00:00
---> Package dbus-python.i386 0:0.22-12.EL.9 set to be updated
---> Downloading header for netpbm-progs to pack into transaction set.
netpbm-progs-10.25-2.EL4. 100% |=========================|  79 kB    00:00
---> Package netpbm-progs.i386 0:10.25-2.EL4.6 set to be updated
---> Downloading header for perl-MLDBM to pack into transaction set.
perl-MLDBM-2.01-2.2.el4.r 100% |=========================| 3.4 kB    00:00
---> Package perl-MLDBM.noarch 0:2.01-2.2.el4.rf set to be updated
---> Downloading header for ocrad to pack into transaction set.
ocrad-0.16-1.el4.sme.i386 100% |=========================| 4.8 kB    00:00
---> Package ocrad.i386 0:0.16-1.el4.sme set to be updated
---> Downloading header for perl-MLDBM-Sync to pack into transaction set.
perl-MLDBM-Sync-0.30-1.2. 100% |=========================| 3.2 kB    00:00
---> Package perl-MLDBM-Sync.noarch 0:0.30-1.2.el4.rf set to be updated
---> Downloading header for perl-String-Approx to pack into transaction set.
perl-String-Approx-3.26-1 100% |=========================| 4.2 kB    00:00
---> Package perl-String-Approx.i386 0:3.26-1.el4 set to be updated
---> Downloading header for aspell-sv to pack into transaction set.
aspell-sv-0.51-1.2.1.el4. 100% |=========================| 3.2 kB    00:00
---> Package aspell-sv.i386 50:0.51-1.2.1.el4.sme set to be updated
---> Downloading header for perl-version to pack into transaction set.
perl-version-0.7203-1.el4 100% |=========================| 4.6 kB    00:00
---> Package perl-version.i386 1:0.7203-1.el4.1 set to be updated
---> Downloading header for perl-Tie-Cache to pack into transaction set.
perl-Tie-Cache-0.17-1.2.e 100% |=========================| 2.8 kB    00:00
---> Package perl-Tie-Cache.noarch 0:0.17-1.2.el4.rf set to be updated
---> Downloading header for gifsicle to pack into transaction set.
gifsicle-1.46-1.el4.rf.i3 100% |=========================| 3.5 kB    00:00
---> Package gifsicle.i386 0:1.46-1.el4.rf set to be updated
---> Downloading header for gocr to pack into transaction set.
gocr-0.44-1.el4.rf.i386.r 100% |=========================| 3.8 kB    00:00
---> Package gocr.i386 0:0.44-1.el4.rf set to be updated
---> Downloading header for perl-NetAddr-IP to pack into transaction set.
perl-NetAddr-IP-4.004-1.e 100% |=========================|  11 kB    00:00
---> Package perl-NetAddr-IP.i386 0:4.004-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-ldap
--> Processing Dependency: libnetpbm.so.10 for package: gocr
--> Processing Dependency: libungif.so.4 for package: libungif-progs
--> Processing Dependency: netpbm = 10.25-2.EL4.6 for package: netpbm-progs
--> Processing Dependency: libungif = 4.1.3 for package: libungif-progs
--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.18 for package: xorg-x11-xfs
--> Processing Dependency: krb5-libs = 1.3.4-47 for package: krb5-devel
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-gd
--> Processing Dependency: libtool-libs = 1.5.6-4.EL4.1.c4.4 for package: libtool
--> Processing Dependency: perl(Tie::Cache::LRU) for package: perl-Tie-Cache
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mbstring
--> Processing Dependency: libnetpbm.so.10 for package: netpbm-progs
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for netpbm to pack into transaction set.
netpbm-10.25-2.EL4.6.i386 100% |=========================|  11 kB    00:00
---> Package netpbm.i386 0:10.25-2.EL4.6 set to be updated
---> Downloading header for libungif to pack into transaction set.
libungif-4.1.3-1.el4.2.i3 100% |=========================| 6.5 kB    00:00
---> Package libungif.i386 0:4.1.3-1.el4.2 set to be updated
---> Downloading header for perl-Tie-Cache-LRU to pack into transaction set.
perl-Tie-Cache-LRU-0.21-1 100% |=========================| 3.3 kB    00:00
---> Package perl-Tie-Cache-LRU.noarch 0:0.21-1.2.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: perl(Carp::Assert) for package: perl-Tie-Cache-LRU
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-imap
--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.18 for package: xorg-x11-xfs
--> Processing Dependency: krb5-libs = 1.3.4-47 for package: krb5-devel
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mysql
--> Processing Dependency: perl(enum) for package: perl-Tie-Cache-LRU
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-gd
--> Processing Dependency: libtool-libs = 1.5.6-4.EL4.1.c4.4 for package: libtool
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-enum to pack into transaction set.
perl-enum-1.016-1.2.el4.r 100% |=========================| 2.4 kB    00:00
---> Package perl-enum.noarch 0:1.016-1.2.el4.rf set to be updated
---> Downloading header for perl-Carp-Assert to pack into transaction set.
perl-Carp-Assert-0.20-1.e 100% |=========================| 2.6 kB    00:00
---> Package perl-Carp-Assert.noarch 0:0.20-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-imap
--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.18 for package: xorg-x11-xfs
--> Processing Dependency: krb5-libs = 1.3.4-47 for package: krb5-devel
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-gd
--> Processing Dependency: libtool-libs = 1.5.6-4.EL4.1.c4.4 for package: libtool
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mbstring
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-mysql
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-pdo
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-ldap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-imap
Error: Missing Dependency: xorg-x11-libs = 6.8.2-1.EL.18 is needed by package xorg-x11-xfs
Error: Missing Dependency: krb5-libs = 1.3.4-47 is needed by package krb5-devel
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-cli
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-gd
Error: Missing Dependency: libtool-libs = 1.5.6-4.EL4.1.c4.4 is needed by package libtool
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-mbstring
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@aleph php]#

Offline byte

  • *
  • 2,183
  • +2/-0
Re: (sme7.2) yum clean all + yum update - missing dependenci
« Reply #1 on: August 03, 2007, 02:28:17 PM »
You will have to remove (or find a way round) your updated php modules as you are using 5.x version, the SME Server use's 4.x
--[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 Stefano

  • *
  • 10,894
  • +3/-0
(sme7.2) yum clean all + yum update - missing dependencies
« Reply #2 on: August 03, 2007, 02:29:30 PM »
are you trying to update/upgrade a sme installation with php5 installed?

if "NO", you are using wrong repositories.. be sure you are NOT using centosplus one

HTH

Ciao

Stefano

countzero

(sme7.2) yum clean all + yum update - missing dependencies
« Reply #3 on: August 04, 2007, 04:52:53 AM »
I have no idea how or what, but I just want to stay up to date with latest and have always been doing my 'yum update' as I should.

Got it sorted:

rpm -e -nodeps xorg-x11-libs
rpm -e -nodeps krb5-libs
rpm -e -nodeps php-common
rpm -e -nodeps libtool-libs
(if you have more missing packages, just continue to remove)

yum clean all
yum install xorg-x11-libs
yum install krb5-libs
yum install php-common
yum install libtool-libs
(if you had more missing packages, just continue to install)

yum update

Now all should be well.

In my case I had to rebuild the httpd.conf:

sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
/etc/rc.d/init.d/httpd.conf restart
(Ignore 'socket already in use' warning related to http/https)

I am using PHP5/MySQL5 and Perl 5.8.8    I ran into a lot of problems earlier using perl 5.8.8:

http://forums.contribs.org/index.php?topic=37523.0
http://forums.contribs.org/index.php?topic=37016.0

These issues no longer occur with the 7.2 patch list (!)
All is well :-)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
(sme7.2) yum clean all + yum update - missing dependencies
« Reply #4 on: August 04, 2007, 07:06:52 AM »
Quote from: "countzero"

/etc/rc.d/init.d/httpd.conf restart
(Ignore 'socket already in use' warning related to http/https)


No, that is bad advice (and you will likely have problems as a result). Use:

/etc/rc7.d/S86httpd-e-smith restart

instead.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
(sme7.2) yum clean all + yum update - missing dependencies
« Reply #5 on: August 04, 2007, 09:38:37 AM »
Quote from: "countzero"
I have no idea how or what,
Quote from: "countzero"
I am using PHP5/MySQL5


I think one answers the other.

PHP5/MYSQL5 is not a supported upgrade path for SME 7 at this time.
Regards,
William

IF I give advise.. It's only if it was me....

countzero

(sme7.2) yum clean all + yum update - missing dependencies
« Reply #6 on: August 05, 2007, 10:57:26 AM »
:oops:

...just being honest  :wink:   SME runs smoothly using PHP5/SQL5 (naughty)

(+ thanks for reading my post and taking time to comment; much obliged)

jeppefugl

vpn problem after update countzero
« Reply #7 on: August 05, 2007, 04:08:09 PM »
Hi countzero

I am also running SME with php/mysql 5. I had the same dependency problem as you and tried to update with your trick.

Everything updated fine, but now I have an issue with my vpn connection. Cannot connect at all. I'll get an error 718 on my windows clients

This is from the server message log:
Code: [Select]
Discarded non-LCP packet when LCP not open
Aug  6 22:20:38 server pppd[3075]: rcvd [LCP TermReq id=0x4 "+\37777777760!\37777777647\000<\37777777715t\000\000\002\37777777716"]
Aug  6 22:20:38 server pppd[3075]: sent [LCP TermAck id=0x4]
Aug  6 22:20:38 server pppd[3075]: Modem hangup
Aug  6 22:20:38 server pppd[3075]: Connection terminated.
Aug  6 22:20:38 server kernel: divert: no divert_blk to free, ppp0 not ethernet
Aug  6 22:20:38 server pppd[3075]: Exit.


Have you seen similar on your system?

i updated kernel and ppp modules before using your trick and the vpn was working at that time.

countzero

(sme7.2) yum clean all + yum update - missing dependencies
« Reply #8 on: August 07, 2007, 04:55:36 PM »
I am not using ppp / vpn myself, so I can't be of much help I'm afraid.

I reckon your problems are related to the updating of some packages.

Do you have more detailed information on which packages you removed and reinstalled using 'my trick' ?

In general, use "rpm -qa | grep <package>" to see which version of a package is installed on your system.

I am not familiar how to install a previous version of an application using yum, but you can always download the required rpm from one of the repositories and install it using "rpm -Uvh <package>

I am sure there are people smarter than me on this forum who might have more useful information to share.

You can always drop me an e-mail at 'countzero@zonnet.nl" if needed.

Hope this helps.

(Did a quick search: error 718 = timeout.     http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/ contains the latest ppp package: ppp-2.4.2-6.4.RHEL4.i386.rpm.   I found a number of RPMS here: http://www.city-fan.org/ftp/contrib/drivers/pptp/  Use at own risk.  I am not sure how to find previous releases in the yum repositories)

jeppefugl

(sme7.2) yum clean all + yum update - missing dependencies
« Reply #9 on: August 07, 2007, 05:37:03 PM »
Thanks for your answer. To hopefully get som more replies I have made a new post with some more details

http://forums.contribs.org/index.php?topic=38092.msg171883#msg171883