Bug 1088987 - dnf upgrade *.rpm tries to install packages which are not installed at the moment
Summary: dnf upgrade *.rpm tries to install packages which are not installed at the mo...
Keywords:
Status: CLOSED DUPLICATE of bug 1084181
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-17 15:01 UTC by Petr Spacek
Modified: 2014-04-18 08:12 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-18 08:12:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Spacek 2014-04-17 15:01:33 UTC
Version-Release number of selected component (if applicable):
dnf-0.4.19-1.fc20.noarch

How reproducible:
100 %

Steps to Reproduce:
1. Download set of RPM files to a directory. Some of packages has to be an upgrade to installed package and some others should not be installed packages.
# install few random packages
$ dnf install clang

# koji download-build will download a lot of packages, e.g. lldb-devel package which is not installed
$ koji download-build --arch=x86_64 llvm-3.4-6.fc20

2. Run
$ dnf upgrade *.rpm


Actual results:
DNF wants to install all packages in the directory.

Installing:
 lldb-devel
...

Expected results:
DNF behaves in the same was as yum:

Examining lldb-devel-3.4-6.fc20.x86_64.rpm: lldb-devel-3.4-6.fc20.x86_64
Package lldb-devel not installed, cannot update it. Run yum install to install it instead.

Comment 1 Radek Holy 2014-04-18 07:30:04 UTC
I was pretty sure there was a similar report so far, but I can't find it. Anyway, thank you for the report. We'll take a look.

Comment 2 Tim Lauridsen 2014-04-18 08:04:58 UTC
(In reply to Radek Holy from comment #1)
> I was pretty sure there was a similar report so far, but I can't find it.
> Anyway, thank you for the report. We'll take a look.

https://bugzilla.redhat.com/show_bug.cgi?id=1084181

Comment 3 Radek Holy 2014-04-18 08:12:54 UTC
Yes, that's it. Thank you, Tim.

*** This bug has been marked as a duplicate of bug 1084181 ***


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