multiple rollbacks with rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using rpm 4.3.1, I'm installing two sets of RPMs on an FC2 system (the
first set has kernel and some security update RPMs, the second set
contains my updated application RPMs).  When I attempt to rollback, I
can only remove the last set of RPMs installed.  I can't seem to specify
a time that will rollback the first set.  

I've set the /etc/rpm/macros file with 
"%_repackage_all_erasures 1" and a timestamp as well for 
"%_unsafe_rollbacks 1059710400" that precedes both upgrades.  

To simplify the time stamps, I've got roughly this:

* _unsafe_rollbacks is at 1100
* first install time stamp is at 1101, a saved value i'll use for
rollback
* install time on an RPM in the first set is 1102
* second install time stamp is 1105
* install time on an RPM in the second set is 1106

So, I run "/bin/rpm -Uvh --rollback 1105", expecting the second set to
rollback.  This works as expected.  

Now I run "/bin/rpm -Uvh --rollback 1101", expecting the first set to
rollback.  Nothing is rolled back.  

If I setup again and run "/bin/rpm -Uvh --rollback 1101" (what I'd
actually like to do, get them all rolled back at once), I only see the
last set rolled back.  

Is there a limit one level (one TID?, TID-related) of rollback that I'm
hitting?  

Thanks for any help in advance

-johnathan


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux