Text

YUM Rollbacks?

Dear lazy web,

I’m looking for a easy way to rollback the last installation with yum (included dependencies, of course).

Let’s see a use case:

  1. Install something: yum install erlang.
  2. That will result in the installation of erlang and three dependencies (tcl, tk and unixODBC).
  3. Then do some stuff, and later uninstall those packages (all of them, including the dependencies).

It would be great to have a yum command to do this (yum rollback?).

I’m thinking about programming a little plugin to do it, but first I want to be sure I’m not missing something. Don’t be shy and share you knowledge in the comments!

Text

Something About Presto, CPU and Summer

You know I think that one of the best features of Fedora 11 it’s Presto. Today I’ve discovered one little side effect of this awesome YUM module.

I was updating my system after a week out of town when I realized my CPU was at 100% of use and 70⁰C. I switched on the cooler dock of the laptop and… what’s using my CPU? Because I’m doing nothing… and here you are:

$ top -n 1 | grep apply
 3116 root      30  10  8000 6532  492 R 90.5  0.6   1:31.38 applydeltarpm

Yes, seems that the bandwidth save isn’t free; it has some computing cost. It’s OK as long as you remember to switch on your laptop’s dock when you’re in Spain and it’s about 30⁰C in your town.

Text

Starting To Appreciate YUM

After being an old FreeBSD/OpenBSD user and Debian (now Ubuntu) lover, using yum it’s a pain in the ass (oh, aptitude, apt-get and co; I love you… and I miss you all).

Today I had to install some packages in an OpenSuse 10. After using YaST for a while… OK, I admit YUM is not as bad as it seems.

Anyway, a package manager is not something to worry about in a Linux distro because you’re most of the time doing real stuff rather than installing software. It’s a pity that my work actually it’s installing software.