Yum and Yumex

Jerry Amundson jamundso at gmail.com
Thu Dec 4 16:54:56 UTC 2008


On Thu, Dec 4, 2008 at 10:39 AM, Jason L Tibbitts III <tibbs at math.uh.edu> wrote:
>>>>>> "SV" == Seth Vidal <skvidal at fedoraproject.org> writes:
>
> SV> yum install yum-protect-packages
>
> Which works to a point.  I suspect many of these complaints would be
> addressed if there was a relatively simple way to save the current
> package list, then install some packages to experiment, then to revert
> to the saved package list.  Could probably be done with come clever
> shell scripting, if nothing else.

e.g.

yum install yum-protect-packages
mkdir /etc/sysconfig/protected-packages.d
rpm -qa --qf '%{NAME}\n' > /etc/sysconfig/protected-packages.d/foo.list

The 'revert' part can go many ways - cut/paste from "rpm -qa --last |
more", grab pkg names from /var/log/yum.log, some creative thing from
seth, etc.

jerry




More information about the fedora-test-list mailing list