[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
multiple rollbacks with rpm
- From: Johnathan Hegge <Johnathan Hegge bluecoat com>
- To: rpm-list redhat com
- Subject: multiple rollbacks with rpm
- Date: Thu, 06 Jul 2006 12:59:30 -0500
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]