On Wed, Sep 17, 2008 at 10:48 AM, Nelson Serafica <[EMAIL PROTECTED]>wrote:

> I just need to reincarnate the old machine stock in my client. It was
> running by Redhat 7.3 :(
>
> I upgraded the glibc and then suddenly, I cannot install/remove rpm. It
> always says:
>
> Preparing...                ###########################################
> [100%]
> Segmentation fault
>
> I already tried to rebuilddb and inittd and reboot the machine but still
> the same.
>
> I tried Google but none did work for me.
>
>
> Any ideas or its giving me no choice but to upgrade to  a newer version
>


My guess is either the rpm is not compatible with the new glibc or the
rpm database got corrupted. Try to rule out the former first by installing
the latest release of rpm and glibc for redhat 7.3 from either redhat
or fedoralegacy using rpmcpio
   e.g.
     cd /; rpm2cpio glibc_or_rpm-ver-rel.rpm | cpio -ivd

If that works, force-reinstall glibc and rpm to re-register them in
the rpm database.

If rpm still segfaults, try to rebuild the rpm database using a newer
version of rpm. You may either download and use a static binary of a
newer rpm, or copy the whole /var/lib/rpm into a temp directory on a
another linux machine with a newer rpm and rebuild using --root parameter.

What worked for me in the past[1] when I also encountered this kind of
problem is I db_dump and db_load /var/lib/rpm/Packages first and then
rebuilt using a static binary of a newer rpm.


[1] http://archives.free.net.ph/message/20030902.093643.70f221cb.en.html
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to