Bug 818435

Summary: Cleanup problem when updating gcc-java-4.7.0-2.fc17.x86_64
Product: [Fedora] Fedora Reporter: Joachim Backes <joachim.backes>
Component: NetworkManagerAssignee: Jakub Jelinek <jakub>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: danw, dcbw, jakub, law
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: 2012-05-03 22:45:50 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 Joachim Backes 2012-05-03 05:40:10 UTC
Description of problem:
Updating gcc-java-4.7.0-2.fc17.x86_64 to gcc-java-4.7.0-3.fc17.x86_64 produces a cleanup warning:

Cleanup    : gcc-java-4.7.0-2.fc17.x86_64                              75/140 
/var/tmp/rpm-tmp.4iqEVe: line 6: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.4iqEVe: line 6: `fi'


Version-Release number of selected component (if applicable):
gcc-java-4.7.0-2.fc17.x86_64

How reproducible:
did not try

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jakub Jelinek 2012-05-03 06:05:16 UTC
gcc-java scriptlets don't have 6 lines nor any syntax errors, I suppose that might be from some trigger in some other package instead.
Does the /var/tmp/rpm-tmp.4iqEVe file still exist?  If yes, please post its content.

Comment 2 Joachim Backes 2012-05-03 06:12:58 UTC
(In reply to comment #1)
> gcc-java scriptlets don't have 6 lines nor any syntax errors, I suppose that
> might be from some trigger in some other package instead.
> Does the /var/tmp/rpm-tmp.4iqEVe file still exist?  If yes, please post its
> content.

1. I regret, but /var/tmp/rpm-tmp.4iqEVe no more exist!
2. This happened together with NetworkManager update: I will shift the bug to NetworkManager

Cleanup    : 1:NetworkManager-0.9.4.0-7.git20120403.fc17.x86_64        74/140 
Non-fatal POSTUN scriptlet failure in rpm package 1:NetworkManager-0.9.4.0-7.git20120403.fc17.x86_64
  Cleanup    : gcc-java-4.7.0-2.fc17.x86_64                              75/140 
/var/tmp/rpm-tmp.4iqEVe: line 6: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.4iqEVe: line 6: `fi'
warning: %postun(NetworkManager-1:0.9.4.0-7.git20120403.fc17.x86_64) scriptlet failed, exit status 2

Comment 3 Dan Williams 2012-05-03 22:45:50 UTC
Fixed in package git as 2caf443d65bc3bd77134b8aebcaa9658e2d8149b and should make the next update.