Hide Forgot
Description of problem: yum update: Error in PREIN scriptlet in rpm package eog-3.1.1-1.fc16.x86_64 /var/tmp/rpm-tmp.ATIrgL: line 1: fg: no job control error: %pre(eog-3.1.1-1.fc16.x86_64) scriptlet failed, exit status 1 During cleanup: error: eog-3.0.1-1.fc16.x86_64: erase skipped Version-Release number of selected component (if applicable): eog-3.1.1-1.fc16.x86_64 How reproducible: didn't try Steps to Reproduce: 1. yum --skip-broken update 2. 3. Actual results: as above Expected results: normal update Additional info:
This is caused by an unexpanded macro in %pre: # rpm -Uvvh eog-3.1.1-1.fc16.x86_64.rpm [...] D: install: eog-3.1.1-1.fc16 has 1439 files D: %pre(eog-3.1.1-1.fc16.x86_64): scriptlet start D: %pre(eog-3.1.1-1.fc16.x86_64): execv(/bin/sh) pid 11641 + %gconf_schema_obsolete eog /var/tmp/rpm-tmp.dKNM2e: line 2: fg: no job control D: %pre(eog-3.1.1-1.fc16.x86_64): waitpid(11641) rc 11641 status 100 error: %pre(eog-3.1.1-1.fc16.x86_64) scriptlet failed, exit status 1 Not sure why it is not expanded. A local rebuild of the SRPM yields the same result, while 'rpm --showrc' does show a definition of that macro.
This is caused by a missing BuildRequires on GConf2. A local rebuild with this diff does succeed upon installation: [stijn@pounce] <~/Documents/Fedora/Bugs/704230/eog> git diff diff --git a/eog.spec b/eog.spec index 45126a0..48c96d3 100644 --- a/eog.spec +++ b/eog.spec @@ -39,6 +39,7 @@ BuildRequires: gdk-pixbuf2-devel BuildRequires: shared-mime-info BuildRequires: gsettings-desktop-schemas-devel BuildRequires: dbus-glib-devel +BuildRequires: GConf2 Requires: gsettings-desktop-schemas Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
Looking for update in rawhide, please.
*** Bug 706392 has been marked as a duplicate of this bug. ***
0) Somehow fixed in 3.1.2-2: * Fri Jun 17 2011 Tomas Bzatek <tbzatek> - 3.1.2-2 - Rebuilt in order to fix pre scriptlet That is, this version did at least install. (I removed eog some time ago, after getting fed up with this error while doing "yum update".) 1) How this was actually fixed is beyond me, because the related commit looks like a noop to me: http://pkgs.fedoraproject.org/gitweb/?p=eog.git;a=commitdiff;h=bd994b006dd84d6e00e3f0e7861ec83b8c731dc6 . Whatever ...
Paul: this must be fixed because something else in the explicit BuildRequires started to require GConf2 again, so it was pulled in during the build.
*** Bug 708068 has been marked as a duplicate of this bug. ***
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Should be fixed in http://pkgs.fedoraproject.org/gitweb/?p=eog.git;a=commit;h=f182aab84 which removes the gconf handling from rpm scriptlets.