Bug 1069224
Summary: | java-1.7.0-openjdk: Package is not installable unless bash is installed first | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> |
Component: | java-1.7.0-openjdk | Assignee: | jiri vanek <jvanek> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ahughes, bruno, dbhole, jerboaa, jvanek, kevin, massi.ergosum, nonamedotc, omajid, rdieter, sochotni |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-27 11:27:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mikolaj Izdebski
2014-02-24 13:48:26 UTC
Reproducer: rm -rf /tmp/chroot yum --disablerepo \* --enablerepo rawhide --installroot /tmp/chroot install java-1.7.0-openjdk Result: Running transaction check ERROR with transaction check vs depsolve: /bin/sh is needed by java-1.7.0-openjdk-1:1.7.0.60-2.5.0.4.pre02.fc21.x86_64 I'd also like to point out that I warned this would happen if you'd write pretrans in anything but lua: https://bugzilla.redhat.com/show_bug.cgi?id=1038092#c23 Can this RPM lua copy files? I can see only dir listing and creating: http://www.rpm.org/wiki/PackagerDocs/RpmLua#AvailableLuaextensionsinRPM Ou, there is exec :) What about exec bin/sh? Possibly there is nothing installed (not even shell) at time pretrans is ran. But I think in this case you don't need to to anything and you can ignore exec failure. Note this error is breaking the nightly live composes for live images using this package. The scriplet was removed http://pkgs.fedoraproject.org/cgit/java-1.7.0-openjdk.git/commit/?id=3b33b8e7667bee3abc5a487aab9ab6f81452e9a4 http://koji.fedoraproject.org/koji/taskinfo?taskID=6576309 Will be repalced by lua + exec(cp) later or by whatever... |