On Tue, 26 Aug 2003 13:10:19 +0200
"Mohan, Raj" <[EMAIL PROTECTED]> wrote:

Morning Raj,

>           o It is very difficult to satisfy all the RPM dependencies.

Yes this can be frustrating ;o)


>           o I do not have development environment on my target Linux box
> (bare bone system)to
>             build everything from the source RPMS.

You shouldn't need to compile anything so this is ok.


> 
> When I tried to install from the binary RPMS I got the following error
> messages:
> 
> First I tried to update my RPM 4.0 to RPM 4.1 (required by glibc-2.2.93-5).
> 
> rpm -U rpm-4.1-1.06.i386.rpm
> error: failed dependencies:
>         libelf >= 0.8.2 is needed by rpm-4.1-1.06
>         libbz2.so.1   is needed by rpm-4.1-1.06
>         libelf.so.0   is needed by rpm-4.1-1.06
>         rpm = 3.0.4 is needed by rpm-build-3.0.4-0.48
>         rpm = 3.0.4 is needed by rpm-devel-3.0.4-0.48
>         librpm.so.0 is needed by rpm-build-3.0.4-0.48
>         librpm.so.0 is needed by ucd-snmp-4.1.1-2
>         librpm.so.0 is needed by ucd-snmp-utils-4.1.1-2
>         librpmbuild.so.0 is needed by rpm-build-3.0.4-0.48
> 
> I do have libelf-0.8.2 and libbz2.so.1 on my target machine. Why does RPM
> still complain about it?

RPM doesn't look for the files themselves but rather checks 
its own database to see if you've installed the needed package.
Any chance you installed these libraries by hand ?

> 
> When I try to do glibc upgrade, I get:
> rpm -U glibc-2.2.93-5.i386.rpm
>         glibc-common = 2.2.93-5 is needed by glibc-2.2.93-5
>         glibc-devel < 2.2.3 conflicts with glibc-2.2.93-5
>         glibc > 2.1.3 conflicts with rpm-4.0-6x
>         libdb.so.2 is needed by passwd-0.64.1-1
>         libdb.so.2 is needed by rpm-build-3.0.4-0.48
>         libdb.so.2 is needed by ucd-snmp-4.1.1-2
>         libdb.so.2 is needed by python-1.5.2-13
>         libdb.so.2 is needed by ucd-snmp-utils-4.1.1-2
>         libdb.so.2 is needed by rpm-4.0-6x
>         libdb.so.2(GLIBC_2.0) is needed by python-1.5.2-13
>         libdb.so.2(GLIBC_2.0) is needed by rpm-4.0-6x
>         libdb.so.3 is needed by perl-5.00503-10
>         libdb.so.3 is needed by pam-0.72-6
>         libdb.so.3 is needed by python-1.5.2-13
>         libdb.so.3 is needed by sendmail-8.9.3-20
>         libdb.so.3(GLIBC_2.0) is needed by perl-5.00503-10
>         libdb.so.3(GLIBC_2.0) is needed by python-1.5.2-13
>         libdb.so.3(GLIBC_2.1) is needed by perl-5.00503-10
>         libdb.so.3(GLIBC_2.1) is needed by pam-0.72-6
>         libdb.so.3(GLIBC_2.1) is needed by sendmail-8.9.3-20
> 

The last thing mentioned on each line listed by rpm
is a package that you will have to upgrade at the same
time as you upgrade glibc.   By the way, you're right that
you'll need glibc-common as well.   To make it a bit easier
on yourself remove any of the packages you don't use (if any)
rather than upgrading them:

rpm -e <package name>

Once you've downloaded all the rpms you need into a single
directory (or from CD) you can list them all on the rpm
command line:

rpm -Uvh <package1> <package2> .... <packageN>

or as long as you're in a directory with just the rpms 
you actually need:

rpm -Uvh *.rpm

There are tools like "up2date" and "apt" which resolve all
of these dependencies for you but other people on the list
would be better help with those tools than me.

Crossing my fingers for you...
Sean.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to