This email is a bit long, as I want to highlight
how I started this so that you get a better
idea what is going on.

> > How do I get this install to go without having to worry about rpm 
> > dependencies ??
> 
> Did it download the libreadline RPM that it needs? If so, 
> just install it manually before running the install script. 
> If not, install it from your Red Hat CD.

Like I said it was already downloaded when I ran the installer
script. It created a directory "/tmp/extrarpms" under /tmp
with all the required rpms that it needs. The libreadline rpm
is installed by this rpm "readline-4.2-2.i386.rpm". I've checked
this from rpmfind.net as well.

Before I installed their WEBppliance upgrade patch they say to 
update the rpms.

So I ran the command :

rpm -Uvh /tmp/extrarpms/rpm*.rpm

However I hit this problem first:

[EMAIL PROTECTED] /tmp]# rpm -Uvh /tmp/extrarpms/rpm*.rpm
Preparing... #####################################[100%]
1:rpm ##################################### [ 20%]
2:rpm-build ##################################### [ 40%]
3:rpm-devel ##################################### [ 60%]
4:rpm-perl ##################################### [ 80%]
5:rpm-python #####################################[100%]
rpmdb: Suspiciously high nelem of 4294967295 on page 0
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database
verification failed
[EMAIL PROTECTED] /tmp]#

Someone from another forum 
(http://forum.rackshack.net/showthread.php?s=&postid=124109#post124109)
suggested I run this command :

rpm --rebuilddb

I did that and nothing was reported. So I assumed it went ok.
After that I tried to re-install the rpms with the following 
output:

[EMAIL PROTECTED] extrarpms]# rpm --rebuilddb

[EMAIL PROTECTED] extrarpms]# rpm -Uvh /tmp/extrarpms/rpm*.rpm
Preparing... ########################################### [100%]
package rpm-4.0.4-7x.18 is already installed
package rpm-build-4.0.4-7x.18 is already installed
package rpm-devel-4.0.4-7x.18 is already installed
package rpm-perl-4.0.4-7x.18 is already installed
package rpm-python-4.0.4-7x.18 is already installed
[EMAIL PROTECTED] extrarpms]#

I am not sure now if it was suppose to go further than this.

Anyway I ran the installer for the WEBppliance to start
The installation and I get this error:


Determining RPMs which need upgrade/installation... [ OK ]
Starting upgrade. This may take several minutes
to hours depending on the number of sites
Performing pre-install check... (this may take a few minute[FAILED]  

Failed to install service RPMs.  
Installation aborted.
Please review /tmp/installer.err for more information.
[EMAIL PROTECTED] /tmp]#

I had a look at the installer.err and here is the output

##################################################


WEBppliance 3.1.3-4.
Installer version 1.0-17.
Installer error log:
Sun Mar 16 15:30:27 EST 2003
03/16/03 15:31:34 : error: failed dependencies:  
libreadline.so.4.1 is needed by dump-0.4b21-3  
libreadline.so.4.1 is needed by mysql-3.23.54a-3.71  
libreadline.so.4.1 is needed by python-1.5.2-43.71  

##################################################

I tried to install "readline-4.2-2.i386.rpm" first
with this command, and here is the output:

[EMAIL PROTECTED] extrarpms]# rpm -i readline-devel-4.2-2.i386.rpm
error: failed dependencies:
        readline = 4.2 is needed by readline-devel-4.2-2
[EMAIL PROTECTED] extrarpms]#

So now I went and ran this command instead with the following error:

[EMAIL PROTECTED] extrarpms]# rpm -i readline-4.2-2.i386.rpm
file /usr/lib/libhistory.so.4 from install of readline-4.2-2 conflicts
with file from package readline-4.1-9
file /usr/lib/libreadline.so.4 from install of readline-4.2-2 conflicts
with file from package readline-4.1-9
file /usr/share/info/history.info.gz from install of readline-4.2-2
conflicts with file from package readline-4.1-9
file /usr/share/info/readline.info.gz from install of readline-4.2-2
conflicts with file from package readline-4.1-9
file /usr/share/info/rluserman.info.gz from install of readline-4.2-2
conflicts with file from package readline-4.1-9
file /usr/share/man/man3/readline.3.gz from install of readline-4.2-2
conflicts with file from package readline-4.1-9
[EMAIL PROTECTED] extrarpms]#

I am stuck here as I do not know how to deal with conflicts. Does that 
mean I have to uninstall rpm "readline-4.1-9" and then install 
4.2 version or is there a way to force rpm to
ignore conflicts and overwrite using the ones from version 4.2 ?

I basically cannot proceed with the server WEBppliabce upgrade
Until the rpms from the "extrarpms" directory are all installed.

Cheers

Louis.






-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to