yum roll back option?

Arthur Pemberton pemboa at gmail.com
Sat Jan 13 08:44:54 UTC 2007


On 1/13/07, Jerry Williams <jwilliam at xmission.com> wrote:
> > -----Original Message-----
[...]
> Thanks Jeff,
> I really didn't post here to try and fix my problem, more to look at the
> whole picture.  If you break your server and lots of people depend on it
> then that is a bad thing.  And it is hard to have an identical machine
> sitting there to test on.  I would like to see Fedora 7 more robust so that
> it would be easy to recover from a problem like this.  Does rpm need to be
> fixed to keep a previous version or something else?  What if rpm had a cache
> that it would keep the previous version and the current version?  And maybe
> an option to purge the previous version.
>
> That is looking like I should be keeping a copy of all the rpms on my system
> so I don't have to try and get them on the system after a problem.

While I sympathize with your situation. I think your suggestion brings
RPM way beyond what it should be doing, into the realm of Yum.You can
have yum cache all files that are downloaded. And unless you do an
http `rpm -i`, you should have a copy of an RPM, it would then be up
to you to store it safely. Alone those lines, I was quite dissapointed
to find out that Fedora had changed the yum default of caching
downloaded RPMs to not caching them. Maybe it was mentioned in the
release notes, but I found that out at a rather bad time  - I had come
to depend on a backup copy of the RPM being in the yum cache folder.

But back to your point...yum _should_ be able to:
1) "rollback"  a package (and maybe it's dependancies) to a previos
version...downloading the packages if necessart

2) roll back the entire RPM system to a particular point in time..sort
of like System Restore , or whatever it is called in Windows...a
restore point I think they call it.

A sample scenario is that a kernel patch/fix/update causes your system
to bork...and it is not a widespread issue, so you don't except a fix
soon. At least you could roll back the kernel package - but that is a
very bad example since the last 2 kernels are kept.

-- 
Fedora Core 6 and proud




More information about the fedora-devel-list mailing list