Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 858363

Summary: katello-cli and katello-cli-headpin should now how to handle upgrading to prevent file conflicts over client.conf.
Product: Red Hat Satellite Reporter: Jordan OMara <jomara>
Component: Content ManagementAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED ERRATA QA Contact: Og Maciel <omaciel>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0CC: achan, athomas, dmacpher, esammons, inecas, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When installing katello-cli-headpin, file conflict errors occur if the katello-cli package was previously installed. Changes have been made so that katello-cli will now register a package conflict with katello-cli-headpin and prevent file conflict errors.
Story Points: ---
Clone Of: 832462 Environment:
Last Closed: 2012-12-04 19:55:44 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:
Bug Depends On: 832462    
Bug Blocks:    

Comment 3 Og Maciel 2012-10-04 20:48:56 UTC
For Katello:

# wget http://fedorapeople.org/groups/katello/releases/yum/nightly/RHEL/6/x86_64/katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch.rpm
# cp /etc/katello/client.conf .
# rpm -q katello-cli
katello-cli-1.1.8-6.el6cf.noarch
# yum localinstall -y katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch.rpmLoaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Setting up Local Package Process
Examining katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch.rpm: katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch
Marking katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch.rpm as an update to katello-cli-1.1.8-6.el6cf.noarch
rhel-6-server-cf-tools-1-rpms                                                                        | 2.8 kB     00:00     
rhel-6-server-rpms                                                                                   | 3.7 kB     00:00     
rhel-ha-for-rhel-6-server-rpms                                                                       | 3.7 kB     00:00     
rhel-lb-for-rhel-6-server-rpms                                                                       | 3.7 kB     00:00     
rhel-rs-for-rhel-6-server-rpms                                                                       | 3.7 kB     00:00     
rhel-scalefs-for-rhel-6-server-rpms                                                                  | 3.7 kB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package katello-cli.noarch 0:1.1.8-6.el6cf will be updated
---> Package katello-cli.noarch 0:1.1.9-1.git.6.8db32c1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================
 Package           Arch         Version                           Repository                                           Size
============================================================================================================================
Updating:
 katello-cli       noarch       1.1.9-1.git.6.8db32c1.el6         /katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch        29 k

Transaction Summary
============================================================================================================================
Upgrade       1 Package(s)

Total size: 29 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Updating   : katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch                                                             1/2 
  Cleanup    : katello-cli-1.1.8-6.el6cf.noarch                                                                         2/2 
Installed products updated.
  Verifying  : katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch                                                             1/2 
  Verifying  : katello-cli-1.1.8-6.el6cf.noarch                                                                         2/2 

Updated:
  katello-cli.noarch 0:1.1.9-1.git.6.8db32c1.el6                                                                            

Complete!

# diff -Naur /etc/katello/client.conf client.conf 
#

Comment 4 Og Maciel 2012-10-04 21:19:40 UTC
* candlepin-0.7.8-1.el6cf.noarch
* candlepin-selinux-0.7.8-1.el6cf.noarch
* candlepin-tomcat6-0.7.8-1.el6cf.noarch
* katello-1.1.12-12.el6cf.noarch
* katello-all-1.1.12-12.el6cf.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.1.8-1.el6cf.noarch
* katello-cli-1.1.8-6.el6cf.noarch
* katello-cli-common-1.1.8-6.el6cf.noarch
* katello-common-1.1.12-12.el6cf.noarch
* katello-configure-1.1.9-6.el6cf.noarch
* katello-glue-candlepin-1.1.12-12.el6cf.noarch
* katello-glue-pulp-1.1.12-12.el6cf.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-1.1.1-1.el6cf.noarch
* pulp-1.1.12-1.el6cf.noarch
* pulp-common-1.1.12-1.el6cf.noarch
* pulp-selinux-server-1.1.12-1.el6cf.noarch

Comment 6 errata-xmlrpc 2012-12-04 19:55:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html