Bug 1699280

Summary: Fedora 30 beta install fails with Error in <unknown> scriptlet in rpm package breeze-icon-theme
Product: [Fedora] Fedora Reporter: Roderick Johnstone <rmj>
Component: breeze-icon-themeAssignee: Daniel Vrátil <me>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: gmarr, kde-sig, lruzicka, me, rdieter, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: RejectedBlocker AcceptedFreezeException
Fixed In Version: breeze-icon-theme-5.57.0-2.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 16:04:39 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:
Bug Depends On:    
Bug Blocks: 1574716    

Description Roderick Johnstone 2019-04-12 10:07:11 UTC
Description of problem:

Kickstart install of Fedora 30 beta fails with:

06:29:29,105 ERR dnf.rpm: Error in <unknown> scriptlet in rpm package breeze-icon-theme


Version-Release number of selected component (if applicable):
Fedora 30 beta.

06:29:29,086 INF packaging: Configuring (running scriptlet for): breeze-icon-theme-5.55.0-1.fc30.noarch 1549299189 c99e3ba60fa539811953bcf2baedb7d411ce4ebf73b763e9089fb324e8a0ec5e
06:29:29,105 ERR dnf.rpm: Error in <unknown> scriptlet in rpm package breeze-icon-theme


How reproducible:
Every time.

Steps to Reproduce:
1. Set up a kickstart install of Fedora 30 beta, either from:

http://mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/releases/test/30_Beta/Everything/x86_64/os/

or

ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/development/30/Everything/x86_64/os/

2. Boot the installer
3.

Actual results:

Install fails with:
06:29:29,105 ERR dnf.rpm: Error in <unknown> scriptlet in rpm package breeze-icon-theme

Expected results:
Install completes normally.

Additional info:

Comment 1 Fedora Blocker Bugs Application 2019-04-13 15:39:52 UTC
Proposed as a Blocker and Freeze Exception for 30-final by Fedora user rdieter using the blocker tracking app because:

 Not sure what's going on here, but I suspect it's related to breeze-icon-theme trigger scriptlets.  dnf error output is a little unhelpful, but the impact is that if unfix, means no one will be able to install f30 via kickstart if breeze-icon-theme is included in the transaction.

Comment 2 Rex Dieter 2019-04-13 15:47:49 UTC
Here's what breeze-icon-theme.spec currently includes wrt scriptlets, if anyone can spot what's going wrong.  Included only snippets related to breeze theme, these are duplicated for breeze-dark too:

%filetriggerin -- %{_datadir}/icons/breeze
touch %{_datadir}/icons/breeze &> /dev/null || :

%transfiletriggerin -- %{_datadir}/icons/breeze
gtk-update-icon-cache %{_datadir}/icons/breeze &>/dev/null || :

# arg, looks like this case cannot be handled by triggers? -- rex
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/breeze &> /dev/null || :
touch --no-create %{_datadir}/icons/breeze-dark &> /dev/null || :
fi

%transfiletriggerpostun -- %{_datadir}/icons/breeze
gtk-update-icon-cache %{_datadir}/icons/breeze &>/dev/null || :


adwaita for comparison does less, 

%transfiletriggerin -- %{_datadir}/icons/Adwaita
gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :

%transfiletriggerpostun -- %{_datadir}/icons/Adwaita
gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :


I'm thinking I tried too hard to ensure gtk-update-icon-cache only ran once per transaction, and broke things?  I'll make breeze match the adwaita style and see if that helps.

Comment 3 Fedora Update System 2019-04-13 18:43:02 UTC
breeze-icon-theme-5.57.0-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7706906b7f

Comment 4 Roderick Johnstone 2019-04-15 06:56:51 UTC
Hi Rex

Thanks for the new packages, but I'm still seeing the same issue:

From packaging.log..

06:50:22,919 INF packaging: Installed: breeze-icon-theme-5.57.0-1.fc30.noarch 1555170077 295c69a8b63e4dc518277858a39d12e2341dd9b2ce2c6559c15a1e1df4ac769e
06:50:32,586 INF packaging: Configuring (running scriptlet for): breeze-icon-theme-5.57.0-1.fc30.noarch 1555170077 295c69a8b63e4dc518277858a39d12e2341dd9b2ce2c6559c15a1e1df4ac769e
06:50:32,605 ERR dnf.rpm: Error in <unknown> scriptlet in rpm package breeze-icon-theme
06:50:32,637 ERR dnf.rpm: Error in <unknown> scriptlet in rpm package breeze-icon-theme
06:50:32,660 ERR dnf.rpm: Error in <unknown> scriptlet in rpm package breeze-icon-theme

Roderick

Comment 5 Rex Dieter 2019-04-15 12:25:19 UTC
Sorry -2 was the real fixed build

Comment 6 Roderick Johnstone 2019-04-15 13:15:57 UTC
I'm not seeing the -2 at: https://bodhi.fedoraproject.org/updates/?packages=breeze-icon-theme yet. Does it take a while to appear?

Comment 7 Fedora Update System 2019-04-15 13:53:39 UTC
breeze-icon-theme-5.57.0-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7706906b7f

Comment 8 Roderick Johnstone 2019-04-15 15:43:19 UTC
Thanks. That works nicely.

Comment 9 Lukas Ruzicka 2019-04-15 16:26:46 UTC
For me, the version 5.57.0-2 works.

Comment 10 Geoffrey Marr 2019-04-15 20:56:24 UTC
Discussed during the 2019-04-15 blocker review meeting: [1]

The decision to classify this bug as a "RejectedBlocker" and an "AcceptedFreezeException" was made as the current criteria do not really cover this, the existing requirement in historical context covered the pre-Fedora.next default install which was GNOME. We believe the criterion could be revisited, but as this bug is fixed anyway, we will handle that separately.

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2019-04-15/f30-blocker-review.2019-04-15-16.03.txt

Comment 11 Fedora Update System 2019-04-16 01:35:15 UTC
breeze-icon-theme-5.57.0-2.fc30, oxygen-icon-theme-5.57.0-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7706906b7f

Comment 12 Fedora Update System 2019-04-17 16:04:39 UTC
breeze-icon-theme-5.57.0-2.fc30, oxygen-icon-theme-5.57.0-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.