Le sam 16/08/2003 à 08:01, Adrian Likins a écrit : > To enable, check "Enable Rollbacks" on the > Retreivel/installation screen of the gui in > `up2date --config` or set "enabledRollbacks" > to 1 if text config is more your style. > > And if thats not enough excitement, try > uncommenting the one line in /etc/rpm/macros.up2date > This enables "all erase" transactions. Aka, rollbacks > on package installs, not just package upgrades, for yall > rollback newbies. > > This will create rollback rpms on every up2date > package install/upgrade (remove too, for that matter). > You can then rollback the last rollback with: > > up2date --undo > I test this feature with up2date-3.9.10-2 . /etc/sysconfig/rhn/sources : yum rawhide /var/RH/rawhide/yum/os/i386 /etc/sysconfig/rhn/up2date : enableRollbacks=1 I do a huge update (more than 300 packages). And after undo the update. As result i got a broken system. The log of "up2date --undo" : http://feliciano.matias.free.fr/up2date_undo/up2date_--nox_--undo You will find other informations here : http://feliciano.matias.free.fr/up2date_undo/ > To reinstall the previous version of that package > (including any modified config files). > > If anything breaks... yeah, right, like this could possibly > break. I already said it was perfect. Anyway, if anything > breaks, my good friend bugzilla wants to here about it. > "up2date --undo is broken" is not useful :-) > Since you won't be needing it, I'll go ahead and provide > a pointer url to <a href="http://makeashorterlink.com/?J12662B95"> > the right place to file a bug</a>. But you want need that. > > > Adrian > > -- Féliciano Matias <feliciano matias free fr>
Attachment:
signature.asc
Description: Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=