Bug 739921

Summary: "empty transaction" when running errata install of package not cached in client
Product: Red Hat Satellite 5 Reporter: Petter Hassberg <phassber>
Component: ProvisioningAssignee: Tomas Lestach <tlestach>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satellite-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 541CC: cperry, slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-29 20:11:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Petter Hassberg 2011-09-20 12:54:03 UTC
Description of problem:
A new package is pushed to satellite channel, and an errata is created containing this new package. 

When applying this errata to a system which have an older version of that package installed and local cache on system does not contain the newer version from errata, then scheduled errata install fails with 

"(6,), 'Error while executing packages action: empty transaction', {}"

If re-schedueling the errata installation after running #yum clean all on target system, errata package installation works fine afterwards.

Version-Release number of selected component (if applicable):
Rhel 6.1 client running

How reproducible:

Steps to Reproduce:
1. Push package to a channel
2. Create errata with that rpm package in it
3. apply errata to a system which is a.) subscribing to that channel, and b.) has a previous version of package installed -- so it appears on the errata "affected systems view" in Satellite UI
4. rhn_check or wait for osad to pick up on the client system

If package installs first time, repeat with a newer version of package. 
Actual results:

Error while executing packages action: empty transaction [[6]] 

Expected results:
Errata installation to update affected package.

Additional info: