Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 750159

Summary: rpm repackage option unavailable
Product: Red Hat Enterprise Linux 6 Reporter: manoharrao.b
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
OS: RHEL6.1 rpm packahes: rpm-libs-4.8.0-17.el6.x86_64 rpm-build-4.8.0-17.el6.x86_64 rpm-4.8.0-17.el6.x86_64 rpm-python-4.8.0-17.el6.x86_64 Arch: x86_64
Last Closed: 2011-10-31 13:41:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description manoharrao.b 2011-10-31 08:17:10 UTC
Description of problem:
rpm repackage option is not available.

Version-Release number of selected component (if applicable):
# rpm -qa | grep rpm
rpm-libs-4.8.0-17.el6.x86_64
rpm-build-4.8.0-17.el6.x86_64
rpm-4.8.0-17.el6.x86_64
rpm-python-4.8.0-17.el6.x86_64


How reproducible:
Run the following command
# rpm --repackage
--repackage: unknown option


Steps to Reproduce:
1. Login to RHEL61 machine
2. check the rpm version using rpm -qa | grep rpm
3. run the command
rpm --repackage
  
Actual results:
Option is not supported.

Expected results:
Option should be supported.

Additional info:
I have tried to identify whethere is there any update on repackage option in rhel61. but I did not find however I am still trying to find updates on this.

I have tried the same command in rhel5, it is working and option is available.

I am not sure where to port this query and also not sure that whether it is really a bug or not. Please consider my request and provide me a solution like if it is a bug, how to handle repackage option to avail rollback facility provided by rpm.

Thanks
Manohar

Comment 2 Panu Matilainen 2011-10-31 13:41:34 UTC
--repackage / --rollback support was removed from rpm upstream between RHEL 5 and 6 because its essentially an unsupportable feature. Rpm's rollback was never actually officially supported on RHEL 5 either, RHN has its own rollback mechanism which is the recommended and supported method.