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 1379883
Summary: | File conflict file /usr/share/themes/Numix/gtk-3.0/assets with latest update | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eric Griffith <EGriffith92> |
Component: | numix-gtk-theme | Assignee: | Sascha Spreitzer (Red Hat) <sspreitz> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | EGriffith92, sspreitz |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.6.6-2 numix-gtk-theme-2.6.6-2.fc24 numix-gtk-theme-2.6.6-2.fc25 numix-gtk-theme-2.6.6-2.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-04-26 18:21:04 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
Eric Griffith
2016-09-28 01:11:59 UTC
Hi Eric Thanks for bringing this up! Actually I am working on this issue. You shouldn't have seen this as the update packages where unpushed by me in bodhi. Did you manually download and install the package? It looks like that the RPM update fails as rpm is unpacking the new files over a symlink which is then dereferenced. These symlinked asset directories have changed with the new version and it looks like it can not be handled with the ordinare RPM scriptlets. It might need to be solved via a lua %pretrans scriptlet, removing the symlink before installing the update. Kind regards Sascha Hi Eric Did you manually download and install the package? Kind regards Sascha Nope, just a standard 'dnf update.' It errored out originally sometime in the afternoon. I eventually said 'screw it' and removed the package around 9 EST, made the bug report soon thereafter. Even when I did 'dnf update --refresh' around 20:30, it still wanted to install the bad update. So I'm not sure why Bodhi didnt actually yank it. Apparently this is not good news. I will investigate this further. Thanks for your input! This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. Hi there So this one was quite challenging. They way it is solved will print some unpretty warnings from RPM update that some files have gone missing, but that is still better then failing. The directories will be changed into symlinks, which RPM can not do. ---- # This is to clean up directories before links created # See https://bugzilla.redhat.com/show_bug.cgi?id=1379883 # See https://fedoraproject.org/wiki/Packaging:Directory_Replacement %pretrans -p <lua> directories = { "/usr/share/themes/Numix/gtk-3.0/assets", "/usr/share/themes/Numix/gtk-3.2/assets" } for i,path in ipairs(directories) do st = posix.stat(path) if st and st.type == "directory" then status = os.rename(path, path .. ".rpmmoved") if not status then suffix = 0 while not status do suffix = suffix + 1 status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix) end os.rename(path, path .. ".rpmmoved") end end end ---- The update package is currently pending version 2.6.6-2 Kind regards Sascha numix-gtk-theme-2.6.6-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ca8e3b178c numix-gtk-theme-2.6.6-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-685dde844d numix-gtk-theme-2.6.6-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-cee0159755 numix-gtk-theme-2.6.6-2.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2017-cee0159755 numix-gtk-theme-2.6.6-2.fc24 has been pushed to the Fedora 24 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-2017-ca8e3b178c numix-gtk-theme-2.6.6-2.fc25 has been pushed to the Fedora 25 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-2017-685dde844d numix-gtk-theme-2.6.6-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. numix-gtk-theme-2.6.6-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. numix-gtk-theme-2.6.6-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |