Red Hat Bugzilla – Bug 1122617
reinstall of local rpms gives traceback
Last modified: 2015-10-13 02:53:07 EDT
Description of problem:
I don't know if a local package already installed, tried to install again should give traceback. I think this case should be considered valid.
Example:- I built some rpms locally and installed them. Now I added/build few more rpms and got lazy and used wildcard '*' to install all packages, it should say installed packages as already installed and skip to non-installed packages.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 83, in main
return _main(base, args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 140, in _main
ret = resolving(cli, base)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 165, in resolving
return_code, resultmsgs = base.do_transaction()
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 233, in do_transaction
return_code, resultmsgs = super(BaseCli, self).do_transaction(display)
File "/usr/lib/python2.7/site-packages/dnf/base.py", line 609, in do_transaction
Error: Transaction check error:
Version-Release number of selected component (if applicable):
Forgot to mention I am actually using command like
$ sudo dnf install ../RPMS/noarch/nodejs-* -y
Thanks Parag, we'll take a look.
Looks similar to one of the late reinstall bugs.
Fixed in the upstream.
dnf-0.6.2-1.fc21 has been submitted as an update for Fedora 21.
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.6.2-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.
More information and reason for this action is here:
wasn't properly closed by Fedora Update System.
dnf-0.6.4-6.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14323
dnf-0.6.4-7.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b
dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update dnf'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b
dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.