diff -uNr yum-plugin-installonlyn-0.91/installonlyn.conf yum-plugin-installonlyn-0.91.patch/installonlyn.conf --- yum-plugin-installonlyn-0.91/installonlyn.conf 2007-05-23 14:29:34.000000000 -0600 +++ yum-plugin-installonlyn-0.91.patch/installonlyn.conf 2008-03-26 23:17:25.000000000 -0600 @@ -1,3 +1,3 @@ [main] enabled=1 -tokeep=2 +tokeep=5 --- yum-plugin-installonlyn-0.91/installonlyn.py.sme 2007-05-23 14:29:34.000000000 -0600 +++ yum-plugin-installonlyn-0.91/installonlyn.py 2008-03-29 14:25:17.000000000 -0600 @@ -64,9 +64,9 @@ for (n, a, e, v, r) in installed: if (v, r) == (curv, curr): # don't remove running continue - toremove.append(YumInstalledPackage(rpmdb.returnHeaderByTuple((n,a,e,v,r))[0])) - numleft -= 1 if numleft == 0: break + toremove.append(YumInstalledPackage(rpmdb.returnHeaderByTuple((n,a,e,v,r))[0])) + numleft -= 1 map(lambda x: ts.addErase(x), toremove)