Re: yum update fedora 4 undefined symbol: krb5_prompter_pocix




"Jeff" <jeep@xxxxxxxxx> wrote in message
news:1138667005.234672.227620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> rpm --rebuilddb wont work it seems:
>
> 113 ROOT fedora /home/jeff rpm --rebuilddb
> rpm: symbol lookup error: /usr/lib/libkrb5.so.3: undefined symbol:
> krb5_prompter_pocix, version krb5_3_MIT
>
> Ok so for rpm2cpio, im unclear as to what this actually does. I looked
> at the man page.
> Im assuming that it somehow converts an RPM to actual files? Then I
> have to
> place each unpacked file manually? More help on this is much
> appreciate.

No problem. rpm2cpio turns the RPM bundle into a CPIO bundle by stripping
off a lot of extraneous material. The CPIO bundle, like a TAR bundle, can
then be extracted and the files used to replace the broken system files. I
found it very useful when updating one RedHat version to another one by
hand, when I failed to replace all the relevant RPM and database and glibc
files at the same time and broke RPM once. My thought is that the updates
done via yum broke your Kerberos libraries or RPM related tools, and that's
what you're seeing right now. I don't know why those broke: it would take
poking around by hand to even make a good guess.

Please read the manual pages on rpm2cpio and cpio for relevant instructions.

> At this point Im wondering if I can kick off a script (That I write or
> whatever) that
> will rebuild the kerberos rpm's somehow, maybe even from the distro CD,
> or would there be conflicts due to the updates since the distro was
> created?

You can extract the contents of the relevant ones with rpm2cpio and recopy
them to your local disk with cpio, then if that fixes RPM, do a
"rpm -Uvh --replacepkgs" to get them in place.

> I dont care how much CPU time this takes, I just need to get this back
> up and running,
> hopefully without having to reload the machine.

Reloading the machine by doing an install on top of the existing OS might be
faster.

I have a few cycles. Do you want to contact me privately and we'll try to
walk through this? I normally charge serious consulting rates, but I have
some spare time and prefer to keep busy and up-to-date.


.



Relevant Pages

  • Re: RPM error: librpm-4.3.so
    ... I used the ISO images from online. ... > Sounds like you didn't update all components of rpm to 4.4.x ... rpm2cpio gives me the same error: ... rpm2cpio: error while loading shared libraries: librpmdb-4.3.so: ...
    (Fedora)
  • Re: glibc - broken rpm - arghh
    ... > I have done several RH7.3 glibc upgrades where I sooner or later end ... I tried recompiling rpm - but gcc wouldnt create an exe file. ... in desperation - I tried using cpio to do the job manually.. ... use rpm2cpio to build one cpio archive which included ALL the dependencies ...
    (alt.linux)
  • Re: glibc - broken rpm - arghh
    ... > I have done several RH7.3 glibc upgrades where I sooner or later end ... I tried recompiling rpm - but gcc wouldnt create an exe file. ... in desperation - I tried using cpio to do the job manually.. ... use rpm2cpio to build one cpio archive which included ALL the dependencies ...
    (alt.os.linux.redhat)
  • Re: Help! How to restore glibc on a broken system?
    ... > rpm and install a package. ... rpm2cpio gives you access to a cpio archive inside the rpm. ... You could also extract them within your ...
    (RedHat)
  • Re: Help! How to restore glibc on a broken system?
    ... > I think you're stuck with rpm2cpio. ... Alternatively, you could build RPM ... but my guess is that rpm2cpio would be easier. ... Olivier the redhat newbie ...
    (RedHat)