johneve

Member
Apr 4, 2007
7
0
151
I have got 2 servers that give problems when running yum update.

Server 1 (Centos 4.7)

Code:
Using newyum support.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
...Done

Updating system packages...Error: Missing Dependency: libpixman-devel is needed by package cairo-devel
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for evolution28-cairo to pack into transaction set.
evolution28-cairo-1.2.4-6 100% |=========================| 9.0 kB    00:00
---> Package evolution28-cairo.i386 0:1.2.4-6.el4 set to be updated
--> Running transaction check
--> Processing Dependency: libpixman-devel for package: cairo-devel
--> Finished Dependency Resolution
Error: Missing Dependency: libpixman-devel is needed by package cairo-devel

[[email protected] ~]# rpm -ivh ftp://fr.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/libpixman-devel-0.1.6-1.el4.rf.i386.rpm
Retrieving ftp://fr.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/libpixman-devel-0.1.6-1.el4.rf.i386.rpm
Preparing...                ########################################### [100%]
        package libpixman-devel-0.1.6-1.el4.rf is already installed

Server 2 (Centos 5.2)

Code:
Using newyum support.
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * dries: ftp.belnet.be
 * dag: apt.sw.be
 * kbs-CentOS-Extras: centos.karan.org
 * kbs-CentOS-Misc: centos.karan.org
 * kbs-CentOS-Misc-Testing: centos.karan.org
 * base: ftp.nluug.nl
 * updates: ftp.nluug.nl
 * addons: ftp.nluug.nl
 * extras: ftp.nluug.nl
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Package bind - 30:9.3.4-6.0.2.P1.el5_2.i386 is already installed.
Package bind-devel - 30:9.3.4-6.0.2.P1.el5_2.i386 is already installed.
Package bind-libs - 30:9.3.4-6.0.2.P1.el5_2.i386 is already installed.
Package bind-utils - 30:9.3.4-6.0.2.P1.el5_2.i386 is already installed.
Package bzip2 - 1.0.3-4.el5_2.i386 is already installed.
Package crontabs - 1.10-8.noarch is already installed.
Package expect - 5.43.0-5.1.i386 is already installed.
Package freetype - 2.2.1-20.el5_2.i386 is already installed.
Package freetype-devel - 2.2.1-20.el5_2.i386 is already installed.
Package gcc - 4.1.2-42.el5.i386 is already installed.
Package gcc-c++ - 4.1.2-42.el5.i386 is already installed.
Package gd - 2.0.33-9.4.el5_1.1.i386 is already installed.
Package gd-devel - 2.0.33-9.4.el5_1.1.i386 is already installed.
Package gd-progs - 2.0.33-9.4.el5_1.1.i386 is already installed.
No package gd-utils available.
Package glibc-devel - 2.5-24.i386 is already installed.
Package gnupg - 1.4.5-13.i386 is already installed.
Package libgcc - 4.1.2-42.el5.i386 is already installed.
No package libgd1 available.
No package libgd1-devel available.
No package libmysqlclient10-dev available.
No package libxml available.
No package libxml-devel available.
Package libstdc++ - 4.1.2-42.el5.i386 is already installed.
Package libstdc++-devel - 4.1.2-42.el5.i386 is already installed.
Package which - 2.16-7.i386 is already installed.
Package lsof - 4.78-3.i386 is already installed.
Package sysstat - 7.0.2-1.el5.i386 is already installed.
Package libxml2 - 2.6.26-2.1.2.6.i386 is already installed.
Package libxml2-devel - 2.6.26-2.1.2.6.i386 is already installed.
Package gamin - 0.1.7-8.el5.i386 is already installed.
Package gamin-devel - 0.1.7-8.el5.i386 is already installed.
Package lynx - 2.8.5-28.1.i386 is already installed.
Package openssh - 4.3p2-26.el5_2.1.i386 is already installed.
Package openssh-clients - 4.3p2-26.el5_2.1.i386 is already installed.
Package openssh-server - 4.3p2-26.el5_2.1.i386 is already installed.
Package openssl - 0.9.8b-10.el5.i686 is already installed.
Package openssl-devel - 0.9.8b-10.el5.i386 is already installed.
No package openssl-misc available.
Package sharutils - 4.6.1-2.i386 is already installed.
No package ucd-snmp available.
No package ucd-snmp-devel available.
No package ucd-snmp-utils available.
Package wget - 1.10.2-7.el5.i386 is already installed.
No package XFree86-devel available.
No package XFree86-libs available.
Package vixie-cron - 4:4.1-72.el5.i386 is already installed.
Nothing to do
...Done

Updating system packages...Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * dries: ftp.belnet.be
 * dag: apt.sw.be
 * kbs-CentOS-Extras: centos.karan.org
 * kbs-CentOS-Misc: centos.karan.org
 * kbs-CentOS-Misc-Testing: centos.karan.org
 * base: mirror.liteserver.nl
 * updates: mirror.liteserver.nl
 * addons: mirror.liteserver.nl
 * extras: mirror.liteserver.nl
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package cups-libs.i386 1:1.2.4-11.18.el5_2.1 set to be updated
---> Package nfs-utils.i386 1:1.0.9-35z.el5_2 set to be updated
---> Package rsyslog.i386 0:2.0.2-1.el5.kb set to be updated
---> Package libxml2-python.i386 0:2.6.26-2.1.2.6 set to be updated
---> Package syslinux.i386 0:3.72-2.el5.rf set to be updated
--> Processing Dependency: perl(Crypt::PasswdMD5) for package: syslinux
---> Package apr-util.i386 0:1.2.7-7.el5.kb set to be updated
---> Package selinux-policy-targeted.noarch 0:2.4.6-137.1.el5 set to be updated
---> Package ipsec-tools.i386 0:0.6.5-9.el5_2.3 set to be updated
---> Package libxslt-python.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package cadaver.i386 0:0.22.5-1.el5.rf set to be updated
---> Package pam_krb5.i386 0:2.2.14-1.el5_2.1 set to be updated
---> Package nspr.i386 0:4.7.1-1.el5 set to be updated
---> Package bluez-libs.i386 0:3.7-1.1 set to be updated
---> Package postgresql-libs.i386 0:8.3.3-3.el5.kb.1 set to be updated
---> Package sos.noarch 0:1.7-9.2.el5_2.2 set to be updated
---> Package tzdata.noarch 0:2008e-1.el5 set to be updated
---> Package nss_ldap.i386 0:253-13.el5_2.1 set to be updated
---> Package libtiff.i386 0:3.8.2-7.el5_2.2 set to be updated
---> Package nss.i386 0:3.12.1.1-1.el5.centos.1 set to be updated
---> Package krb5-devel.i386 0:1.6.1-25.el5_2.1 set to be updated
---> Package initscripts.i386 0:8.45.19.1.EL-1.el5.centos set to be updated
---> Package samba-common.i386 0:3.0.28-1.el5_2.1 set to be updated
---> Package krb5-libs.i386 0:1.6.1-25.el5_2.1 set to be updated
---> Package selinux-policy.noarch 0:2.4.6-137.1.el5 set to be updated
---> Package libtiff-devel.i386 0:3.8.2-7.el5_2.2 set to be updated
---> Package nss-tools.i386 0:3.12.1.1-1.el5.centos.1 set to be updated
---> Package bluez-utils.i386 0:3.7-2.2.el5.centos set to be updated
---> Package lftp.i386 0:3.7.4-1.el5.rf set to be updated
---> Package python-elementtree.i386 0:1.2.6-7.el4.rf set to be updated
---> Package mtr.i386 2:0.74-1.el5.rf set to be updated
--> Processing Dependency: urlview for package: mutt
---> Package paps.i386 0:0.6.6-18.el5 set to be updated
---> Package libxslt.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package krb5-workstation.i386 0:1.6.1-25.el5_2.1 set to be updated
---> Package openldap.i386 0:2.3.27-8.el5_2.4 set to be updated
---> Package dhcpv6-client.i386 0:1.0.10-4.el5_2.3 set to be updated
---> Package gnutls.i386 0:1.4.1-3.el5_1 set to be updated
---> Package bzip2-libs.i386 0:1.0.3-4.el5_2 set to be updated
---> Package cups.i386 1:1.2.4-11.18.el5_2.1 set to be updated
---> Package mutt.i386 5:1.5.18-3.el5.kb set to be updated
--> Processing Dependency: urlview for package: mutt
---> Package udftools.i386 0:1.0.0b3-3.2.el4.rf set to be updated
--> Processing Dependency: libreadline.so.4 for package: udftools
---> Package alsa-lib.i386 0:1.0.16-2.el5.kb set to be updated
--> Running transaction check
---> Package syslinux.i386 0:3.72-2.el5.rf set to be updated
--> Processing Dependency: perl(Crypt::PasswdMD5) for package: syslinux
---> Package compat-readline43.i386 0:4.3-3 set to be updated
--> Processing Dependency: urlview for package: mutt
---> Package mutt.i386 5:1.5.18-3.el5.kb set to be updated
--> Processing Dependency: urlview for package: mutt
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Crypt::PasswdMD5) is needed by package syslinux
Error: Missing Dependency: urlview is needed by package mutt
...Done
 

johneve

Member
Apr 4, 2007
7
0
151
/etc/yum.repos.d/CentOS-Base.repo:

Code:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
enabled=1
#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
enabled=1
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
enabled=1
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
enabled=1
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

/etc/yum.repos.d/3rd.repo:

Code:
[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS
gpgcheck=1
enabled=1
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
[kbs-CentOS-Extras]
name=CentOS.Karan.Org-EL$releasever - Stable
gpgcheck=1
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
enabled=1
baseurl=http://centos.karan.org/el$releasever/extras/stable/$basearch/RPMS/
[kbs-CentOS-Misc]
name=CentOS.Karan.Org-EL$releasever - Stable
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
gpgcheck=1
enabled=1
baseurl=http://centos.karan.org/el$releasever/misc/stable/$basearch/RPMS/
[kbs-CentOS-Misc-Testing]
name=CentOS.Karan.Org-EL$releasever - Testing
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
gpgcheck=1
enabled=1
baseurl=http://centos.karan.org/el$releasever/misc/testing/i386/RPMS/
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=0
Could someone please advise on how to resolve this? Thank you
 

TSGrantR

Registered
PartnerNOC
Nov 1, 2006
1
0
151
You may want to install cpan2rpm:

http://sourceforge.net/projects/cpan2rpm/

Once installed do:

cpan2rpm Crypt::PasswdMD5;

Grab the directory cpan2rpm put the rpm, then install the rpm:

(for me) rpm -Uvh /usr/src/redhat/RPMS/noarch/perl-Crypt-PasswdMD5-1.3-1.noarch.rpm

Problem should be solved after that.
 

ukagg

Active Member
PartnerNOC
Aug 14, 2002
35
0
156
Hi,

I was also having the same error, when I do /scripts/rpmup or /scripts/sysup:-

##################
Error: Missing Dependency: perl(Crypt::PasswdMD5) is needed by package syslinux
##################

So, I installed cpan2rpm, but could not proceed further because now I am getting this error:-

###############################
[email protected] [~]# cpan2rpm Crypt::PasswdMD5;

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: Crypt::PasswdMD5 --
Using cached URL: http://search.cpan.org//CPAN/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-1.3.tar.gz
Tarball found - not fetching
Metadata retrieval
Tarball extraction: [/usr/src/redhat/SOURCES/Crypt-PasswdMD5-1.3.tar.gz]

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
system tar -x --directory /tmp/_Imv8Ve0bQ -z -f /usr/src/redhat/SOURCES/Crypt-PasswdMD5-1.3.tar.gz failed: 512 at /usr/bin/cpan2rpm line 1259.
-- Done --
[email protected] [~]#
###############################

Can you suggest.

Thanks
UKA
 

viaoceanica

Member
Jun 30, 2005
13
0
151
Hi,

I was also having the same error, when I do /scripts/rpmup or /scripts/sysup:-

##################
Error: Missing Dependency: perl(Crypt::PasswdMD5) is needed by package syslinux
##################

So, I installed cpan2rpm, but could not proceed further because now I am getting this error:-

###############################
[email protected] [~]# cpan2rpm Crypt::PasswdMD5;

-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP

-- module: Crypt::PasswdMD5 --
Using cached URL: http://search.cpan.org//CPAN/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-1.3.tar.gz
Tarball found - not fetching
Metadata retrieval
Tarball extraction: [/usr/src/redhat/SOURCES/Crypt-PasswdMD5-1.3.tar.gz]

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
system tar -x --directory /tmp/_Imv8Ve0bQ -z -f /usr/src/redhat/SOURCES/Crypt-PasswdMD5-1.3.tar.gz failed: 512 at /usr/bin/cpan2rpm line 1259.
-- Done --
[email protected] [~]#
###############################

Can you suggest.

Thanks
UKA

i had the same error runing yum update. The solution is very simple:

syslinux is not useful on servers, so this can be fixed by editing /etc/yum.conf

Code:
vi /etc/yum.conf
In the line exclude =, at the end add syslinux*

In this case, installation is from “rpmforge” repo, it is not used, so i removed rpmforge repository

Code:
[email protected] [~]# cd /etc/yum.repos.d
[email protected] [/etc/yum.repos.d]# ls -l
total 60
drwxr-xr-x  2 root root  4096 Jan 22 04:53 ./
drwxr-xr-x 98 root root 12288 Jun 16 10:36 ../
-rw-r--r--  1 root root  1946 Dec  3  2007 CentOS-Base.repo
-rw-r--r--  1 root root  2049 Nov 22  2007 CentOS-Base.repo.original
-rw-r--r--  1 root root  2323 Mar 16 20:27 CentOS-Base.repo.rpmnew
-rw-r--r--  1 root root   626 Mar 16 20:27 CentOS-Media.repo
-rw-r--r--  1 root root   954 Apr 25  2008 epel.repo_old
-rw-r--r--  1 root root  1054 Apr 25  2008 epel-testing.repo_old
-rw-r--r--  1 root root   684 Mar  8  2007 mirrors-rpmforge
-rw-r--r--  1 root root   428 Mar  8  2007 rpmforge.repo
[email protected] [/etc/yum.repos.d]# mv rpmforge.repo rpmforge.repo_old
[email protected] [/etc/yum.repos.d]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.service.softlayer.com
 * updates: mirrors.service.softlayer.com
 * addons: mirrors.service.softlayer.com
 * extras: mirrors.service.softlayer.com
Excluding Packages in global exclude list
Finished
Setting up Update Process
No Packages marked for Update
[email protected] [/etc/yum.repos.d]#