Message during yum update

nealdxmhost

Verified User
Joined
Jan 1, 2009
Messages
232
Location
Los Angeles CA
Noob/rookie/greenhorn question of the day.....

When I run "yum update" the update goes through OK but I notice some messages that have me wondering if I should be concerned about anything.

After spending some time poking around on Google to see if there is something there with no results, or at least results that I can make heads or tails of I posting here in the offhand event someone else has run into the same thing as myself and has mercy on this greenhorn.

Here is what I am getting;
Code:
[root@cp ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.san.fastserv.com
 * extras: centos-distro.cavecreek.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.bluehost.com
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package gdbm.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package gdbm.x86_64 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package gdbm-devel.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package gdbm-devel.x86_64 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package libuser.i386 0:0.54.7-2.1.el5_5.2 set to be updated
---> Package libuser.x86_64 0:0.54.7-2.1.el5_5.2 set to be updated
---> Package libuser-devel.i386 0:0.54.7-2.1.el5_5.2 set to be updated
---> Package libuser-devel.x86_64 0:0.54.7-2.1.el5_5.2 set to be updated
---> Package mpg123.x86_64 0:1.13.3-1.el5.rf set to be updated
---> Package xorg-x11-server-utils.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                  Arch      Version                   Repository   Size
================================================================================
Updating:
 gdbm                     i386      1.8.0-26.2.1.el5_6.1      updates      28 k
 gdbm                     x86_64    1.8.0-26.2.1.el5_6.1      updates      28 k
 gdbm-devel               i386      1.8.0-26.2.1.el5_6.1      updates      37 k
 gdbm-devel               x86_64    1.8.0-26.2.1.el5_6.1      updates      38 k
 libuser                  i386      0.54.7-2.1.el5_5.2        updates     438 k
 libuser                  x86_64    0.54.7-2.1.el5_5.2        updates     450 k
 libuser-devel            i386      0.54.7-2.1.el5_5.2        updates      55 k
 libuser-devel            x86_64    0.54.7-2.1.el5_5.2        updates      55 k
 mpg123                   x86_64    1.13.3-1.el5.rf           rpmforge    416 k
 xorg-x11-server-utils    x86_64    7.1-5.el5_6.2             updates     172 k

Transaction Summary
================================================================================
Install       0 Package(s)
Upgrade      10 Package(s)

Total size: 1.7 M
Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): libuser-devel-0.54.7-2.1.el5_5.2.x86_64.rpm       |  55 kB     00:00
http://mirrors.bluehost.com/centos/5.6/updates/x86_64/RPMS/libuser-devel-0.54.7-2.1.el5_5.2.x86_64.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
(1/5): libuser-devel-0.54.7-2.1.el5_5.2.x86_64.rpm       |  55 kB     00:00
(2/5): libuser-devel-0.54.7-2.1.el5_5.2.i386.rpm         |  55 kB     00:00
http://centos.mirror.facebook.net/5.6/updates/x86_64/RPMS/libuser-devel-0.54.7-2.1.el5_5.2.i386.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
(2/5): libuser-devel-0.54.7-2.1.el5_5.2.i386.rpm         |  55 kB     00:00
(3/5): mpg123-1.13.3-1.el5.rf.x86_64.rpm                 | 416 kB     00:03
(4/5): libuser-0.54.7-2.1.el5_5.2.i386.rpm               | 438 kB     00:00
http://mirror.flhsi.com/centos/5.6/updates/x86_64/RPMS/libuser-0.54.7-2.1.el5_5.2.i386.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
(4/5): libuser-0.54.7-2.1.el5_5.2.i386.rpm               | 438 kB     00:00
(5/5): libuser-0.54.7-2.1.el5_5.2.x86_64.rpm             | 450 kB     00:00
http://mirrors.cat.pdx.edu/centos/5.6/updates/x86_64/RPMS/libuser-0.54.7-2.1.el5_5.2.x86_64.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
(5/5): libuser-0.54.7-2.1.el5_5.2.x86_64.rpm             | 450 kB     00:01
--------------------------------------------------------------------------------
Total                                           148 kB/s | 1.4 MB     00:09
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : gdbm      1/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Updating       : libuser   2/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Updating       : libuser   3/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Updating       : gdbm      4/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Updating       : mpg123    5/20
  Updating       : libuser-devel                                           6/20
  Updating       : xorg-x11-server-utils                                   7/20
  Updating       : libuser-devel                                           8/20
  Updating       : gdbm-devel                                              9/20
  Updating       : gdbm-devel                                             10/20
  Cleanup        : gdbm     11/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Cleanup        : libuser-devel                                          12/20
  Cleanup        : libuser-devel                                          13/20
  Cleanup        : gdbm     14/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Cleanup        : xorg-x11-server-utils                                  15/20
  Cleanup        : libuser  16/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Cleanup        : libuser  17/20
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.
  Cleanup        : mpg123   18/20
  Cleanup        : gdbm-devel                                             19/20
  Cleanup        : gdbm-devel                                             20/20

Updated:
  gdbm.i386 0:1.8.0-26.2.1.el5_6.1
  gdbm.x86_64 0:1.8.0-26.2.1.el5_6.1
  gdbm-devel.i386 0:1.8.0-26.2.1.el5_6.1
  gdbm-devel.x86_64 0:1.8.0-26.2.1.el5_6.1
  libuser.i386 0:0.54.7-2.1.el5_5.2
  libuser.x86_64 0:0.54.7-2.1.el5_5.2
  libuser-devel.i386 0:0.54.7-2.1.el5_5.2
  libuser-devel.x86_64 0:0.54.7-2.1.el5_5.2
  mpg123.x86_64 0:1.13.3-1.el5.rf
  xorg-x11-server-utils.x86_64 0:7.1-5.el5_6.2

The item that has me wondering if I need to fix something is this;
Code:
/sbin/ldconfig: libraries libpng12.so.0 and libpng.so in directory /usr/lib have same soname but different type.

Any thoughts????
 
Ive read googling that depend on two different version of same library installed on the system

related here:
http://www.linuxquestions.org/questions/slackware-14/same-soname-but-different-type-322326/

and here:
http://www.webhostingtalk.com/showthread.php?t=597142

They suggest to make a symlink from the older one to the newest one

So please past the output of:

Code:
ls -l /usr/lib/libpng.so
ls -l /usr/lib/libpng.so.0

Or find out the newest one of those two lib and remove the older creating a symlink with same name to the newest

Regards
 
Another way to go is:

Code:
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'expat*' 'libpng*'

Remove the older versions using the output from the command above, for example;

Code:
rpm -e libpng-devel-VER --allmatches

Changing VER with the older version

Regards
 
This is what I am getting;

Code:
[root@cp ~]# ls -l /usr/lib/libpng.so
lrwxrwxrwx 1 root root 11 Jul 17  2010 /usr/lib/libpng.so -> libpng12.so

and

Code:
[root@cp ~]# ls: /usr/lib/libpng.so.0: No such file or directory
bash: ls:: command not found

Therefore I would presume if I ran the following;
Code:
ln -s usr/lib/libpng.so usr/lib/libpng.so.0
Correct me if I am wrong.
 
Yes but you misswrote the second command
Code:
[root@cp ~]# ls: /usr/lib/libpng.so.0: No such file or directory
bash: ls:: command not found

You wrote ls:
in fat the error is ls:: command not found :)

Retry it

Code:
ls /usr/lib/libpng.so.0

Regards
 
Another way to go is:

Code:
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'expat*' 'libpng*'

Remove the older versions using the output from the command above, for example;

Code:
rpm -e libpng-devel-VER --allmatches

Changing VER with the older version

Regards

Here where I run the first command I am getting this result;
Code:
[root@cp ~]# rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'expat*' 'libpng*'
expat-1.95.8-8.3.el5_5.3.i386
libpng-devel-1.2.10-7.1.el5_5.3.x86_64
libpng-1.2.10-7.1.el5_5.3.i386
libpng-devel-1.2.10-7.1.el5_5.3.i386
expat-devel-1.95.8-8.3.el5_5.3.x86_64
libpng-1.2.10-7.1.el5_5.3.x86_64
expat-1.95.8-8.3.el5_5.3.x86_64
expat-devel-1.95.8-8.3.el5_5.3.i386

Anyhow I thought I would wait for an additional followup before I run the second command you suggested. FYI the system is CENTOS 5.6 (I believe) 64 bit on a P4 with 2GB physical memory.
 
Yes but you misswrote the second command
Code:
[root@cp ~]# ls: /usr/lib/libpng.so.0: No such file or directory
bash: ls:: command not found

You wrote ls:
in fat the error is ls:: command not found :)

Retry it

Code:
ls /usr/lib/libpng.so.0

Regards

That is odd, perhaps a typo on my part during my response. Here is the result again;
Code:
[root@cp ~]# ls -l /usr/lib/libpng.so.0
bash: [root@cp: command not found
 
Ok, so the right command to remove the older libpng version is

Code:
rpm -e libpng-devel-1.2.10-7.1.el5_5.3.i386 libpng-1.2.10-7.1.el5_5.3.i386 --allmatches

Regards
 
That is odd, perhaps a typo on my part during my response. Here is the result again;
Code:
[root@cp ~]# ls -l /usr/lib/libpng.so.0
bash: [root@cp: command not found

Ok this is still strange o.O why doesnt recognis ls command...

Try:

Code:
ls -l /usr/lib/libpng.so.*

Or remove directly the packages as i wrote in previous post

Regards
 
Ok, so the right command to remove the older libpng version is

Code:
rpm -e libpng-devel-1.2.10-7.1.el5_5.3.i386 libpng-1.2.10-7.1.el5_5.3.i386 --allmatches

Regards

Gave that a whirl and this is what I come up with;
Code:
[root@cp ~]# rpm -e libpng-devel-1.2.10-7.1.el5_5.3.i386 libpng-1.2.10-7.1.el5_5.3.i386 --allmatches
error: Failed dependencies:
        libpng12.so.0 is needed by (installed) cairo-1.2.4-5.el5.i386
        libpng12.so.0 is needed by (installed) gtk2-2.10.4-20.el5.i386
        libpng12.so.0 is needed by (installed) libwmf-0.2.8.4-10.2.i386
        libpng12.so.0 is needed by (installed) librsvg2-2.16.1-1.el5.i386
        libpng12.so.0 is needed by (installed) gd-2.0.33-9.4.el5_4.2.i386
        libpng12.so.0 is needed by (installed) gtk2-2.10.4-21.el5_5.6.i386
        libpng12.so.0 is needed by (installed) cups-libs-1.3.7-26.el5_6.1.i386
        libpng12.so.0(PNG12_0) is needed by (installed) cairo-1.2.4-5.el5.i386
        libpng12.so.0(PNG12_0) is needed by (installed) gtk2-2.10.4-20.el5.i386
        libpng12.so.0(PNG12_0) is needed by (installed) libwmf-0.2.8.4-10.2.i386
        libpng12.so.0(PNG12_0) is needed by (installed) gd-2.0.33-9.4.el5_4.2.i386
        libpng12.so.0(PNG12_0) is needed by (installed) gtk2-2.10.4-21.el5_5.6.i386
        libpng12.so.0(PNG12_0) is needed by (installed) cups-libs-1.3.7-26.el5_6.1.i386
 
mmmmh... ok... my mistake.. i missread the list.

So, return to:

Code:
ls -l /usr/lib/libpng.so.*

And lets see where the .0 (if exist) go..

If doesnt exist, make a symlink

Code:
ln -s /usr/lib/libpng.so /usr/lib/libpng.so.0

And then try again yum update

Regards
 
mmmmh... ok... my mistake.. i missread the list.

So, return to:

Code:
ls -l /usr/lib/libpng.so.*

And lets see where the .0 (if exist) go..

If doesnt exist, make a symlink

Code:
ln -s /usr/lib/libpng.so /usr/lib/libpng.so.0

And then try again yum update

Regards

That worked!!!
Thanks
 
Back
Top