Skip to content
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

rpm update fails to remove previous version #12336

Open
2 tasks done
sambo57u opened this issue Dec 24, 2024 · 1 comment
Open
2 tasks done

rpm update fails to remove previous version #12336

sambo57u opened this issue Dec 24, 2024 · 1 comment

Comments

@sambo57u
Copy link

JabRef version

6.0-alpha

Operating system

GNU / Linux

Details on version and operating system

Fedora 41

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. ...Download latest development rpm (6.0-alpha)
  2. ...Upgrade using rpm -Uvh jabref-6.0-1.x86_64.rpm
  3. ...The previous rpm is not removed with messages:

Updating / installing...
1:jabref-6.0.15001-1 ################################# [ 50%]
/var/tmp/rpm-tmp.enBvXa: line 116: do_if_file_belongs_to_single_package: command not found
/var/tmp/rpm-tmp.enBvXa: line 117: do_if_file_belongs_to_single_package: command not found
/var/tmp/rpm-tmp.enBvXa: line 118: do_if_file_belongs_to_single_package: command not found
error: %preun(jabref-6.0.6627-1.x86_64) scriptlet failed, exit status 127
error: jabref-6.0.6627-1.x86_64: erase failed

One can manually remove the older version with:
rpm -e jabref-6.0.6627-1.x86_64 --noscripts

Appendix

...

Log File
Paste an excerpt of your log file here
@Siedlerchr
Copy link
Member

This refs #12213
Should be fixed for installing newer versions then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants