Bug 1122617 - reinstall of local rpms gives traceback
Summary: reinstall of local rpms gives traceback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Honza Silhan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-23 15:48 UTC by Parag Nemade
Modified: 2015-10-13 06:53 UTC (History)
4 users (show)

Fixed In Version: dnf-0.6.2 dnf-0.6.4-7.fc21
Clone Of:
Environment:
Last Closed: 2015-10-13 06:53:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Parag Nemade 2014-07-23 15:48:37 UTC
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
    self.errorSummary(errstring))
Error: Transaction check error:


Version-Release number of selected component (if applicable):
dnf-0.5.4-1.fc20.noarch
python3-dnf-0.5.4-1.fc20.noarch
dnf-langpacks-0.3.0-1.fc20.noarch
dnf-plugins-core-0.1.1-2.fc21.noarch


How reproducible:
always

Comment 1 Parag Nemade 2014-07-23 15:49:55 UTC
Forgot to mention I am actually using command like
$ sudo dnf install ../RPMS/noarch/nodejs-* -y

Comment 2 Ales Kozumplik 2014-07-24 05:05:53 UTC
Thanks Parag, we'll take a look.

Comment 3 Ales Kozumplik 2014-09-02 06:47:10 UTC
Looks similar to one of the late reinstall bugs.

Comment 4 Honza Silhan 2014-09-05 11:02:22 UTC
Fixed in the upstream.

Comment 5 Fedora Update System 2014-10-05 17:42:06 UTC
dnf-0.6.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dnf-0.6.2-1.fc21

Comment 6 Fedora Update System 2014-10-06 05:03:44 UTC
Package dnf-0.6.2-1.fc21:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-2014-12254/dnf-0.6.2-1.fc21
then log in and leave karma (feedback).

Comment 7 Jaroslav Reznik 2015-03-03 17:18:48 UTC
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:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 8 Honza Silhan 2015-07-20 11:07:17 UTC
wasn't properly closed by Fedora Update System.

Comment 9 Fedora Update System 2015-08-28 18:53:53 UTC
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

Comment 10 Fedora Update System 2015-09-29 11:19:42 UTC
dnf-0.6.4-7.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b

Comment 11 Fedora Update System 2015-10-02 18:52:29 UTC
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

Comment 12 Fedora Update System 2015-10-13 06:52:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.