Bug 1243060

Summary: wildcards match uninstalled packages on upgrade
Product: [Fedora] Fedora Reporter: Stuart D Gathman <stuart>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-15 09:28:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stuart D Gathman 2015-07-14 16:45:28 UTC
Description of problem:
dnf update o\* matches all packages beginning with o, not just installed packages.

Version-Release number of selected component (if applicable):
dnf-1.0.1-2.fc22.noarch

How reproducible:
always

Steps to Reproduce:
1. dnf check-update to list packages with updates
2. dnf update perl\*  or similar wildcard to update some of the packages with updates
3. 

Actual results:
A very, very, very, very, long list of packages that it won't update:
... [ many pages ] ...
Package perl-Crypt-DH-GMP not installed, cannot update it.
Package perl-Razor-Agent not installed, cannot update it.
Package perl-Proc-Wait3 not installed, cannot update it.
Package perl-Devel-CheckCompiler not installed, cannot update it.
Package perl-Test-HTTP-Server-Simple-StashWarnings not installed,
... [ many more pages ] ...


Expected results:
Just the packages being updated.

Additional info:
-q does not help.  Redirecting stderr also redirects the ok y/n? query.

Comment 1 Honza Silhan 2015-07-15 09:28:10 UTC

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