Problem during yum update

General support questions including new installations

Problem during yum update

Postby pinotje » 2008/06/27 16:16:03

Hi all,

I'm use CentOS 5 and during the yum update i've got a error:

[root@linuxbak ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package chkconfig.i386 0:1.3.30.1-2 set to be updated
---> Package pam.i386 0:0.99.6.2-3.27.el5 set to be updated
---> Package grub.i386 0:0.97-13.2 set to be updated
---> Package acl.i386 0:2.2.39-3.el5 set to be updated
---> Package php-pdo.i386 0:5.1.6-20.el5 set to be updated
---> Package vsftpd.i386 0:2.0.5-12.el5 set to be updated
---> Package traceroute.i386 3:2.0.1-3.el5 set to be updated
---> Package pciutils.i386 0:2.2.3-5 set to be updated
---> Package nss_db.i386 0:2.2-35.3 set to be updated
---> Package selinux-policy.noarch 0:2.4.6-137.el5 set to be updated
---> Package pcsc-lite.i386 0:1.4.4-0.1.el5 set to be updated
---> Package make.i386 1:3.81-3.el5 set to be updated
---> Package crash.i386 0:4.0-5.0.3.el5.centos set to be updated
---> Package procps.i386 0:3.2.7-9.el5 set to be updated
---> Package m2crypto.i386 0:0.16-6.el5.2 set to be updated
---> Package yum-metadata-parser.i386 0:1.1.2-2.el5 set to be updated
---> Package python.i386 0:2.4.3-21.el5 set to be updated
---> Package wpa_supplicant.i386 1:0.4.8-10.2.el5 set to be updated
---> Package rpm-libs.i386 0:4.4.2-48.el5 set to be updated
---> Package centos-release-notes.i386 0:5.2-2 set to be updated
---> Package diffutils.i386 0:2.8.1-15.2.3.el5 set to be updated
---> Package pcsc-lite-libs.i386 0:1.4.4-0.1.el5 set to be updated
---> Package amtu.i386 0:1.0.6-1.el5 set to be updated
---> Package php-imap.i386 0:5.1.6-20.el5 set to be updated
---> Package psmisc.i386 0:22.2-6 set to be updated
---> Package libstdc++.i386 0:4.1.2-42.el5 set to be updated
---> Package audit-libs.i386 0:1.6.5-9.el5 set to be updated
---> Package binutils.i386 0:2.17.50.0.6-6.el5 set to be updated
---> Package pm-utils.i386 0:0.99.3-6.el5.centos.19 set to be updated
---> Package glibc-devel.i386 0:2.5-24 set to be updated
---> Package libvolume_id.i386 0:095-14.16.el5 set to be updated
---> Package libnl.i386 0:1.0-0.10.pre5.5 set to be updated
---> Package libselinux-python.i386 0:1.33.4-5.el5 set to be updated
---> Package kernel-headers.i386 0:2.6.18-92.1.6.el5 set to be updated
---> Package sudo.i386 0:1.6.8p12-12.el5 set to be updated
---> Package mysql-server.i386 0:5.0.45-7.el5 set to be updated
---> Package checkpolicy.i386 0:1.33.1-4.el5 set to be updated
---> Package audit.i386 0:1.6.5-9.el5 set to be updated
---> Package libgomp.i386 0:4.1.2-42.el5 set to be updated
---> Package kbd.i386 0:1.12-20.el5 set to be updated
---> Package notification-daemon.i386 0:0.3.5-9.el5 set to be updated
---> Package net-tools.i386 0:1.60-78.el5 set to be updated
---> Package cyrus-imapd-perl.i386 0:2.3.7-2.el5 set to be updated
---> Package ipsec-tools.i386 0:0.6.5-9.el5_2.1 set to be updated
---> Package module-init-tools.i386 0:3.3-0.pre3.1.37.el5 set to be updated
---> Package system-config-securitylevel-tui.i386 0:1.6.29.1-2.1.el5 set to be updated
---> Package krb5-libs.i386 0:1.6.1-25.el5 set to be updated
---> Package nss-tools.i386 0:3.11.99.5-2.el5.centos set to be updated
---> Package openssh-clients.i386 0:4.3p2-26.el5 set to be updated
---> Package iptables.i386 0:1.3.5-4.el5 set to be updated
---> Package bind-utils.i386 30:9.3.4-6.P1.el5 set to be updated
---> Package perl.i386 4:5.8.8-10.el5_2.3 set to be updated
---> Package php-cli.i386 0:5.1.6-20.el5 set to be updated
---> Package libgcc.i386 0:4.1.2-42.el5 set to be updated
---> Package cyrus-imapd.i386 0:2.3.7-2.el5 set to be updated
---> Package policycoreutils.i386 0:1.33.12-14.el5 set to be updated
---> Package util-linux.i386 0:2.13-0.47.el5 set to be updated
---> Package libuser.i386 0:0.54.7-2.el5.5 set to be updated
---> Package initscripts.i386 0:8.45.19.EL-1.el5.centos.1 set to be updated
---> Package yum.noarch 0:3.2.8-9.el5.centos.2.1 set to be updated
---> Package kpartx.i386 0:0.4.7-17.el5 set to be updated
---> Package libselinux.i386 0:1.33.4-5.el5 set to be updated
---> Package openssh.i386 0:4.3p2-26.el5 set to be updated
---> Package authconfig.i386 0:5.3.21-3.el5 set to be updated
---> Package parted.i386 0:1.8.1-17.el5 set to be updated
---> Package cpp.i386 0:4.1.2-42.el5 set to be updated
---> Package bash.i386 0:3.2-21.el5 set to be updated
---> Package ntp.i386 0:4.2.2p1-8.el5.centos.1 set to be updated
---> Package bind-libs.i386 30:9.3.4-6.P1.el5 set to be updated
---> Package cups-libs.i386 1:1.2.4-11.18.el5_2.1 set to be updated
---> Package irqbalance.i386 2:0.55-10.el5 set to be updated
---> Package glibc.i686 0:2.5-24 set to be updated
---> Package device-mapper.i386 0:1.02.24-1.el5 set to be updated
---> Package php-mbstring.i386 0:5.1.6-20.el5 set to be updated
---> Package sysklogd.i386 0:1.4.1-44.el5 set to be updated
---> Package dbus.i386 0:1.0.0-7.el5 set to be updated
---> Package coolkey.i386 0:1.1.0-6.el5 set to be updated
---> Package apr-util.i386 0:1.2.7-7.el5 set to be updated
---> Package newt.i386 0:0.52.2-10.el5 set to be updated
---> Package nspr.i386 0:4.7.0.99.2-1.el5 set to be updated
---> Package smartmontools.i386 1:5.36-4.el5 set to be updated
---> Package glibc-headers.i386 0:2.5-24 set to be updated
---> Package tcpdump.i386 14:3.9.4-12.el5 set to be updated
---> Package mkinitrd.i386 0:5.1.19.6-28 set to be updated
---> Package rpm-python.i386 0:4.4.2-48.el5 set to be updated
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
---> Package php-mysql.i386 0:5.1.6-20.el5 set to be updated
---> Package system-config-network-tui.noarch 0:1.3.99.10-2.el5 set to be updated
---> Package php-gd.i386 0:5.1.6-20.el5 set to be updated
---> Package popt.i386 0:1.10.2-48.el5 set to be updated
---> Package net-snmp-libs.i386 1:5.3.1-24.el5_2.1 set to be updated
---> Package shadow-utils.i386 2:4.0.17-13.el5 set to be updated
---> Package cyrus-imapd-utils.i386 0:2.3.7-2.el5 set to be updated
---> Package selinux-policy-targeted.noarch 0:2.4.6-137.el5 set to be updated
---> Package gzip.i386 0:1.3.5-10.el5.centos set to be updated
---> Package hwdata.noarch 0:0.213.6-1.el5 set to be updated
---> Package kudzu.i386 0:1.2.57.1.17-1 set to be updated
---> Package paps.i386 0:0.6.6-18.el5 set to be updated
---> Package audit-libs-python.i386 0:1.6.5-9.el5 set to be updated
---> Package ksh.i386 0:20060214-1.7 set to be updated
---> Package nss.i386 0:3.11.99.5-2.el5.centos set to be updated
---> Package libacl.i386 0:2.2.39-3.el5 set to be updated
---> Package dhclient.i386 12:3.0.5-13.el5 set to be updated
---> Package freetype.i386 0:2.2.1-20.el5_2 set to be updated
---> Package openssh-server.i386 0:4.3p2-26.el5 set to be updated
---> Package php.i386 0:5.1.6-20.el5 set to be updated
---> Package libX11.i386 0:1.0.3-9.el5 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-17.el5 set to be updated
---> Package iproute.i386 0:2.6.18-7.el5 set to be updated
---> Package e2fsprogs.i386 0:1.39-15.el5 set to be updated
---> Package kernel.i686 0:2.6.18-92.1.6.el5 set to be installed
---> Package coreutils.i386 0:5.97-14.el5 set to be updated
---> Package openssl.i686 0:0.9.8b-10.el5 set to be updated
---> Package yum-updatesd.noarch 1:0.9-2.el5 set to be updated
---> Package libhugetlbfs.i386 0:1.2-5.el5 set to be updated
---> Package lvm2.i386 0:2.02.32-4.el5 set to be updated
---> Package udev.i386 0:095-14.16.el5 set to be updated
---> Package hal.i386 0:0.5.8.1-35.el5 set to be updated
---> Package centos-release.i386 10:5-2.el5.centos set to be updated
---> Package file.i386 0:4.17-13 set to be updated
---> Package oddjob.i386 0:0.27-9.el5 set to be updated
---> Package rpm.i386 0:4.4.2-48.el5 set to be updated
---> Package php-common.i386 0:5.1.6-20.el5 set to be updated
---> Package libpcap.i386 14:0.9.4-12.el5 set to be updated
---> Package autofs.i386 1:5.0.1-0.rc2.88 set to be updated
---> Package oddjob-libs.i386 0:0.27-9.el5 set to be updated
---> Package krb5-workstation.i386 0:1.6.1-25.el5 set to be updated
---> Package nash.i386 0:5.1.19.6-28 set to be updated
---> Package cairo.i386 0:1.2.4-5.el5 set to be updated
---> Package glibc-common.i386 0:2.5-24 set to be updated
---> Package htmlview.noarch 0:4.0.0-2.el5 set to be updated
---> Package mysql.i386 0:5.0.45-7.el5 set to be updated
---> Package iptables-ipv6.i386 0:1.3.5-4.el5 set to be updated
---> Package gtk2.i386 0:2.10.4-20.el5 set to be updated
---> Package cpuspeed.i386 1:1.2.1-3.el5 set to be updated
---> Package e2fsprogs-libs.i386 0:1.39-15.el5 set to be updated
---> Package usermode.i386 0:1.88-3.el5.1 set to be updated
---> Package dmraid.i386 0:1.0.0.rc13-9.el5 set to be updated
---> Package microcode_ctl.i386 1:1.17-1.47.el5 set to be updated
---> Package ntsysv.i386 0:1.3.30.1-2 set to be updated
--> Running transaction check
--> Processing Conflict: nss conflicts prelink <= 0.3.9-2
--> Processing Dependency: yum-fastestmirror for package: yum
--> Processing Dependency: python-iniparse for package: yum
--> Processing Dependency: gamin-python for package: yum-updatesd
--> Processing Dependency: device-mapper-event for package: lvm2
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package yum-fastestmirror.noarch 0:1.1.10-9.el5.centos set to be updated
---> Package python-iniparse.noarch 0:0.2.3-4.el5 set to be updated
---> Package gamin-python.i386 0:0.1.7-8.el5 set to be updated
---> Package device-mapper-event.i386 0:1.02.24-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libgamin-1.so.0 for package: gamin-python
--> Processing Conflict: nss conflicts prelink <= 0.3.9-2
--> Processing Dependency: gamin = 0.1.7 for package: gamin-python
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package gamin.i386 0:0.1.7-8.el5 set to be updated
--> Running transaction check
--> Processing Conflict: nss conflicts prelink <= 0.3.9-2
--> Finished Dependency Resolution
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.18-53.1.13.el5 set to be erased
--> Running transaction check
--> Processing Conflict: nss conflicts prelink <= 0.3.9-2
--> Finished Dependency Resolution
Error: nss conflicts with prelink <= 0.3.9-2
[root@linuxbak ~]#


What does it mean: Error: nss conflicts with prelink <= 0.3.9-2 ? How do i fix this problem? Do i have to delete nss or prelink?

My repo is as follow:

[root@linuxbak yum.repos.d]# ls -lah /etc/yum.repos.d
total 32K
drwxr-xr-x 2 root root 4.0K Nov 10 2007 .
drwxr-xr-x 70 root root 4.0K Jun 26 16:23 ..
-rw-r--r-- 1 root root 2.1K Nov 23 2007 CentOS-Base.repo
-rw-r--r-- 1 root root 622 Nov 23 2007 CentOS-Media.repo
[root@linuxbak yum.repos.d]# cat CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[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-CentOS-5

#released updates
[updates]
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-CentOS-5

#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-CentOS-5

#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-CentOS-5

#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=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[root@linuxbak yum.repos.d]#
pinotje
 
Posts: 9
Joined: 2007/02/13 10:35:11

Re: Problem during yum update

Postby toracat » 2008/06/27 17:01:38

Your problem seems rather unusual (not seen by others). What is the output of rpm -q prelink ?
User avatar
toracat
Forum Moderator
 
Posts: 6695
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Problem during yum update

Postby WhatsHisName » 2008/06/27 20:03:49

Maybe you have two versions of a package installed due to a failed past cleanup and the older one is causing the conflict. If present, removing the older one should help.

Try running "yum list nss prelink" and compare installed versions with available. Depending on the history of your system, you may find all sorts of odd things in that listing.

It's unlikely to work in this case, but try updating nss and prelink individually.

Also, you can try removing prelink, update nss and then reinstall prelink, but proceed with caution. You don't want to remove other vital packages in the process.
User avatar
WhatsHisName
 
Posts: 1497
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: Problem during yum update

Postby pinotje » 2008/06/28 19:57:27

toracat wrote:
Your problem seems rather unusual (not seen by others). What is the output of rpm -q prelink ?


[root@linuxbak ~]# yum list nss prelink
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
nss.i386 3.11.7-1.3.el5.centos installed
nss.i386 3.11.5-3.el5.centos installed
prelink.i386 0.3.9-2 installed
prelink.i386 0.3.9-2.1 installed
Available Packages
nss.i386 3.11.99.5-2.el5.centos base
[root@linuxbak ~]# rpm -q prelink
prelink-0.3.9-2
prelink-0.3.9-2.1
[root@settcom ~]# rpm -q nss
nss-3.11.5-3.el5.centos
nss-3.11.7-1.3.el5.centos
[root@linuxbak ~]#

do i have to remove prelink?
pinotje
 
Posts: 9
Joined: 2007/02/13 10:35:11

Re: Problem during yum update

Postby toracat » 2008/06/28 20:25:45

You would need to remove the latest prelink from the rpm database (not the actual package) then install it again. Follow these steps:

rpm -e --justdb --nodeps prelink-0.3.9-2.1

yum update prelink

The yum command above will install the latest prelink (0.3.9-2.1). After that, try yum update. It should go through this time. If that fails again, your rpm database would need a bit more cleaning.
User avatar
toracat
Forum Moderator
 
Posts: 6695
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Problem during yum update

Postby richard_chapman » 2008/07/23 12:13:54

Hi Toracat and others...
Actually this problem can't be a one off - because I have the same problem. I followed Toracat's instructions below - and the problem seems to be solved. I don't really understand it - or know how I got into this position - but as usual - good advice was available at centos.

Richard.
richard_chapman
 
Posts: 251
Joined: 2006/09/08 02:54:11

Re: Problem during yum update

Postby toracat » 2008/07/23 15:52:15

richard_chapman wrote:
Hi Toracat and others...
Actually this problem can't be a one off - because I have the same problem. I followed Toracat's instructions below - and the problem seems to be solved. I don't really understand it - or know how I got into this position - but as usual - good advice was available at centos.

Richard.

This kind of trouble could happen, for example, when a yum session is interrupted. Depending on at which step it occurred, it may result in duplicates of installed packages (existence of an old and a new version) on the system. In a case like this, the remedy is to delete the newer one(s) in the database leaving the oldest intact and let yum find and install the latest.
User avatar
toracat
Forum Moderator
 
Posts: 6695
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Problem during yum update

Postby richard_chapman » 2008/07/25 06:53:34

Thanks Toracat.... I now have a slightly different but possible related error. Now it gets through the initial dependency check but fails later thus:
Transaction Summary
=============================================================================
Install 21 Package(s)
Update 404 Package(s)
Remove 12 Package(s)

Total download size: 891 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/lib/perl5/5.8.8/pod/perldiag.pod from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/c2ph.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/cpan.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/dprofpp.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/enc2xs.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/find2perl.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/h2ph.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/h2xs.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/instmodsh.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/libnetcfg.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/perlbug.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/perlcc.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/perldiag.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/perlivp.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/piconv.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/pl2pm.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/pod2html.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/pod2latex.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/pod2man.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/pod2text.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/pod2usage.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/podchecker.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/podselect.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/prove.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/psed.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/pstruct.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/s2p.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/splain.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
file /usr/share/man/man1/xsubpp.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2

Error Summary
-------------
Because this error is a little different - I thought I would check with you before trying a similar solution. Here is the rpm -q output:
[root@C5 ~]# rpm -q perl
perl-5.8.8-10.el5_0.2
perl-5.8.8-10.el5_0.2
[root@C5 ~]#


I'm not sure why it shows 2 apparently identical versions. I use webmin to mange the server which is a perl application - so I am a little reluctant to remove perl unless you can see no other way. Any ideas how this error couls have come about?

Regards

Richard.
richard_chapman
 
Posts: 251
Joined: 2006/09/08 02:54:11

Re: Problem during yum update

Postby NedSlider » 2008/07/25 11:11:25

richard_chapman wrote:

[root@C5 ~]# rpm -q perl
perl-5.8.8-10.el5_0.2
perl-5.8.8-10.el5_0.2
[root@C5 ~]#


I'm not sure why it shows 2 apparently identical versions. I use webmin to mange the server which is a perl application - so I am a little reluctant to remove perl unless you can see no other way. Any ideas how this error couls have come about?


Richard,

Are you running 64-bit (x86_64)?

Can you please try the following and post the output:

Code: Select all
rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' perl


If you're running 64-bit (x86_64), you may find both .i386 and .x86_64 versions installed, although on my system I only see the x86_64 versions installed:

Code: Select all
rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' perl
perl-5.8.8-10.el5_2.3.x86_64


...then we'll let toracat take over again :-)
NedSlider
 
Posts: 2848
Joined: 2005/10/28 13:11:50
Location: UK

Re: Problem during yum update

Postby richard_chapman » 2008/07/25 14:48:44

Hi Nedslider
You guessed right. I am running x86_64, and here are the results:

[root@C5 ~]# rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' perl
perl-5.8.8-10.el5_0.2.i386
perl-5.8.8-10.el5_0.2.x86_64
[root@C5 ~]#

Looks like your guess was right. I'm not sure that this explains the file conflicts though??? Either way - how would you suggest we install the new perl module?

I have installed all the current (5.2) updates except perl - and everything else went through fine.

Regards
Richard.
richard_chapman
 
Posts: 251
Joined: 2006/09/08 02:54:11

Next

Return to CentOS 5 - General Support

Who is online

Users browsing this forum: No registered users and 3 guests