---
docs/yum.conf.5 | 3 +++
yum/__init__.py | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
index 6295b1e..8976b0c 100644
--- a/docs/yum.conf.5
+++ b/docs/yum.conf.5
@@ -128,6 +128,9 @@ Number of packages listed in installonlypkgs to keep
installed at the same
time. Setting to 0 disables this feature. Default is '0'. Note that this
functionality used to be in the "installonlyn" plugin, where this option was
altered via. tokeep.
+Note that as of version 3.2.24, yum will now look in the yumdb for a
installonly
+attribute on installed packages. If that attribute is "keep", then they will
+never be removed.
.IP
\fBkernelpkgnames \fR
diff --git a/yum/__init__.py b/yum/__init__.py
index c1e2c3b..90cdf8d 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -3865,6 +3865,7 @@ class YumBase(depsolve.Depsolve):
if True: # Don't to magic sorting, yet
ret_mid.append(pkg)
+ continue
if pkg.yumdb_info.installonly == 'remove-first':
ret_beg.append(pkg)
--
1.6.2.5
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel