Bug 453748 - Update fails due to invalid sed command in %pre scriptlet
Update fails due to invalid sed command in %pre scriptlet
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-i810 (Show other bugs)
9
All Linux
low Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-02 06:34 EDT by Torsten Rausche
Modified: 2009-06-27 11:43 EDT (History)
3 users (show)

See Also:
Fixed In Version: 2.3.2-2.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-02 12:50:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fix sed regular expression in pre script (1.05 KB, patch)
2008-07-02 09:07 EDT, Jeffrey C. Ollie
no flags Details | Diff

  None (edit)
Description Torsten Rausche 2008-07-02 06:34:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008061712 Fedora/3.0-1.fc9 Firefox/3.0

Description of problem:
The update to the current version in updates-testing (xorg-x11-drv-i810-2.3.2-1.fc9) fails with:

sed: -e expression #1, char 41: invalid reference \1 on `s' command's RHS
error: %pre(xorg-x11-drv-i810-2.3.2-1.fc9.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping xorg-x11-drv-i810-2.3.2-1.fc9


Version-Release number of selected component (if applicable):
xorg-x11-drv-i810-2.3.2-1.fc9

How reproducible:
Always


Steps to Reproduce:
1. Try to update to xorg-x11-drv-i810-2.3.2-1.fc9


Actual Results:
The error mentioned in the description occurs, causing the update to fail.

Expected Results:
A clean update to the new version

Additional info:
Comment 1 David 2008-07-02 07:13:17 EDT
Yes she fails on the update :(

I can't see a 2.3.2-2 in koji but it says:

bodhi - 2008-07-02 10:44:45 (karma 0)
             This update has been obsoleted

Weird if its obsoleted where the the updated one in koji?
Comment 2 Jeffrey C. Ollie 2008-07-02 08:57:11 EDT
(In reply to comment #1)
> 
> Weird if its obsoleted where the the updated one in koji?

If an update gets enough negative feedback it is obsoleted even though there is
no newer update available.
Comment 3 Jeffrey C. Ollie 2008-07-02 09:07:01 EDT
Created attachment 310787 [details]
Fix sed regular expression in pre script
Comment 4 Jeffrey C. Ollie 2008-07-02 09:07:46 EDT
I've attached a patch that should fix the problem with the script.
Comment 5 Jeffrey C. Ollie 2008-07-02 09:37:46 EDT
Here's a scratch build in koji with my patch applied.

http://koji.fedoraproject.org/koji/taskinfo?taskID=692092
Comment 6 Torsten Rausche 2008-07-02 12:50:10 EDT
There it is...

http://koji.fedoraproject.org/koji/buildinfo?buildID=54564

* Wed Jul 02 2008 Adam Jackson <ajax@redhat.com> 2.3.2-2
- Drop the %pre hack for the moment.

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