[Lel3_user] Update 4 problems

Raimo Koski lel3_user@www.raimokoski.com
Tue, 01 Feb 2005 08:22:32 +0200


Update 4 has some problematic packages.

rpm*4.2.3-13.i386.rpm
=====================

This was released only as a paid update, but was recalled soon after 
release. Apparently it must be built after updating to glibc which is a 
part of Update 4. If you have installed it, there are two solutions. 
Either downgrade rpm-libs to version rpm-libs-4.2.3-10.i386.rpm by hand 
(mc can "dive" into rpm packages and you can easily copy files from 
them. There also other file manager type of applications which have the 
same capability). This is quite ugly and not recommended because there 
is a better solution. Create or add to the file /etc/rpm/macros a line:

%__dbi_cdb  create cdb private mpool mp_mmapsize=16Mb mp_size=1Mb

A similar bug is described at:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82764

If you give any rpm command you should see:

rpmdb: Berkeley DB library configured to support only DB_PRIVATE 
environments
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm

if you are bitten by this bug. If you get any other unusual error 
message, the standard way of fixing it is to issue the command:

rm /var/lib/rpm/__*

And also in some cases:

rpm --rebuilddb

The reason Lineox will continue to wait with releasing 
rpm*4.2.3-13.i386.rpm again is that there are also other problems with 
it and rpm*4.2.3-10.i386.rpm has proven to be quite good and the new 
version adds or fixes less that the new version seems to broke. See
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143532 for more info.


redhat-lsb-1.3-3.1.EL3 and apt-get
==================================

There is a sort of circular dependency in this package and "apt-get 
install redhat-lsb" complains that /usr/lib/lsb/install_initd and
/usr/lib/lsb/remove_initd are needed to install redhat-lsb, but they are 
also provided by it. Just use "rpm -U redhat-lsb-1.3-3.1.EL3*.rpm".


dhclient-3.0.1-10_EL3
=====================

This package has a broken /sbin/dhclient-script which calls a function 
change_resolv_conf which is not defined anywhere. The effect of this is 
that the other data obtained by DHCP is ok, but /etc/resolv.conf, which 
lists DNS or name servers is not created or updated. Continue to use the 
older dhclient-3.0pl2-6.14.1.i386.rpm. If you have installed or upgraded 
dhclient-3.0.1-10_EL3 downgrade with "rpm -U --force 
dhclient-3.0pl2-6.14.1.i386.rpm".



perl-5.8.0-88.9.i386.rpm
========================

This package causes Apache not to start. The real culprit is mod_perl 
package which tries to load libperl.so from a wrong location, but fixing 
mod_perl was not so easy when it was initially released or now because 
it won't build on LEL and Red Hat probably built it on RH 9 or some of 
the RHEL 3 betas. If you are bitten by this bug, you will see:

/etc/rc.d/init.d/httpd start
Starting httpd: Syntax error on line 10 of /etc/httpd/conf.d/perl.conf:
Cannot load /etc/httpd/modules/mod_perl.so into server: libperl.so: 
cannot open shared object file: No such file or directory
                                                            [FAILED]
The fix is simple:

ln -sv /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/5.8.0/noarch-linux-thread-multi

Lineox will release soon a new perl package so this bug won't require 
manual fixing in the future.


x86_64 version
==============

rpm*4.2.3-13.i386.rpm was released as a part of Update 4 and there are 
not yet any reported problems.

redhat-lsb-1.3-3.1.EL3 and dhclient-3.0.1-10_EL3 should be the same as 
on x86 version.

perl-5.8.0-88.9.x86_64.rpm has no problems.

Openoffice.org
==============

Openoffice.org was not included in the original Update 4 version, but it 
is included starting from the Always Current version 3.058. If you have 
older version installed, install packages:

fontconfig-2.2.1-13.i386.rpm
gtk2-2.2.4-12.i386.rpm
libpng-1.2.2-25.i386.rpm
libtiff-3.5.7-22.el3.i386.rpm
openoffice.org-i18n-1.1.0-16.14.EL.i386.rpm
openoffice.org-libs-1.1.0-16.14.EL.i386.rpm
openoffice.org-style-gnome-1.1.0-16.9.EL.i386.rpm
openoffice.org-1.1.0-16.14.EL.i386.rpm
pango-1.2.5-5.i386.rpm

from the LEL 3.0 i386 download directory to get Openffice.org.


-- 
Raimo Koski  http://www.lineox.com/  http://www.raimokoski.com/