Re: rpm --root on FC5 and glibc_post_upgrade from RH7.3-RH9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 18, 2006 at 04:34:41AM -0700, James Olin Oden wrote:
> Axel, could run the same command but with the -vv option.  That should
> print the lines of the script as they execute (same as bash -x).  That
> might give some clues as to what's going on.

The output is

D:   install: %post(glibc-2.2.5-34.i686) asynchronous scriptlet start
D:   install: %post(glibc-2.2.5-34.i686)        execv(/usr/sbin/glibc_post_upgrade) pid 22725
D:   install: waitpid(22725) rc 22725 status 100 secs 0.019
error: %post(glibc-2.2.5-34.i686) scriptlet failed, exit status 1
D: running post-transaction scripts

and the strace gives:

[pid 22947] chdir("/")                  = 0
[pid 22947] execve("/usr/sbin/glibc_post_upgrade", ["/usr/sbin/glibc_post_upgrade"], [/* 27 vars */]) = 0
[pid 22947] vfork()                     = -1 ENOSYS (Function not implemented)
[pid 22947] fork()                      = -1 ENOSYS (Function not implemented)
[pid 22947] _exit(1)                    = ?
Process 22947 detached

BTW I forgot to add that I already turned off selinux just to make sure.

> cheers...james
> 
> On 4/18/06, Axel Thimm <Axel.Thimm@xxxxxxxxxx> wrote:
> > Hi,
> >
> > I'm using chroots for RH7.3-RH9 as well as RHEL3/4 and FC1-5 for i386
> > and x86_64. On an FC4/x86_64 system I can use rpm --root on all the
> > glibc package and they will get installed into the chroot and run
> > their postin scriplet which is simply glibc_post_upgrade. After
> > upgrading (clean install) to FC5/x86_64 this fails for RH7.3-RH9, but
> > works for RHEL and FC.
> >
> > Here for example for RH7.3:
> >
> > # rpm -ihv --nodeps --root /var/tmp/root glibc-2.2.5-34.i686.rpm
> > warning: glibc-2.2.5-34.i686.rpm:
> > Header V3 DSA signature: NOKEY, key ID db42a60e
> > Preparing... ########################################### [100%]
> >    1:glibc   ########################################### [100%]
> > error: %post(glibc-2.2.5-34.i686) scriptlet failed, exit status 1
> >
> > Am I doing something wrong? What is the difference here between FC4
> > and FC5? How can I fix this?
> >
> > Thanks!
-- 
Axel.Thimm at ATrpms.net

Attachment: pgplSWHcFZX9v.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux