Bug 228771 - (yum-pre-error) yum error handling looks quite confused
yum error handling looks quite confused
Status: CLOSED DUPLICATE of bug 216221
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-02-14 16:22 EST by Michal Jaegermann
Modified: 2014-01-21 17:57 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-09 16:40:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2007-02-14 16:22:03 EST
Description of problem:

Preinstall script from control-center-2.17.91-1.fc7 ends with
a status 1.  This has the following effects in yum:

Running Transaction
error: %pre(control-center-2.17.91-1.fc7.x86_64) scriptlet failed,
exit status 1
error:   install: %pre scriptlet failed (2), skipping control-center-2.17.91-1.fc7

Updated: control-center.x86_64 1:2.17.91-1.fc7

The above would be fine if not the last two lines above and
a /var/log/yum entry which says:

Feb 14 14:13:10 Updated: control-center.x86_64 1:2.17.91-1.fc7

while 'rpm -q control-center' knows only about

Version-Release number of selected component (if applicable):

How reproducible:
on every try
Comment 1 Jeremy Katz 2007-02-21 17:06:09 EST
The problem here is that rpmlib doesn't actually give any indication to callers
that there was an error :/
Comment 2 Seth Vidal 2007-08-03 15:39:57 EDT
reassigning to rpm
Comment 3 Panu Matilainen 2007-08-09 16:40:06 EDT
Different scriptlet failing but the core issue is the same...

*** This bug has been marked as a duplicate of 216221 ***

Note You need to log in before you can comment on or make changes to this bug.