Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1699280 - Fedora 30 beta install fails with Error in <unknown> scriptlet in rpm package breeze-icon-theme
Summary: Fedora 30 beta install fails with Error in <unknown> scriptlet in rpm package...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: breeze-icon-theme
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Vrátil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker AcceptedFreezeException
Depends On:
Blocks: F30FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2019-04-12 10:07 UTC by Roderick Johnstone
Modified: 2019-04-17 16:04 UTC (History)
6 users (show)

Fixed In Version: breeze-icon-theme-5.57.0-2.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-17 16:04:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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