Re: Yum and Yumex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 4, 2008 at 10:39 AM, Jason L Tibbitts III <tibbs@xxxxxxxxxxx> wrote:
>>>>>> "SV" == Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx> 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

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux