[Fedora-directory-users] rpm upgrade fails
Richard Megginson
rmeggins at redhat.com
Sat Mar 4 02:26:14 UTC 2006
Jo De Troy wrote:
> Hi Rich,
>
> I totally removed the old rpm and the /opt/fedora-ds directory then I
> installed the rpm without processing the pre-scripts
> root%rpm --nopre -ivh /tmp/fedora-ds-1.0.2-1.RHEL4.i386.opt.rpm
> Preparing...
> ########################################### [100%]
> 1:fedora-ds
> ########################################### [100%]
> error: %post(fedora-ds-1.0.2-1.RHEL4.i386) scriptlet failed, exit
> status 255
> [root at tux opt]# rpm -q fedora-ds
> fedora-ds-1.0.2-1.RHEL4
> So it seems installed but I do get an error in the %post section
> Can I see what exactly is in the different sections? Is there a spec
> file I can download somewhere?
http://cvs.fedora.redhat.com/lxr/dirsec/source/ldapserver/ldapserver.spec.tmpl
The %post section begins at line 120.
Note that you can also do an rpm install without running the post
section, you'll have to apply the console-ld-libpath.patch manually:
patch -p0 < setup/console-ld-libpath.patch
> Could it be my rpm db is corrupt? I already tried rebuilding this, but
> it didn't help.
>
> Jo
>
>------------------------------------------------------------------------
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060303/6a2ed0b1/attachment.bin>
More information about the Fedora-directory-users
mailing list