Bug 453886

Summary: preinstall scriptlet fails if not already using i810 in xorg.conf
Product: [Fedora] Fedora Reporter: Jason Farrell <farrellj>
Component: xorg-x11-drv-i810Assignee: Adam Jackson <ajax>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: ajax, mnowak, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-drv-i810-2.3.2-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-03 19:04:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Farrell 2008-07-03 01:20:13 UTC
Description of problem:
Updating to xorg-x11-drv-i810-2.3.2-1.fc9.x86_64 in updates-testing fails to
install because the %pre script continually fails. It tries to replace 'i810'
with 'intel' in /etc/xorg.conf, but fails completely if it doesn't match.

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

Additional info:
Transaction Test Succeeded
Running Transaction
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

Comment 1 Michal Nowak 2008-07-03 09:23:53 UTC
I am hit by this one too.

I guess it's caused by this change

* Tue May 27 2008 Adam Jackson <ajax> 2.2.1-25
- s/i810/intel/ in xorg.conf in %%pre so we can eventuall stop installing
  the BC symlink.

which was useful for version prio 2.2.1-24 but it might cause the fail.

Comment 2 Michal Nowak 2008-07-03 13:58:00 UTC
Release -2 fixes this issue. New version was successfully installed.