Bug 739921 - "empty transaction" when running errata install of package not cached in client
Summary: "empty transaction" when running errata install of package not cached in client
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-09-20 12:54 UTC by Petter Hassberg
Modified: 2015-05-29 20:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-29 20:11:36 UTC


Attachments (Terms of Use)

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):
5.4.1
Rhel 6.1 client running
rhn-setup-1.0.0-61.el6.noarch
rhn-check-1.0.0-61.el6.noarch
rhnsd-4.9.3-2.el6.x86_64
rhn-client-tools-1.0.0-61.el6.noarch
yum-rhn-plugin-0.9.1-26.el6_1.1.noarch
yum-utils-1.1.30-6.el6.noarch
rhnlib-2.5.22-10.el6.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-3.2.29-17.el6.noarch


How reproducible:
100%

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:


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