Re: Red Carpet 2.0.0-0.ximian.4.3 upgrade

Mark Gordon <[email protected]> 03 Jun 2003 17:45:44 -0400
Newsgroups gmane.comp.gnome.ximian.red-carpet
Organization Ximian, Inc.
Message-ID <1054676744.2522.90.camel@boatswain>
On Tue, 2003-06-03 at 17:24, [email protected] wrote:
> Currently running Red Carpet 1.4.3-1.ximian.4 on Red Hat 7.3 and tried the
> channel upgrade to 2.0.0-0.ximian.4.3.  Dependencies seemed to load fine
> but didn't finish the red-carpet load. 
> 
> So, tried a manual rpm to see what happens:
> ------------------------------------------
> # rpm -Uvh red-carpet-2.0.0-0.ximian.4.3.i386.rpm
> Preparing...                                                            (
> 50%########################################### [100%]
>    1:red-carpet             
> warning: /etc/pam.d/red-carpet saved as
>          /etc/pam.d/red-carpet.rpmsave
> warning: /etc/security/console.apps/red-carpet saved as
>          /etc/security/console.apps/red-carpet.rpmsave
> ########################################### [100%]
> error: execution of %post scriptlet from red-carpet-2.0.0-0.ximian.4.3
> failed, exit status 127

So the real question is "what's the %post scriptlet supposed to do?"

$ rpm -q --scripts red-carpet
postinstall scriptlet (through /bin/sh):
ldconfig
env PATH=$PATH:/usr/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib scrollkeeper-update >/dev/null 2>&1
(snip)

Two possibilities:
- ldconfig failed
- scrollkeeper-update failed

The latter seems much more likely.  I'm not sure the red-carpet package
depends on scrollkeeper, though it should probably pre-depend on it. 
Try installing scrollkeeper.  I expect it will work after that.  If you
already have scrollkeeper installed... maybe it needs a newer
scrollkeeper?

FYI, all scrollkeeper is doing is updating the GNOME documentation
system.  In a pinch, you could install with --noscripts and run ldconfig
manually, and it would still work.

-Mark Gordon

_______________________________________________
red-carpet maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/red-carpet