On Thu, 22 Oct 2009, John Summerfield wrote:
Seth Vidal wrote:
If stdin is not a tty, don't ask, but do it if "--force" so that it can
still be scripted.
yum has the protect-packages plugin.
It does more or less what you mention above.
It's not installed on my RHEL-clone system. I don't have a useful Fedora
system at present, so I can't check that.
Unless yum-protect-packages is part of the standard set of installed
packages, it's not going to be very effective.
I see a lot of yum plugins listed but uninstalled, I don't know what most of
them do. Perhaps more of them should be installed as part of the base
installation, and users directed to configure them.
If you install the protect-packages plugin with base it plays hell with
things like mock and chroot construction - which is part of the reason it
is not installed in base. We can work around it - but we've not had much
demand for it.
And considering the lack of detail here I don't see that demand increasing
overly much.
If you wish to have this protection then you can install it. It's pretty
simple.
If you want to know more about what the plugins do I would recommend the
'info' command to yum.
for example:
$ yum info yum-plugin-protect-packages
Name : yum-plugin-protect-packages
Arch : noarch
Version : 1.1.23
Release : 1.fc11
Size : 12 k
Repo : updates
Summary : Yum plugin to prevents Yum from removing itself and other
protected
: packages
URL : http://yum.baseurl.org/download/yum-utils/
License : GPLv2+
Description: this plugin prevents Yum from removing itself and other
protected
: packages. By default, yum is the only package protected, but
by
: extension this automatically protects everything on which yum
: depends (rpm, python, glibc, and so on).Therefore, the plugin
: functions well even without compiling careful lists of all
: important packages.
-sv
--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list