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:

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.