-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reinstall "intel-compilers-devel" cannot update modulefiles as RPMs were first installed then cleaned #1601
Comments
The %preun script needs to be conditionalized with:
per https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/ It would also be good if the module update code got moved to a separate script that could be easily called when needed. Also, .rpmnew files really should only be generated if the new file differs from the old. |
That's one of the main points for my PR. I would like module updates to be independent of RPMs. |
@jcsiadal Any update on this? Thanks. |
Do you mind hotfix it before figuring out a better long-term improvement? |
Are there any plans to address this? |
Signed-off-by: Orion Poplawski <[email protected]>
Signed-off-by: Orion Poplawski <[email protected]>
Signed-off-by: Orion Poplawski <[email protected]>
A friendly reminder that this issue had no activity for 30 days. |
Still not fixed as of now |
I will try to include @opoplawski PR for the 3.3 release. |
According to the spec file, it generates the modulefiles after installation in
%post
, and remove the generated files when uninstalling in%preun
.The problem is that, reinstall / update the rpm, always do installation before uninstallation, eg.
Which left a very weird folder, contains nothing but a manifest showing that the modulefiles were once there.
A current walkaround is to
yumdownloader
the rpm, thenrpm -e --nodeps
follows arpm -i
.The text was updated successfully, but these errors were encountered: