Bug 1490013
| Summary: | Scriptlet failed during upgrade | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | George R. Goffe <grgoffe> | ||||
| Component: | emacs | Assignee: | Jan Synacek <jsynacek> | ||||
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | jonathan.underwood, jsynacek, msekleta, phracek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-09-11 13:31:02 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: | |||||||
| Attachments: |
|
||||||
|
Description
George R. Goffe
2017-09-09 04:40:48 UTC
%preun
%{_sbindir}/alternatives --remove emacs %{_bindir}/emacs-%{version}
That's all that it does. It seems to me that either alternatives installation was broken or the symlinks in /etc/alternatives were not there.
It's not clear if this can be reproduced or not, so I'm going to close it now. In case you update rawhide next time, please check the contents of /etc/alternatives, and also if the "alternatives --version" command works before the update. In case this happens again, this information will be needed.
Created attachment 1330524 [details]
gzip'd flat file for ls -al /etc/alternatives
Jan,
Thanks for your help with this "bug"...
Here's the ls of /etc/alternatives just in case.
This is the second time I have EVER seen this bug. I'm constantly (daily) updating this system (I'm looking for bugs to further the cause).
Again, thanks.
George...
Is that list after or before the scriptlet failed? It looks like it's after, when the symlink is already correctly pointing to emacs-25.3. My guess is that before the update (i.e. before the scriptlet failed), the /etc/alternatives/emacs symlink has been either corrupted or deleted. That's why the scriptlet failed. It doesn't really have any impact on the functionality if the symlink is correct *after* the update, which it looks it is. It's just that the error looks scary and needs manual intervention. I don't think I can help any more than this. Jan, Thanks for your help. The listing is after the problem appeared. rpm -q showed 2 versions of emacs. I removed both but had to add the '--noscripts' option to get the failing version off the system. Then I did a dnf install emacs'*' and everything worked fine. Again, thanks for your help. George... |