[99766] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: HELP:rpm -i says it's installed, rpm -V says it's not

daemon@ATHENA.MIT.EDU (Jan Carlson)
Mon Nov 16 23:27:25 1998

Date: Mon, 16 Nov 1998 22:35:24 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

It may be just package name vs. name of the rpm file,
and rpm -i vs rpm -U...

My name wrote:

> THIS IS WHAT I REALLY WANT, INSTALL MYSQL,
> TO DO THAT I HAVE TO UPGRADE LINUXTHREADS,
> TO DO THAT I NEED UPGRADE LDCONFIG IT SEEMS, LD. HAS SBIN/LDCONFIG IN IT.
> But, this rpm cannot be installed, because it already is installed
> (according to installation).  But it also cannot be uninstalled, because it
> is not installed (according to Verify or install in rpm).  I am completely
> lost.
>
> I once had a similar problem, I was told to upgrade rpm.  I tried to
> upgrade to the rpm found in redhat5.2, but it will not upgrade, it dies
> with something like: "datatype 9 not supported". My redhat is version 3
> with a few selective upgrades
>
> [root@localhost old3.20]# rpm -i --test mysql-3_20_32a-3_i386.rpm
> failed dependencies:
>         linuxthreads >= 0.6 is needed by mysql-3.20.32a-3
> [root@localhost old3.20]#
>
> [root@localhost old3.20]# rpm -i --test --upgrade linuxthreads-0_7-2_i386.rpm
> failed dependencies:
>         /sbin/ldconfig   is needed by linuxthreads-0.7-2
> [root@localhost old3.20]#
>
> [root@localhost old3.20]# rpm -i --test linuxthreads-0_7-2_i386.rpm
> failed dependencies:
>         /sbin/ldconfig   is needed by linuxthreads-0.7-2
> [root@localhost old3.20]#
>
> [root@localhost rpm4.2]# rpm -V ld.so-1.7.14-5.i386.rpm
> package ld.so-1.7.14-5.i386.rpm is not installed

Try
# rpm -V ld.so               (verify installed 'package' against rpm database)
or
# rpm -Vp ld.so-1.7.14-5.i386.rpm             (verfy installed package against
rpm file)

If you want two different versions of ld.so installed, use
# rpm -iv pkg-ver.rpm
If you want just one installed, use
# rpm -Uvh pkg-ver.rpm


>
> [root@localhost rpm4.2]# rpm -i ld.so-1.7.14-5.i386.rpm
> package ld.so-1.7.14-5 is already installed
> error: ld.so-1.7.14-5.i386.rpm cannot be installed
> [root@localhost rpm4.2]# rpm -i --force ld.so-1.7.14-5.i386.rpm
> [root@localhost rpm4.2]# rpm -V ld.so-1.7.14-5.i386.rpm
> package ld.so-1.7.14-5.i386.rpm is not installed
> [root@localhost rpm4.2]#
>
> [root@localhost old3.20]# rpm -i --test linuxthreads-0_7-2_i386.rpm
> failed dependencies:
>         /sbin/ldconfig   is needed by linuxthreads-0.7-2
> [root@localhost old3.20]#
>
> [root@localhost rpm4.2]# rpm -i --force -vv ld.so-1.7.14-5.i386.rpm
> D: counting packages to install
> D: found 1 packages
> D: looking for packages to download
> D: retrieved 0 packages
> D: finding source and binary packages
> D: New Header signature
> D: Signature size: 236
> D: Signature pad : 4
> D: sigsize         : 240
> D: Header + Archive: 110578
> D: expected size   : 110578
> D: found 0 source and 1 binary packages
> D: opening database mode: 0102
> D: opening database in //var/lib/rpm/
> D: installing binary packages
> Installing ld.so-1.7.14-5.i386.rpm
> D: New Header signature
> D: Signature size: 236
> D: Signature pad : 4
> D: sigsize         : 240
> D: Header + Archive: 110578
> D: expected size   : 110578
> D: package: ld.so-1.7.14-5 files test = 0
> D: package ld.so-1.7.14-5 contain shared files
> D: file /lib/ld-linux.so.1 is shared
> D: file /lib/ld-linux.so.1.7.14 is shared
> D: file /lib/ld.so is shared
> D: file /lib/ld.so.1.7.14 is shared
> D: file /lib/libdl.so is shared
> D: file /lib/libdl.so.1.7.14 is shared
> D: file /sbin/ldconfig is shared
> D: file /usr/bin/ldd is shared
> D: file /usr/include/dlfcn.h is shared
> D: file /usr/man/man1/ldd.1 is shared
> D: file /usr/man/man3/dlclose.3 is shared
> D: file /usr/man/man3/dlerror.3 is shared
> D: file /usr/man/man3/dlopen.3 is shared
> D: file /usr/man/man3/dlsym.3 is shared
> D: file /usr/man/man8/ld.so.8 is shared
> D: file /usr/man/man8/ldconfig.8 is shared
> D: running preinstall script (if any)
> : setting file owners and groups by name (not id)
> D: /lib/ld-linux.so.1 owned by root (0), group root (0) mode 755
> D: /lib/ld-linux.so.1.7.14 owned by root (0), group root (0) mode 755
> D: /lib/ld.so owned by root (0), group root (0) mode 755
> D: /lib/ld.so.1.7.14 owned by root (0), group root (0) mode 755
> D: /lib/libdl.so owned by root (0), group root (0) mode 777
> D: /lib/libdl.so.1.7.14 owned by root (0), group root (0) mode 755
> D: /sbin/ldconfig owned by root (0), group root (0) mode 755
> D: /usr/bin/ldd owned by root (0), group root (0) mode 755
> D: /usr/include/dlfcn.h owned by root (0), group root (0) mode 644
> D: /usr/man/man1/ldd.1 owned by root (0), group root (0) mode 644
> D: /usr/man/man3/dlclose.3 owned by root (0), group root (0) mode 777
> D: /usr/man/man3/dlerror.3 owned by root (0), group root (0) mode 777
> D: /usr/man/man3/dlopen.3 owned by root (0), group root (0) mode 644
> D: /usr/man/man3/dlsym.3 owned by root (0), group root (0) mode 777
> D: /usr/man/man8/ld.so.8 owned by root (0), group root (0) mode 644
> D: /usr/man/man8/ldconfig.8 owned by root (0), group root (0) mode 644
> D: removing name index
> D: removing group index
> D: removing provides index for libdl.so.1
> D: removing provides index for ld-linux.so.1.7.14
> D: removing provides index for ld-linux.so.1
> D: removing file index for /lib/ld-linux.so.1
> D: removing file index for /lib/ld-linux.so.1.7.14
> D: removing file index for /lib/ld.so
> D: removing file index for /lib/ld.so.1.7.14
> D: removing file index for /lib/libdl.so
> D: removing file index for /lib/libdl.so.1.7.14
> D: removing file index for /sbin/ldconfig
> D: removing file index for /usr/bin/ldd
> D: removing file index for /usr/include/dlfcn.h
> D: removing file index for /usr/man/man1/ldd.1
> D: removing file index for /usr/man/man3/dlclose.3
> D: removing file index for /usr/man/man3/dlerror.3
> D: removing file index for /usr/man/man3/dlopen.3
> D: removing file index for /usr/man/man3/dlsym.3
> D: removing file index for /usr/man/man8/ld.so.8
> D: removing file index for /usr/man/man8/ldconfig.8
> D: running postinstall script (if any)
> D: script found - running from file /tmp/01962aaa
> + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
> + export PATH
> + /sbin/ldconfig
> [root@localhost rpm4.2]#
>
>         Mario Heilmann
>    a3@a3.com    http://www.a3.com/
> Beverly Hills, California:
>    001 (310) 734-1511 (fax)
>    001(310)734-1613 (voice message)
> Munich, Germany:
>    (+49) 89 921-85256 (fax/voice message)
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with
>                        "unsubscribe" as the Subject.

--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2






-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post