Bug 848514

Summary: better error when updating already updated package
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED UPSTREAM QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: beta   
Target Release: 7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-05 14:28:34 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 Vladimir Benes 2012-08-15 19:33:33 UTC
Description of problem:
update of updated package should has better error (not no transaction to process)

Version-Release number of selected component (if applicable):
PackageKit-0.7.4-5.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.update kernel rpm 
2.execute 'pkcon update kernel'

  
Actual results:
Fatal error: No transaction to process

Expected results:
the kernel package is already up2date or so message instead

Additional info:

Comment 1 Richard Hughes 2012-11-05 14:28:34 UTC
commit 1fd7e984d0a38585ada4479ddca76e8a39795d0f
Author: Richard Hughes <richard>
Date:   Mon Nov 5 14:30:25 2012 +0000

    yum: Use a the error NoPackagesToUpdate when there are no updates available
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=848514