Description of problem: ------->&----------------------------------------------------------- $ rpm -q emacs-common emacs-common-27.2-3.fc35.x86_64 emacs-common-27.2-3.fc35.x86_64 emacs-common-27.2-3.fc35.x86_64 emacs-common-27.2-3.fc35.x86_64 $ sudo package-cleanup --cleandupes Last metadata expiration check: 0:24:10 ago on Wed 19 May 2021 02:41:30 PM CEST. Dependencies resolved. ================================================================================================ Package Architecture Version Repository Size ================================================================================================ Reinstalling: emacs-common x86_64 1:27.2-3.fc35 rawhide 35 M replacing emacs-common.x86_64 1:27.2-3.fc35 Transaction Summary ================================================================================================ Total download size: 35 M Is this ok [y/N]: y Downloading Packages: emacs-common-27.2-3.fc35.x86_64.rpm 4.1 MB/s | 35 MB 00:08 ------------------------------------------------------------------------------------------------ Total 3.8 MB/s | 35 MB 00:09 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Reinstalling : emacs-common-1:27.2-3.fc35.x86_64 1/5 Running scriptlet: emacs-common-1:27.2-3.fc35.x86_64 2/5 Cleanup : emacs-common-1:27.2-3.fc35.x86_64 2/5 Running scriptlet: emacs-common-1:27.2-3.fc35.x86_64 3/5 error: %preun(emacs-common-1:27.2-3.fc35.x86_64) scriptlet failed, exit status 2 Error in PREUN scriptlet in rpm package emacs-common Running scriptlet: emacs-common-1:27.2-3.fc35.x86_64 4/5 error: emacs-common-1:27.2-3.fc35.x86_64: erase failed error: %preun(emacs-common-1:27.2-3.fc35.x86_64) scriptlet failed, exit status 2 Error in PREUN scriptlet in rpm package emacs-common Running scriptlet: emacs-common-1:27.2-3.fc35.x86_64 5/5 error: emacs-common-1:27.2-3.fc35.x86_64: erase failed error: %preun(emacs-common-1:27.2-3.fc35.x86_64) scriptlet failed, exit status 2 Error in PREUN scriptlet in rpm package emacs-common error: emacs-common-1:27.2-3.fc35.x86_64: erase failed TransactionItem not found for key: emacs-common-1:27.2-3.fc35.x86_64 TransactionItem not found for key: emacs-common-1:27.2-3.fc35.x86_64 Verifying : emacs-common-1:27.2-3.fc35.x86_64 1/3 Verifying : emacs-common-1:27.2-3.fc35.x86_64 2/3 Verifying : emacs-common-1:27.2-3.fc35.x86_64 3/3 Reinstalled: emacs-common-1:27.2-3.fc35.x86_64 Failed: emacs-common-1:27.2-3.fc35.x86_64 Error: Transaction failed -------&<----------------------------------------------------------- As per the packaging guidelines, scripts should be guarded with "|| :" or similar to never fail. I had some previous transaction fail halfway so I ended up with duplicated packages. (And each attempt to run 'package-cleanup' to report this bug properly gives me another copy ;)). Version-Release number of selected component (if applicable): emacs-common-27.1-2.fc34.x86_64 I think this is caused by the following: $ sudo /usr/sbin/alternatives --remove emacs.etags /usr/bin/etags.emacs $ echo $? 2
FEDORA-2021-5a0fd41d00 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5a0fd41d00
FEDORA-2021-5a0fd41d00 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-88812b5c50 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-88812b5c50
FEDORA-2021-88812b5c50 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-88812b5c50` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-88812b5c50 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-dea038ed32 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dea038ed32
FEDORA-2021-dea038ed32 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-dea038ed32` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-dea038ed32 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-dea038ed32 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-88812b5c50 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.