I'm trying to upgrade MySQL from 4.1.20 up to 5.1.39. v4.1 was installed via RPMs with no issue, but attempting to upgrade throws up several warnings which appear erroneous, such as:
# rpm --upgrade MySQL-client-5.1.39-0.glibc23.i386.rpm warning: MySQL-client-5.1.39-0.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 error: Failed dependencies: libncursesw.so.5 is needed by MySQL-client-5.1.39-0.glibc23 #
Even though I have it installed at /usr/lib/libncurses.so.5
I'm also getting:
# rpm --upgrade MySQL-server-5.1.39-0.glibc23.i386.rpm warning: MySQL-server-5.1.39-0.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 error: Failed dependencies: perl(DBI) is needed by MySQL-server-5.1.39-0.glibc23 #
even though the reported version is 1.609:
# perl -M'DBI 999' -e1 DBI version 999 required--this is only version 1.609.
How can I make RPM see that they're installed? Or is now the time to revert to building from source?
EDIT:
For the record, this is a fairly old Redhat box (i686, although I was trying the i386 RPMs)
Best Answer
Some questions/comments:
libncursesw.so.5
!=libncurses.so.5
rpm -qf /usr/lib/libncurses.so.5
? This will shown from where you've got your libncurses.so.5 file. You could then userpm -qlv <PKG>
to check the contents of this package forlibncursesw.so.5
.